Re: debugging

From: Date: Wed, 19 Jan 2005 11:48:58 +0000
Subject: Re: debugging
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-206738@lists.php.net to get a copy of this message
William Stokes wrote:
I'm trying to get the ini_set("error_reporting",E_ALL); work. No matter what kind of errors I write I just get blank screen when the script fails. Do I need to also echo the errors to screen? Or can the error reporting be disabled by the server admin (my adsl operator)? so that no errors are printed to screen.
If the script does not parse it's not executed, so your ini_set() lines never change the setting. Change the setting in php.ini on your dev machine.
I just set the error reporting at the beginning of the code like: <?php ini_set("error_reporting",E_ALL); etc...


« previous php.general (#206738) next »