Magento – Show Error Report On Browser

The new versions of Magento do not show the error report on browser. Instead they are stored on separate files and the file name is shown on browser. This is a great feature which is done for safety.

However while developing it becomes a little irritating to open the error files every time. So, if you want to print the error reports on browser during development do the following –

1. Open the file errors\local.xml
If you do not get a file with the same name, look for local.xml.sample and rename it to local.xml
2. Look for the tag. Between and write print, if not already written.

print will show the error on browser and email will mail it.

1 comment

  1. "Hi there, Sumit Surai, How you doing? IndiBlogger is coming back to Kolkata, our favorite city after very long time. Its been 2 years since IndiBloggers last meet. We hope to catch up again at the meet!Have you signed up for Kolkata IndiBlogger Meet If you haven't already, do sign up today, Only 200 seats available. Entry is free with loads of fun. Cheers,
    Karthik
    IndiBlogger Team

Leave a comment

Your email address will not be published. Required fields are marked *