Magento Forum

   
Error after submitting order
 
medic
Sr. Member
 
Total Posts:  173
Joined:  2007-10-30
Sydney
 

I am getting this error after I submit an order from the cart.

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

If i click the back button, it will take me to my empty shopping cart.

The order is placed though. I receive a confirmation email and the order is in the client account.

Any ideas?

Thanks

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