magento : Exception printing is disabled by default for security reasons error

When I was very new to new to magento I got error message Exception printing is disabled by default for security reasons. It was quite frustrating, but after digging lot of forums I came to know why printing is diesel and how to deal with this error.
Its advisable to enable printing in to development environment only as it will show some more information about the website. so there are two ways we can see what is going wrong
1. Enable printing method so you can view the error code within this page or
2 See the apache server error log or see “/var/reports/” folder of magento. report folder has flat file which has very bad name only number which is little difficult to remember. If there is any new file created, read this file. It will surely guide you to the problem area.

Now lets see how to handle exception printing in magento.

Default code looks like as follows.


    default
    
        print
        Store Debug Information
        
        leave
    

Configure default code to something like mentioned bellow and replace you email with webmaster@yourdomain.com so that system will send you email update on this email id.


    default
    
        email
        Magento Commerce store debug Information
        webmaster@yourdomain.com
        leave
    

Share this nice post:

14 thoughts on “magento : Exception printing is disabled by default for security reasons error

  1. Pingback: Aktivera
  2. Spot on with this write-up, I seriously think this page requires even more attention. I’ll probably be repeatedly to learn much more, thank you for that information.

  3. You made some decent factors there. I looked on the web for the problem and found most people will go together with together with your website.

  4. This short article ended up being surely an extremely great examine. I had been astonished by the material on this submit. I can’t delay to view what else you’ve got in store for people. We are certainly awaiting the following post. Cheers pertaining to revealing!

  5. I haven’t checked in here for a while as I thought it was getting boring, but the last several posts are really great quality so I guess I’ll add you back to my everyday bloglist. You deserve it my friend.

  6. Nice post at magento : Exception printing is disabled by default for security reasons error. I was checking continuously this blog and I’m impressed! Extremely useful info specially the last part :) I care for such information much. I was seeking this certain information for a long time. Thank you and good luck.

  7. I simply want to tell you that I am just very new to weblog and seriously savored your web page. Most likely I’m want to bookmark your site . You certainly come with fabulous article content. Bless you for sharing with us your blog site.

Comments are closed.