Posted by Marek Kilimajer on 01/19/05 13:48
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...
[Back to original message]
|