Re: Novice Question - Viewing Errors

From: Date: Tue, 19 Jun 2007 14:28:14 +0000
Subject: Re: Novice Question - Viewing Errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257411@lists.php.net to get a copy of this message
On 6/19/07, revDAVE <coolcat@hosting4days.com> wrote:
I am just beginning to learn about PHP. It seems as though if I make a code error... The PHP page will simply come up blank. ( Not too helpful for error checking) - I would like to see some kind of report on the page as to what went wrong. I have tried adding various lines of code to my page - from the link below - however I still get a blank page when errors occur... display_errors(1); error_reporting (E_ALL); Etc........ I have read that possibly the errors are being sent to kind of error log - rather than the page? Q: How can I get the error reporting show up on the page so I can see it? - - - - - From: PHP: Error Handling and Logging Functions - Manual Location: http://www.php.net/manual/en/ref.errorfunc.php - - - - - XXXIII. Error Handling and Logging Functions -- Thanks - RevDave CoolCat@hosting4days.com [db-lists] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
If it's a shared host, your administrator may have disabled it. If it's your own box, check your php.ini settings for errors and output. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

« previous php.general (#257411) next »