on 13/01/03 10:05 PM, Jason Wong ([EMAIL PROTECTED]) 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php