Re: Can't get PHP errors to display or log consistently
| From: | Robert Cummings | Date: | Fri, 16 Mar 2007 19:37:03 +0000 |
| Subject: | Re: Can't get PHP errors to display or log consistently | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250721@lists.php.net to get a copy of this message | ||
On Fri, 2007-03-16 at 12:30 -0700, Chris W. Parker wrote:
> Hello,
>
> Using CentOS 4 and I can't get errors to display on the page AT ALL or
> log errors consistently. Some errors get logged (forgetting to us
> $this-> in a class for example) but most don't.
>
> I've tried:
> * using .htaccess to set the error reporting.
> * checking and double checking my php.ini file for the correct
> setting.
> * using error_reporting(E_ALL) at the top of my page.
>
> Nothing works.
>
> When a page has an error it's goes blank. Nothing is sent to the client.
>
> There must be a setting somewhere that is overriding all of this. Any
> ideas?
Is there a custom error handler in place?
Try grepping for set_error_handler.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'