magento Magento error handling, messages and reports Enable displaying of error reporting


Example

In Index page change the following:

error_reporting(E_ALL | E_STRICT);

to

error_reporting(E_ALL);

Set $_SERVER['MAGE_IS_DEVELOPER_MODE'] = true

and uncomment this line (remove the #)

#ini_set('display_errors', 1);

You can also Set Dev Mode using SetEnv in your .htaccess file

To make the error readable and easier to understand, do the following:

  1. Open your Magento installation directory. Go to the errors folder.
  2. Rename local.xml.sample file to local.xml.
  3. Refresh the error page in browser.