{"id":6654496,"date":"2015-10-16T10:54:35","date_gmt":"2015-10-16T10:54:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-loadphp\/"},"modified":"2016-08-30T19:11:55","modified_gmt":"2016-08-30T19:11:55","slug":"wp-loadphp","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-loadphp\/","title":{"rendered":"wp-load.php"},"content":{"rendered":"<p>Hi. I went through similar issues and added the absolute path to my wp-load.php file in includes\/pardon-custom-wp-load.php. Now it loads stuff from Pardot, but I still get 2 error message at the top of it:<\/p>\n<pre><code>Warning: file_exists(): open_basedir restriction in effect. File(\/srv\/wp-load.php) is not within the allowed path(s): (\/srv\/www\/:\/tmp) in \/srv\/www\/affecto.dev\/current\/web\/app\/plugins\/pardot\/includes\/pardot-wp-loader.php on line 22\n\nWarning: file_exists(): open_basedir restriction in effect. File(\/srv\/wp-load.php) is not within the allowed path(s): (\/srv\/www\/:\/tmp) in \/srv\/www\/affecto.dev\/current\/web\/app\/plugins\/pardot\/includes\/pardot-wp-loader.php on line 30<\/code><\/pre>\n<p>Help is greatly appreciated!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/pardot\/<\/p>\n","protected":false},"template":"","class_list":["post-6654496","topic","type-topic","status-publish","hentry","topic-tag-wp-load-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6654496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6654496\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6654496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}