TLawrence Posted January 16, 2011 Share Posted January 16, 2011 Any time I get a PHP error, all I see is a blank screen. Errors/notices will not display to the screen or save to a log file. I'm running XAMPP with PHP 5.3.1. I used to run PHP on IIS and had no problems displaying errors. Now that I'm on Apache (still running on a Windows machine), I can't get any error or notice to display on the screen or saved to a log file. Here's what I've checked... 1) Checked my php.ini file location...pointing to the correct file. 2) In php.ini, display_error, display_startup_errrors are on 3) error_reporting set to E_ALL I can't figure out why errors won't display? I've tried the following code, purposely leaving off the "; on the echo to create an error. All I get is a blank screen, no indication of an error. <?php echo "testing ?> What am I missing??? Any help would be greatly appreciated! Link to comment https://forums.phpfreaks.com/topic/224640-blank-pagesdriving-me-crazy/ Share on other sites More sharing options...
Pikachu2000 Posted January 16, 2011 Share Posted January 16, 2011 What does the result of phpinfo() show the values of error_reporting and display_errors to be? Link to comment https://forums.phpfreaks.com/topic/224640-blank-pagesdriving-me-crazy/#findComment-1160360 Share on other sites More sharing options...
TLawrence Posted January 16, 2011 Author Share Posted January 16, 2011 error_reporting is 0 display_errors is On Link to comment https://forums.phpfreaks.com/topic/224640-blank-pagesdriving-me-crazy/#findComment-1160361 Share on other sites More sharing options...
TLawrence Posted January 16, 2011 Author Share Posted January 16, 2011 Arrgghhh! I figured it out. After you asked what error_reporting said in the phpinfo(), I decided to change it and see what happened. For some reason it was set to E_ALL & E_NOTICE & E_DEPRECATED. I changed this to just E_ALL (which I thought it was already set to), and now my errors are showing up! Thanks for the help Pikachu2000. Link to comment https://forums.phpfreaks.com/topic/224640-blank-pagesdriving-me-crazy/#findComment-1160364 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.