Page 1 of 1

Blank page error

Posted: Fri May 11, 2007 10:02 pm
by Ambush Commander
A user of mine is coming up with an error that manifests as... well... a blank page. What's mysterious about it, however, is the following facts:

- Error reporting is on and set to E_ALL | E_STRICT
- PHP nor Apache do not appear to be segfaulting
- Attempting to pin down the exact location of the error with a die('Error!') is futile

This tricky conundrum has left me scratching my head, and, of course, it's not reproducible. Anyone have any insights into the problem (I'm thinking maybe it's output buffering).

Thread is here: http://htmlpurifier.org/phorum/read.php?3,281

Posted: Fri May 11, 2007 10:38 pm
by nickvd
Run a packet sniffer on the connection... It may not be coming back at all... or alternatively try livehttpheaders to see what is happening.

The latest version of firebug has a 'net' tab, which shows a decent amount of info regarding the various goings-on behind the scenes... :)

Re: Blank page error

Posted: Fri May 11, 2007 10:46 pm
by volka
Ambush Commander wrote:- Error reporting is on and set to E_ALL | E_STRICT
Is this set in the php.ini? If it is a parse error error_reporting(E_ALL) is useless.
Also take a look at http://php.net/ref.errorfunc#ini.display-startup-errors and http://php.net/ref.errorfunc#ini.display-errors