Posted by J.O. Aho on 01/07/06 16:35
Oli Filth wrote:
> Always, always, always, always have error reporting turned on when
> you're developing code. There are countless questions on these NGs which
> wouldn't need to be asked if the poster had just had error reporting
> turned on.
>
> Make sure your php.ini file contains:
>
> error_reporting = E_ALL
> display_errors = On
You can also add the two following lines in the beginning of your PHP
error_reporting(E_ALL);
ini_set(display_errors,true);
Just keep in mind that fatal errors won't be displayed.
//Aho
[Back to original message]
|