Hi Guys, When I make an error (e.g., lack of a semicolon), I receive a blank page, instead of an error report. Is there some option that is turned off in php.ini that I need to to turn on?
Thanks, Mike
Most probably your [man]error_reporting[/man] level is not set correctly.
I have it set to E_ALL , so I don't think that's the problem.
Maybe if you showed some code that you think really does have errors and what you might think those errors should be.
I have made plenty of errors, the least of them forgetting semi-colons. I'm NOT so much interested in solving a specific error as figuring out why i never get an error screen and receive a blank screen instead.
It is not a fatal error and for this reason somehow your script fails in such a manner that nothing it output...are there any error handling methods used in the script? Such things might show you where your problems lie. Like I said in an earlier post if you presented the scripts that produce these blank pages others could analyze them and offer some help.
Do a phpinfo() and check that not only is error_reporting set to E_ALL (integer 2047 I believe) but also that display_errors is set to On.
In your development server, it is safe to have display_errors turned on.
In production, it should ALWAYS be off.
On both of them it is useful to configure error logging correctly- I recommend you do so.
Mark