将订单重定向到Magento的购物车页面

时间:2014-08-29 10:48:07

标签: php magento

我遇到的问题是,当我在保存订单的同时下订单时,它重定向到购物车页面并且订单未保存,而在调试时我得到了错误日志,

    There has been an error processing your request

    From Header set twice

    Trace:
    #0 /home/buyusape/public_html/app/code/core/Mage/Core/Model/Email/Template.php(438): Zend_Mail->setFrom('sales@buyusapep...', 'Owner')
    #1 /home/buyusape/public_html/app/code/community/Ebizmarts/Mandrill/Model/Email/Template.php(68): Mage_Core_Model_Email_Template->send('sales@buyusapep...', 'Owner', Array)
    #2 /home/buyusape/public_html/app/code/core/Mage/Core/Model/Email/Template.php(532): Ebizmarts_Mandrill_Model_Email_Template->send('sales@buyusapep...', 'Owner', Array)
    #3 /home/buyusape/public_html/app/code/core/Mage/Checkout/Helper/Data.php(221): Mage_Core_Model_Email_Template->sendTransactional('checkout_paymen...', 'general', 'sales@buyusapep...', 'Owner', Array)
    #4 /home/buyusape/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(528): Mage_Checkout_Helper_Data->sendPaymentFailedEmail(Object(Mage_Sales_Model_Quote), 'Gateway error: ...')
    #5 /home/buyusape/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_OnepageController->saveOrderAction()
    #6 /home/buyusape/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
    #7 /home/buyusape/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #8 /home/buyusape/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
    #9 /home/buyusape/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #10 /home/buyusape/public_html/index.php(87): Mage::run('', 'store')
    #11 {main}

有人可以帮我解决这个问题吗?

提前致谢。

0 个答案:

没有答案