Re: "document contained no data"

From: Date: Mon, 13 Jan 2003 12:09:01 +0000
Subject: Re: "document contained no data"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131423@lists.php.net to get a copy of this message
on 13/01/03 10:05 PM, Jason Wong (php-general@gremlins.biz) wrote: > On Monday 13 January 2003 17:46, Justin French wrote: >> Hi gang, >> >> I'm encountering a strange, random, sporadic error on a new server. >> Basically, sometimes, in a non-repeatable fashion, a page will not load. >> >> In NN7 Mac, the error is "the page contained no data". In IE5.x Mac, the >> error is along the lines of "host not found" or "could not access URL >> ...". > > That looks like a network problem. Check the server logs to confirm whether a > request was logged. > > a) if the request is not logged then > i) you have network problems OR > ii) your webserver is severely ill This is harder than it sounds :) because the error is so random and intermittent, I might have to click around the site for a whole day before I get the error... then I've gotta download a 10meg log file, and try and find my request somewhere down the bottom. > b) if in all cases, the request is logged but you get that error then you > could try putting some simple code at the beginning of your page to confirm > that the page _is_ being executed. Something like writing a line to a file. Again, I'm not sure how I'd distinguish MY request from the others... given that it might take a minute, or an hour, or a day for an error to occur... I *wish* I could repeat the error reliably, so that I could get to the bottom of it. perhaps I could log page,date,time,IP address for a few days, then I could at least find my IP in the log, and the rough time of the error... Justin

« previous php.general (#131423) next »