“Exception printing is disabled by default for security reasons”
To remove this message, follow the steps below:
Step 1:
Copy the file errors/local.xml.sample and name it as errors/local.xml
Step 2:
Modify the configuration to suit your needs - the xml is very well commented and self-explanatory. For leaving the error log files on the server for future reference as well as email it to the store admin, the config should be setup as below:
<config>
    <skin>default</skin>
    <report>
        <!--
            "action" can be set to "print" to show exception on screen and "email"
            to send exception on specified email
        -->
        <action>email</action>
        <!--
            in "subject" you can set subject of email
        -->
        <subject>Store Debug Information</subject>
        <!--
            "email_address" admin email address
        -->
        <email_address>storeadmin@mystore.com</email_address>
        <!--
            "trash" is handle about trace info
            value "leave" is for store on disk
            value "delete" is for cleaning
        -->
        <trash>leave</trash>
    </report>
</config>
For more Magento debugging tips, check out my article Debugging Magento.
 
 

4 comments:
i did same as u said in this article bt getting same prob.
In which file i want give this configuration...plz help i am getting
getting printing display error
this is my error Exception printing is disabled by default for security reasons.
Error log record number: 1299587524
Anybody help
In your magento installation, search for the file named "local.xml.sample" in the "errors" folder and then follow the instructions - Hope that helps.
Post a Comment