Magento Forum

   
Suppress error message for visitors
 
steem
Jr. Member
 
Total Posts:  2
Joined:  2008-11-11
 

When, for instance, the database is down, magento gives a detailed report of the error. With a lot of data that can be used for unwanted actions.

Is there a simple way to suppress these error messages for the general public, but show it to certain ip addresses?

Bouke

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sensi
Sr. Member
 
Total Posts:  103
Joined:  2008-07-31
Paris, France
 

Hello, it is quite easy to modify the error reporting, just look at the files under the “report” folder. I have modified this to only display a -themed- generic error message while the detailed report is send to us via email.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top