<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged wp-load</title>
<link>https://www.question2answer.org/qa/tag/wp-load</link>
<description>Powered by Question2Answer</description>
<item>
<title>Could not find wp-load.php error in Custom php file with single sign on</title>
<link>https://www.question2answer.org/qa/25430/could-not-find-load-php-error-custom-php-file-with-single-sign</link>
<description>

&lt;p&gt;
	Just wonder what I am doing wrong.. :S&lt;/p&gt;


&lt;p&gt;
	I have custom php file in Q2A with header() information and incuded below files&lt;/p&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;require_once '../../qa-include/qa-base.php';&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;require_once QA_INCLUDE_DIR.'qa-db.php';&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;require_once QA_INCLUDE_DIR.'qa-app-users.php';&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	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.&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;blockquote&gt;
	

&lt;div&gt;
		Question2Answer fatal error:&amp;lt;p&amp;gt;&amp;lt;font color=&quot;red&quot;&amp;gt;Could not find wp-load.php file for WordPress integration - please check QA_WORDPRESS_INTEGRATE_PATH in qa-config.php&amp;lt;/font&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Stack trace:&amp;lt;p&amp;gt;&amp;lt;font color=&quot;#999&quot;&amp;gt;require_once() in various.php:23&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&amp;lt;font color=&quot;#999&quot;&amp;gt;qa_initialize_constants_1() in qa-base.php:34&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	on line 23&lt;/div&gt;


&lt;div&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;require_once '../../qa-include/qa-base.php';&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	Anyone please???&lt;/div&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25430/could-not-find-load-php-error-custom-php-file-with-single-sign</guid>
<pubDate>Wed, 10 Jul 2013 15:21:21 +0000</pubDate>
</item>
</channel>
</rss>