Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
980 views
in Q2A Core by
I have installed Wordpress 3.1.3 under root directory and installed Q&A 1.4 release under subdirectory "/qa". I have defined the Wordpress integration path '/' in /qa/qa-config.php. It seems that Q&A cannot take the user from Wordpress user table. Can you explain the Wordpress integration and the problem?

Thank you.

1 Answer

0 votes
by
 
Best answer

You need to enter the full path to the WordPress directory on your server - this is unlikely to be just '/' but rather something longer like '/var/www/html' (but that's just an example).

by
Thanks gidgreen. What do I expect to see/check in Wordpress or Q&A when this path is corrected in the qa-config.php file then?
by
Your install process should begin by showing you the name of your WordPress site with a link to its URL.
by
I have already installed Q&A. If I correct the full path now, do I need to re-install Q&A and see the name of my WordPress site?
by
Yes, you should remove all tables from the database, then start the install process again.
by
I have removed all tables from the database and keep the files in server. Then, correct the path and open the webpage under /qa/

However, I got database connection error. It seems that Q&A cannot take the QA_MYSQL_* constants from Wordpress.

Is there any way to check the correct full path if you think the path is not correct?
by
If you have access to the command line, navigate to the WordPress directory, then type: pwd

Otherwise, you should be able to find the full path in your FTP client.
by
I have checked the full path by pwd and FTP client. Still no luck. : (
by
sorry gidgreen, I found the cause of this problem. I should move the

define('QA_WORDPRESS_INTEGRATE_PATH', '/PATH/TO/WORDPRESS');

after */

Otherwise, it is just a comment... :P
by
Yes, that would solve it :)
by
please help me i hav wordpress in the parent directory and Question2Answer in "/qa" directory , what address must i provide in the integration path
...