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

Error after Placing Order
 
Lenny2
Sr. Member
 
Total Posts:  171
Joined:  2008-05-21
München
 

After I place an order I receive an error message. The order is placed correct and can be found in the backend. Also the customer gets his confirmation mails and can track status in his account.

Here the error message:

Invalid method Mage_Core_Block_Template::canPrint(Array
(
)
)
Trace:
#0 [internal function]: Varien_Object->__call(’canPrint’, Array)
#1 /homepages/17/d215778145/htdocs/magento/app/design/frontend/default/default/template/checkout/success.phtml(29): Mage_Core_Block_Template->canPrint()
#2 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(131): include(’/homepages/17/d...’)
#3 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(163): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#4 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(180): Mage_Core_Block_Template->renderView()
#5 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Template->_toHtml()
#6 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#7 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Text_List->_toHtml()
#8 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Abstract.php(431): Mage_Core_Block_Abstract->toHtml()
#9 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Abstract.php(408): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#10 /homepages/17/d215778145/htdocs/magento/app/design/frontend/default/default/template/page/2columns-right.phtml(50): Mage_Core_Block_Abstract->getChildHtml(’content’)
#11 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(131): include(’/homepages/17/d...’)
#12 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(163): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#13 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Template.php(180): Mage_Core_Block_Template->renderView()
#14 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Template->_toHtml()
#15 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Model/Layout.php(505): Mage_Core_Block_Abstract->toHtml()
#16 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(319): Mage_Core_Model_Layout->getOutput()
#17 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Checkout/controllers/OnepageController.php(151): Mage_Core_Controller_Varien_Action->renderLayout()
#18 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Checkout_OnepageController->successAction()
#19 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(159): Mage_Core_Controller_Varien_Action->dispatch(’success’)
#20 /homepages/17/d215778145/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#21 /homepages/17/d215778145/htdocs/magento/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#22 /homepages/17/d215778145/htdocs/magento/index.php(40): Mage::run()
#23 {main}

Where is the mistake?
Thanks for help!
Frank

 
Magento Community Magento Community
Magento Community
Magento Community
 
Lenny2
Sr. Member
 
Total Posts:  171
Joined:  2008-05-21
München
 

Here is discussed the same problem:
http://www.magentocommerce.com/boards/viewthread/7724/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top