cancel
Showing results for 
Search instead for 
Did you mean: 

Exception printing is disabled by default for security reasons.

Exception printing is disabled by default for security reasons.

I am getting this error msg in many URLs of my website.  please do help... how can I resolve this???

Exception printing is disabled by default for security reasons.

I am using Magento ver. 1.9.2.2 

1 REPLY 1

Re: Exception printing is disabled by default for security reasons.

Hi @digital_pk,

 

It seems you're getting some errors but, by defualt, errors aren't shown becasue security.

Maybe you can enable Magento's logs and see which kind of information you find into var/log/system.log and var/log/exception.log files.

 

Also, you can force those errors to be shown by adding this file:

 

/path/to/your/magento/instance/errors/local.xml

And into the file, this content:

 

<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    Mage
 * @package     Errors
 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
-->
<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>print</action>
        <!--
            in "subject" you can set subject of email
        -->
        <subject>Store Debug Information</subject>
        <!--
            "email_address" admin email address
        -->
        <email_address></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>

The <action>print</action> will allow Magento to print the verbose error. (Is not recommended for production)