Re: parse error=> doc contains no data
| From: | Pedro Garre | Date: | Fri, 19 Apr 2002 21:22:32 +0000 |
| Subject: | Re: parse error=> doc contains no data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93706@lists.php.net to get a copy of this message | ||
*This message was transferred with a trial version of CommuniGate(tm) Pro*
My php.ini has E_ALL and E_NOTICE
I have tried several values with function error_reporting, including
error_reporting(0) as recommended in the documentation.
I am using the example of error handler function provided in the
documentation.
Note that if I don't set my own error_handler everything works and parse
error messages are displayed as usual.
More ideas ?
Pedro.
"Johnson, Kirk" escribió:
>
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Try setting error_reporting = E_ALL & ~E_NOTICE, or just E_ALL, in php.ini.
>
> Kirk
>
> > -----Original Message-----
> > From: Pedro Garre [mailto:pgarre@ijcreditor.es]
> > Sent: Friday, April 19, 2002 11:25 AM
> > To: php-general
> > Subject: [PHP] parse error=> doc contains no data
> >
> >
> > I set my own error handler as described in the documentation.
> > It seems to work, as I can catch NOTICE errors.
> >
> > The problem is that PARSE errors do not display anywhere, nor are
> > catched by my error handler. The browser just says "document
> > contains no
> > data".
> >
> > I know parse errors are not supposed to be catched by my
> > error handler,
> > but ... why are not them processed anywhere ?
> >
> > (display_errors is On in php.ini)
> >
> > Thanks in advance.
> >
> > Pedro.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php