Please fill this form out and we'll get back to you as soon as possible.

By submitting this form you agree to receive communication from Creatuity via email and/or the phone. We will never sell, disclose or share your information with any other company.

Blog

Changing the Default Magento Error Screen

August 28, 2010 Magento Leave a comment

Default Magento Error Screen

Many people don’t realize that when an error occurs on your Magento site, your users see the screen above.

Not exactly the most user friendly message, and given that it features the Magento logo, name and copyright it can leave users scratching their heads, wondering if you even exist and who this ‘Magento’ is. If your database server goes down for a few minutes for routine maintenance, etc., you users see this message instead of your site.

I’ve seen quite a few Magento sites implemented by designers that otherwise seem to know Magento fairly well that don’t change this file! While, ideally, a site will never be down and will never experience an error, we all know that 100% uptime is an unattainable goal. It’s important to have a user-friendly experience in the rare situation where your site does encounter an error, and the default Magento error screen, while great for developers, isn’t very user-friendly.

In Magento 1.4, you can edit this screen by editing /errors/default/page.phtml – note that this path is from the Magento root directory, and not within the /app/design or /skin directories. This directory, /errors/ contains a number of error-reporting features that have been recently added, so in addition to editing /errors/default/page.phtml to make it a bit more user-friendly and appealing (or at least making it match your site’s template, instead of the default Magento template!), I recommend checking all of the files – there’s some configuration files with some interesting options.

Comments

Tags: , ,