Re: debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux