View Single Post
Old 28th January 2011, 03:06
MrCompTech MrCompTech is offline
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 20 Times in 9 Posts

I noticed something else...

After resetting the web sites error.log file (echo > error.log) and
then restarting the web server (/etc/init.d/httpd restart)

Then the first time I visit the web page no errors show up in the log.
Starting with the second time the site is visited the log file increase by nearly 30KB every time a page is displayed.

[Thu Jan 27 20:07:16 2011] [warn] [client] mod_fcgid: stderr: PHP Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web34/web:/var/www/clients/client1/web34/tmp:/var/www/ in /var/www/clients/client1/web34/web/wp-settings.php on line 127

This error occurs 58 times every time the main page is visited.
One message every time the require() function is used.

i.e. require( ABSPATH . 'wp-includes' . '/load.php' );

One really goofy thing with this is that no specific file is mentioned! 'File()', there's nothing in the parenthesis.
The site works so there's no problem with that. Admin panel works ok. It's just all these open_basedir errors every time the 'require()' function is used.

Last edited by MrCompTech; 28th January 2011 at 04:10.
Reply With Quote