Home » Magento29 June 2010

Magento: There has been an error processing your request. Exception printing is disabled by default for security reasons

Problem:

I am using Magento 1.4. Homepage loads fine. When I go to category (product listing) page, it works fine. But when I go to any product detail page, I get the following error:-

There has been an error processing your request

Exception printing is disabled by default for security reasons.

I don’t get the detailed information about the error as I used to get in previous versions of Magento.

Solution:

In your magento root, there is a folder called errors.

Go inside the errors folder.

There is a file named local.xml.sample.

Rename it to local.xml

Hence, the problem is solved. Now, I am able to see detailed error information.

Another Problem:

Now, when I try to open any product detail page, I get the following error.

Warning: Varien_Autoload::include(Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend\Tierprice.php) [varien-autoload.include]: failed to open stream: No such file or directory

If I try to add product to cart from product listing page, the product is not added to cart. And, I get the following error message:-

Cannot add item to shopping cart

Solution:

Tierprice.php is not present in app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Product\Attribute\Backend.

There is a file named Tierprice.php0000664.

Rename it to Tierprice.php. Hence, the problem is solved. Now, I am able to open product detail page. And, I am also able to add product to shopping cart.

Hope this helps. Thanks.

Magento

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Pingback: Tweets that mention Magento: Exception printing is disabled by default for security reasons | Mukesh Chapagain's Blog -- Topsy.com()

  • jmaa amani

    when i tried the solution bellow i have another error:

    Error in file: “D:\xampp\htdocs\magento\app\code\core\Mage\Customer\sql\customer_setup\mysql4-upgrade-0.8.4-0.8.5.php” – SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘magento.customer_eav_attribute’ doesn’t exist

    Trace:
    #0 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(390): Mage::exception(‘Mage_Core’, ‘Error in file: …’)
    #1 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(289): Mage_Core_Model_Resource_Setup->_modifyResourceDb(‘upgrade’, ‘0.8.1’, ‘1.4.0.0.7’)
    #2 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(233): Mage_Core_Model_Resource_Setup->_upgradeResourceDb(‘0.8.1’, ‘1.4.0.0.7’)
    #3 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(161): Mage_Core_Model_Resource_Setup->applyUpdates()
    #4 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(363): Mage_Core_Model_Resource_Setup::applyAllUpdates()
    #5 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(295): Mage_Core_Model_App->_initModules()
    #6 D:\xampp\htdocs\magento\app\Mage.php(596): Mage_Core_Model_App->run(Array)
    #7 D:\xampp\htdocs\magento\index.php(80): Mage::run(”, ‘store’)
    #8 {main}

    please i need your help
    thanks a lot

  • jmaa amani

    i mean this solution:
    in your magento root, there is a folder called errors.

    Go inside the errors folder.

    There is a file named local.xml.sample.

    Rename it to local.xml

  • Damien Heaton

    Did you ever find a solution to why this was happening, ie:

    I am using Magento 1.4. Homepage loads fine. When I go to category (product listing) page, it works fine. But when I go to any product detail page, I get the following error:-

    Cheers, Damien

  • guestnw

    Hey dude, when I change the name of the file to local.xml I still getting this error:Invalid method Mage_Catalog_Block_Product_View_Description::addToParentGroup(Array(
    [0] => detailed_info
    )
    )

    Trace:
    #0 [internal function]: Varien_Object->__call(‘addToParentGrou…’, Array)
    #1 [internal function]: Mage_Catalog_Block_Product_View_Description->addToParentGroup(‘detailed_info’)
    #2 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/Layout.php(350): call_user_func_array(Array, Array)
    #3 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/Layout.php(216): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
    #4 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/Layout.php(208): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
    #5 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/Layout.php(208): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
    #6 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/Layout.php(212): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
    #7 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()
    #8 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Catalog/controllers/ProductController.php(115): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
    #9 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Catalog/controllers/ProductController.php(149): Mage_Catalog_ProductController->_initProductLayout(Object(Mage_Catalog_Model_Product))
    #10 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()
    #11 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘view’)
    #12 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #13 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
    #14 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/app/Mage.php(596): Mage_Core_Model_App->run(Array)
    #15 /Applications/XAMPP/xamppfiles/htdocs/loja_magento/index.php(78): Mage::run(”, ‘store’)
    #16 {main}Can you help me?