首页 文章

Magento-无法发送 Headers ;标头已经发送

提问于
浏览
0

我是magento的新手 . 每次用户尝试登录时都会收到此错误 . 试图在这里找到解决方案,但无法找到 .

无法发送标头; Headers 已在/home/jerseytown/public_html/popartfactory.in/lib/Zend/Captcha/Base.php中发送,第1行跟踪:#0 /home/jerseytown/public_html/popartfactory.in/lib/Zend/Controller/Response/ Abstract.php(148):Zend_Controller_Response_Abstract-> canSendHeaders(true)#1 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Core/Controller/Response/Http.php(106):Zend_Controller_Response_Abstract- > setRedirect('http:// popartfa ...',302)#2 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Core/Controller/Varien/Action.php(711): Mage_Core_Controller_Response_Http-> setRedirect('http:// popartfa ...')#3 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Core/Controller/Varien/Action.php(689): Mage_Core_Controller_Varien_Action-> setRedirectWithCookieCheck('//',Array)#4 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Customer/controllers/AccountController.php(153):Mage_Core_Controller_Varien_Action - > _ redirect(' //')#5 / home / jerseytown / pub lic_html / popartfactory.in / app / code / core / Mage / Core / Controller / Varien / Action.php(418):Mage_Customer_AccountController-> loginPostAction()#6 /home/jerseytown/public_html/popartfactory.in/app/code/ core / Mage / Core / Controller / Varien / Router / Standard.php(250):Mage_Core_Controller_Varien_Action-> dispatch('loginPost')#7 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Core /Controller/Varien/Front.php(172):Mage_Core_Controller_Varien_Router_Standard-> match(Object(Mage_Core_Controller_Request_Http))#8 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Core/Model/App.php (354):Mage_Core_Controller_Varien_Front-> dispatch()#9 /home/jerseytown/public_html/popartfactory.in/app/Mage.php(684):Mage_Core_Model_App-> run(Array)#10 / home / jerseytown / public_html / popartfactory . in / index.php(71):Mage :: run('','store')#11

1 回答

  • 0

    在登录后Magento开始重定向之前,问题是某些值或空值回显,您必须检查在开始重定向之前是否有任何发送到浏览器的内容 .

    正确检查主题文件,它可能会有所帮助 .

相关问题