Sorry, I missed the main point of your original question. No more ideas here.
> -----Original Message----- > From: Pedro Garre [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 19, 2002 3:23 PM > To: php-general > Subject: Re: [PHP] parse error=> doc contains no data > > > *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:[EMAIL PROTECTED]] > > > 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