Jun 252010
Turn on all error reporting in PHP
Answer:
Sometimes, when debugging, it is helpful when you need to enable all PHP errors and make them visible in your application (not in the log), you can put the following line at the top of your script.
<?php
error_reporting(E_ALL);