View Single Post
  #3  
Old 28th January 2011, 02:06
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 18 Times in 8 Posts
Default

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 192.168.1.151] 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/25freemp3downloads.com/web:/srv/www/25freemp3downloads.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) 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 03:10.
Reply With Quote