Re: Unable to load pages with errors

From: Date: Fri, 28 May 2004 16:26:16 +0000
Subject: Re: Unable to load pages with errors
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-187141@lists.php.net to get a copy of this message
No the file is there. I see it in the access logs for apache (even though last night it didn't even show up there.. ), but it refuses to load. Every time I get a PHP error the page freezes up and my browser tries to load it forever or I get "The page cannot be dispalyed". The file is there.. it just won't load.. In a working PHP-file I added some code that for sure wouldn't work, and the page froze. Still showed up in the access log though.. but it didn't display any output at all obviously. /peter Peter Risdon wrote:
peter a wrote:
I have stumbled on something that is new for me. Usually when I get a PHP error I print them on the page, but suddenly pages with errors don't load at all, in IE I get the usual "The page cannot be displayed" and in Lynx I get "Alert!: Unable to access document."
Lynx generally knows what it is talking about. It sounds as though your page really is not available. You have given very little detail - the webserver logs might be interesting, for example, because they'd show what document the browsers were trying to access. But I'd guess your php error - if that's what it is - consists of trying to load a non-existent url. Stabbing in the dark here - have you missed a "?" before GET arguments? PWR.
I run PHP 4.3.2 and Apache 2.0.47 on RedHat 9. Ideas anyone? /peter


« previous php.general (#187141) next »