Magento Debugging Tip

Posted on

Does Magento Development leave you wondering why your not getting the correct result?

Do you struggle to see where the error(s) may be?

Developing for Magento can sometimes leave a web developer confused and frustrated especially when pin-pointing coding errors/problems, but did you know you can write to Magento system log and exception file to see when the problem arose or what exactly went wrong.

Simply turn on the logging:

Admin Panel > Configuration > Developer > Log Settings > Enabled to Yes.

Then log into the files (via FTP or SSH) and head over to

  • var/log/system.log
  • var/log/exception.log

You may need to alter the folder permissions  to 775 if you have file write permissions.

Want to discuss a project?

Talk to our Magento experts on 01785 279920

Request a callback