RE: [PHP] Detailed error message?

From: Date: Fri, 21 Mar 2003 15:59:00 +0000
Subject: RE: [PHP] Detailed error message?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140601@lists.php.net to get a copy of this message
I use the set_error_handler and have a local function that dumps that stuff. I then redirect all of that to a log file on disk so the user doesn't have to see it. Check http://www.php.net/manual/en/function.set-error-handler.php There's a whole section in the manual that deals with error handling in some detail. > -----Original Message----- > From: CF High [mailto:noah@newminddesign.com] > Sent: Friday, March 21, 2003 12:46 PM > To: php-general@lists.php.net > Subject: [PHP] Detailed error message? > > > Hey all. > > I'm having a difficult time adjusting my php.ini file to > display detailed error messages in my local testing environment. > > For example, when a query returns an error, I do not get the > line # where the error occurred or really any info other than: > > "Query not executed. Unknown column 'Array' in 'where clause'" > > How can I get a full error report; i.e. file where error > occurred; the line number, etc. > > Thanks for any help, > > --Noah > > -- > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#140601) next »