Sunday 10 August 2014

Enable exception printing in Magento

In order to see the exact error, you need to go to the Magento installation folder > var > report > , and check the output. In the above case the file containing the error report would be var/report/407574116375. The error log record number is different every time the error page is shown.
If, however, you want to be able to see this output (called exception printing) directly in your browser, here's what you need to do:
1. Access your Magento installation folder via FTP or SSH and go to the errors folder.
2. Find the file called local.xml.sample and rename/copy it to local.xml.

Now if your Magento has any issues, the error output will be printed directly into the browser and you won't have to check the error log file every time.

No comments:

Post a Comment