Where do i go to modify the 500 error page for Magento?
I am making a site live for a client and i want to deba开发者_开发知识库dge all instances of Magento on the front end, but I can seem to find where modify the 500 error template.
I believe the template you're looking for is /errors/default/report.phtml
(previously /report/skin/default/index.phtml
). You might also be interested in this article on specifying a different template if you don't want to modify the standard template.
You can specify error pages via your .htaccess file. Just enter this code in your htaccess file specifying what page you want them to see:
ErrorDocument 500 /error-docs/500.html
Obviously you can change the number to change any error page.
精彩评论