[PHP] Blank Page instead of Errors
I am baffled. I really hope someone can save me. (PHP 4.3.4) I am getting blank pages (or partial blank pages if my HTML comes before the PHP) instead of errors. I know there are errors on the page because I have specifically put parse errors in my code to see if the server would give me errors, but instead all I get are blank pages. I have checked the PHP.INI file and I see this: error_reporting = E_ALL ~E_NOTICE display_errors = On I have included different renditions of error_reporting at the top of my script: error_reporting(E_ALL) error_reporting(E_ALL | E_PARSE | E_NOTICE) error_reporting(E_ALL E_PARSE E_NOTICE) ... and some others. Still nothing. Is there something that I am missing? Why can I not see any error messages? Thank you, Jonathan Duncan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Blank Page instead of Errors
Jonathan Duncan wrote: I am getting blank pages (or partial blank pages if my HTML comes before the PHP) instead of errors. I know there are errors on the page because I have specifically put parse errors in my code to see if the server would give me errors, but instead all I get are blank pages. I have checked the PHP.INI file and I see this: error_reporting = E_ALL ~E_NOTICE display_errors = On Are you sure that's the right php.ini? Take a look at a phpinfo() page to see the actual settings your script is using. Also, do a quick View Source of the page to make sure the error isn't being hidden in an HTML element. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php