Magento-无法发送标题;标头已发送

时间:2016-03-03 16:36:06

标签: magento

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

  

无法发送标头;标题已在/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(' / / ',阵列)
  #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/public_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 {main}

1 个答案:

答案 0 :(得分:0)

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

正确检查主题文件,这可能会有帮助。