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:[EMAIL PROTECTED] 
> Sent: Friday, March 21, 2003 12:46 PM
> To: [EMAIL PROTECTED]
> 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
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to