2016-03-03 69 views
0

我是新的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 ...')
('/ /',數組)
#4 /home/jerseytown/public_html/popartfactory.in/app/code/core/Mage/Customer/controllers/AccountController.php(153):Mage_Core_Controller_Varien_Action - > _重定向( '/ /') #5 /家/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->匹配(對象(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}

+0

由於Stack Overflow是一個[編程相關](http://stackoverflow.com/help/on-topic)問答站點,因此我正在投票結束此問題。你的問題不是關於編程。也許你應該在http://magento.stackexchange.com上發佈它呢? – Enigmativity

回答

0

在登錄後Magento開始重定向之前,一些值或空值回顯出現問題,您必須檢查在開始重定向之前是否有任何事情發送到瀏覽器。

檢查你的主題文件,它可能會有所幫助。