Posted on: 09/12/03 09:49am
By: samstone
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
Re:Strange Error
Posted on: 09/12/03 10:47am
By: exaurdon
Are you refering to this site, geeklog.net? Or to a site of your own. Do you have a url link to the page you are refering to?
Re:Strange Error
Posted on: 09/12/03 02:47pm
By: samstone
The site is
here
Please tell me what you get on your initial browsing.
Sam
Re:Strange Error
Posted on: 09/12/03 04:00pm
By: exaurdon
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?
Re:Strange Error
Posted on: 09/12/03 11:38pm
By: samstone
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
Re:Strange Error
Posted on: 09/13/03 09:32pm
By: samstone
The first time browsing error is gone, so it must have to do with the empty .htaccess.
But, the error log is still not logging. Any idea?
Sam