Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
865 views
in Plugins by

Just wonder what I am doing wrong.. :S

I have custom php file in Q2A with header() information and incuded below files

require_once '../../qa-include/qa-base.php';
require_once QA_INCLUDE_DIR.'qa-db.php';
require_once QA_INCLUDE_DIR.'qa-app-users.php';
 
Now everything is fine with Standalone Q2A installation but when integreat with wordpress as SSO its not able to find wp-load.php and giving below error.
 
Question2Answer fatal error:<p><font color="red">Could not find wp-load.php file for WordPress integration - please check QA_WORDPRESS_INTEGRATE_PATH in qa-config.php</font></p><p>Stack trace:<p><font color="#999">require_once() in various.php:23</font><br><font color="#999">qa_initialize_constants_1() in qa-base.php:34</font><br>
 
on line 23
require_once '../../qa-include/qa-base.php';
 
Anyone please???

Please log in or register to answer this question.

...