Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

have a problem when i want to install Q2A in wordpress site

0 votes
169 views
asked Aug 24, 2014 in Q2A Core by anonymous

hi

my server is windows, php 5

wordpress install in mysite/wwwroot and question2answer install in mysite/wwwroot/q2a

i set wordpress path in qa-config.php to \mysite/wwwroot

i remove .htaccess from q2a folder

when i type http:/mysite/q2a i see this in browser

Question2Answer fatal error:

Could not find wp-load.php file for WordPress integration - please check QA_WORDPRESS_INTEGRATE_PATH in qa-config.php

Stack trace:

require() in index.php:31
require() in qa-index.php:48
qa_initialize_constants_1() in qa-base.php:34

what is my solution????

 

Q2A version: 1.6.3

1 Answer

0 votes
answered Aug 24, 2014 by maxjtechno

In your config.php, the value of QA_WORDPRESS_INTEGRATE_PATH ( see here ) , must be equal to the full file path on disk of your wp installation (that is, your windows server full path that contains the wp-load.php).

You could also print this path using WP following these instructions .

...