- Code: Select all
[Tue Jun 07 17:34:18 2011] [warn] [client 145.253.32.107] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/clientxx/webxx/wp-config.php) is not within the allowed path(s): (/var/www/clients/clientxx/webxx/web:/var/www/clients/clientxx/webxx/tmp:/var/www/knightsenglish.com/web:/srv/www/knightsenglish.com/web:/usr/share/php5:/usr/share/php/PEAR:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client6/web11/web/wp-content/plugins/quick-cache/includes/classes/menu-pages.inc.php on line 308, referer: http://www.knightsenglish.com/wp-admin/admin.php?page=ws-plugin--qcache-options
there is something obviously wrong here as your plugin is looking for wp-config.php here:
and that is not the root directory!!! the right path would be: /var/www/clients/clientxx/webxx/web/ so I am unsure where this problem comes fromFile(/var/www/clients/clientxx/webxx/wp-config.php) is not within the allowed path(s):
found one of your plugin files and the code looks like this:
- Code: Select all
else if (file_exists (dirname (ABSPATH) . "/wp-config.php") && !is_writable (dirname (ABSPATH) . "/wp-config.php"))
and sometimes it looks like this:
- Code: Select all
(ABSPATH . "wp-config.php")
is that right? if yes, why would ABSPATH not report the right absolute path?