Re: Question about error_reporting()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 01 Oct 2004 10:36:28 -0400, Al <news@xxxxxxxxxxxxx> wrote:
> If I place this at the top of my script file, the page just hangs.
> 
> error_reporting (E_ERROR | E_WARNING);
> 
> A virtual host on a Unix/Apache system.  Runs fine without the error_reporting().
> 
> The default system error reporting only shows E_ERRORS, so I wanted to see
> warnings also.

Comment the entire script out starting below your call to
error_reporting(), then start uncommenting and testing it from the top
down until you find the issue.  It's doubtful error_reporting() is
causing the issue, it more likely it's uncovering an issue.  You might
try E_ALL, as it may help you discover the issue faster.

Posting the script and getting some more eyes on it also an option.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux