Enable errors in browser when parsing PHP-files
reporting level to E_ALL
and display errors on
Include the following code at the top of every php file on in an include
or require
such as your config.php
error_reporting(E_ALL);ini_set('display_errors', 'on');
Try ini_set('display_errors', 'on');
You'll also want to check a phpinfo()
, to see if the ini_sets are doing anything.
Or change "display_errors = Off"
to "display_errors = On"
in /Applications/MAMP/bin/php/php5.4.4/conf/php.ini