我是magento.i的新手,大约2个月前上传了我的madento网站,但现在突然间我将产品添加到购物车给我这个错误
无法发送标头;已发送的标头 /home/roblixsh/public_html/app/code/core/Mage/Shipping/Model/Carrier/Flatrateuk.php, 第1行
跟踪:
#0 /home/roblixsh/public_html/lib/Zend/Controller/Response/Abstract.php(148): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Response/Http.php(107): Zend_Controller_Response_Abstract->setRedirect('http://www.robl...', 302)
#2 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(711): Mage_Core_Controller_Response_Http->setRedirect('http://www.robl...')
#3 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(689): Mage_Core_Controller_Varien_Action->setRedirectWithCookieCheck('checkout/cart', Array)
#4 /home/roblixsh/public_html/app/code/core/Mage/Checkout/controllers/CartController.php(95): Mage_Core_Controller_Varien_Action->_redirect('checkout/cart')
#5 /home/roblixsh/public_html/app/code/core/Mage/Checkout/controllers/CartController.php(260): Mage_Checkout_CartController->_goBack()
#6 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartController->addAction()
#7 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('add')
#8 /home/roblixsh/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 /home/roblixsh/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#10 /home/roblixsh/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#11 /home/roblixsh/public_html/index.php(87): Mage::run('', 'store')
#12 {main}
我该如何解决这个问题?
答案 0 :(得分:0)
我不知道为什么在我的添加到购物车时出错,但最后我发现issue.i写了一个Flatrateuk名称的模块,3个月后我的网站上出现此模块错误。现在我禁用此模块并解决了问题