Re: [PHP] error flashing on redirect
2008/12/17 Terion Miller webdev.ter...@gmail.com: I am working on the login script I have been troubling over, and when I hit submit it throws an error and even though I have error reporting E_All on because its on a redirect or something I can see the error for only a split second so I can't catch it to figure it out (does this make sense?) how would I go about making that error visible long enough to read? Erm... find out what's redirecting it, and remove it. Or have I missed something? -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error flashing on redirect
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
[PHP] error flashing on redirect
I am working on the login script I have been troubling over, and when I hit submit it throws an error and even though I have error reporting E_All on because its on a redirect or something I can see the error for only a split second so I can't catch it to figure it out (does this make sense?) how would I go about making that error visible long enough to read? Thanks Guys! Terion