stvchez Posted February 7, 2007 Share Posted February 7, 2007 Perhaps a newbie question, but we've all gotta start somewhere. I have an error in my page which is causing it to go blank (not very helpful in the debugging process). I'm trying to invoke some error trapping code, ie: ini_set("display_errors","2"); ERROR_REPORTING(E_ALL); But, I keep just seeing a blank page as, most likely, an error exists. if anyone could point me in the right direction, I'd greatly appreciate it. Link to comment https://forums.phpfreaks.com/topic/37504-seeing-errors/ Share on other sites More sharing options...
Caesar Posted February 7, 2007 Share Posted February 7, 2007 You can't always overwrite the settings in the php.ini file. What does your PHP info say for error_reporting and display_errors? A good value to set this in your php.ini file, is to "error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT" (2039). This will display only true errors, and ignore Warnings and Notices. Link to comment https://forums.phpfreaks.com/topic/37504-seeing-errors/#findComment-179358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.