Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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