Each time I browse the GL site for the first time in a while, it will give me the following error until I refresh the site. It then has no more problem, until I come back to that site after a while, like few hours.
Warning: Unknown(): open_basedir restriction in effect. File(/home/domain/public_html/index.php) is not within the allowed path(s): (/home/heritage:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0
Warning: Unknown(/home/domain/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0
Warning: (null)(): Failed opening \'/home/domain/public_html/index.php\' for inclusion (include_path=\'.:/usr/lib/php:/usr/local/lib/php\') in Unknown on line 0
What could that be?
Sam
I checked your page and on the first check I didn\'t encounter any errors. The page came up fine. When you get the errors on screen, do you have anything in your error_log file that might provide some additional hints about what is going on?
Good point. So I checked the error log and found out that it has stopped logging since Sept 4th.
I also found a blank .htaccess file in the public_html directory, and deleted it now.
My question multiplies now. Could the blank .htaccess in public_html create the problem?
And in what situation the error log would stop logging? Usuall, if error log file is unwritable it would show on the screen.
Sam