Need help buying now? +48-22-219-5163 +1-917-720-3250
My Cart

Your Cart is Empty

Need help buying now?
+48-22-219-5163 +1-917-720-3250

Magento fatal error

Sometimes a customer or you can be redirected to the fatal error page. It is located at www.domen.com/report/?id=##### When this page appears, it means that there is some failure in the system. This can be fraught with consequences, because as you know none of the errors can disappear itself and it can pull the entire site to be down. We suggest to consider the way for solving the issue.

Standardly, only a definite customer who is redirected to its page can see the error. Also the design of this page is a bit uncommitted. In the most cases the developers of the substandard themes simply forget about this paragraph in the template. To avoid it, it is recommended to use the correct Magento themes.

Structure

Any files related to this error are located on the hosting path. The directory is Magento/report/

.htaccess

config.xml – This is the file of the template configuration.

index.php – the error page configuration, the code of its calling and message are done here.

skin – this is the folder where you will find the data about your error page.

The information output

All the settings should be done in the configuration file. The output is defined by the section called <action>.

The screen functions

In order to display the information on the screen you need to set up the function <action> in print.

Sending information by e-mail

In order to output the information not only on the screen, but make it received by an administrator by email you need to set up the value of the section <action> in email. In the section called <email_address> you need to indicate the address of your email which will be used for the site work control.

If you enable this function, a customer who sees the error will be able to address an administrator by email using the feedback options.

Programming

There is also the ability to output the error page in PHP without the template design. In order to configure this system you need to go to the hosting files in the root directory Magento/index.php. Then please change the line 60 to the following:

#Mage::setIsDeveloperMode(false); - a standard line.

Mage::setIsDeveloperMode(true); - the line with which the standard line should be replaced.

Please note:
After you finish the work, don’t forget to change this line to the initial value.

Localization and redesign

In order to find the page which is responsible for the 404 error displaying in Magento you need to go to System – CMS – Pages. There are all the stores displayed in this section. You need to find accordingly 404 Not Found. If there is not this page, you need to create it. While creating the page you must be sure that URL Key is created as no-route. Then you should click on it and choose the tab in the left side of the Content screen. If it is difficult to do it yourself, Magento experts can do it for you.

Please, look at the screenshot called Pages Configuration.

Magento 404 Page

We see the following page.

Please, look at the screenshot called edit 404.

Magento 404 Page

Here you can correct the page design as you want. If it is necessary, go to the HTML code editor. It will be great to locate on this page not only the explanation how a customer has been redirected here, but also a working link to the main page or a customer’s account.

If you have any additional questions as to the system, you can contact our specialists or leave your comments on GoMage forum http://magentoforum.com/. GoMage specialists will answer you as soon as possible.

Newsletter