Re: error flashing on redirect

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

 



Change php.ini (or .htacces or ini_set) so that display_errors is OFF and log_errors is ON and log them to some file you do this to, all day, every day:

tail -f /var/log/httpd/error_log

You'll definitely need this as you get more complex site interaction, particularly with Ajax calls that don't have any visible output to the screen.

Also use error_reporting E_ALL to find all your uninitialized variables and typos in array indices.


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