My photo
LALA LAND,, California, United States

Sunday, September 6, 2009

I'm sure you've already tried this

if you are running into a white page or some other PHP error, but you have no clue what is wrong, you should consider turning on PHP error reporting. This will give you some indication of where or what the problem is. This is a good first step to solving your problem. Here is how to turn on PHP errors:
To display error messages caused by your PHP script you can include these lines of code:

Another way to do it is to edit your php.ini file and include this option:

error_reporting = E_ALL
To turn error reporting off for a single document, include this line:


a white page most probably means you have display_errors turned Off