RE: [PHP] parse error=> doc contains no data

From: Date: Fri, 19 Apr 2002 14:31:13 +0000
Subject: RE: [PHP] parse error=> doc contains no data
Groups: php.general 
Request: Send a blank email to php-general+get-93707@lists.php.net to get a copy of this message
Sorry, I missed the main point of your original question. No more ideas here. > -----Original Message----- > From: Pedro Garre [mailto:pgarre@ijcreditor.es] > 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: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.

« previous php.general (#93707) next »