Magento Forum

Cant’s solve this error: HEADERS ALREADY SENT, do you have the solution? 
 
Ogi
Jr. Member
 
Total Posts:  2
Joined:  2009-02-03
 

Hello,

This is the message:

2009-02-11T14:51:03+00:00 DEBUG (7): HEADERS ALREADY SENT:<pre>[0] /home/komplmqn/public_html/app/code/core/Mage/Core/Controller/Response/Http.php:49
[1] /home/komplmqn/public_html/lib/Zend/Controller/Response/Abstract.php:727
[2] /home/komplmqn/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php:186
[3] /home/komplmqn/public_html/app/Mage.php:447
[4] /home/komplmqn/public_html/index.php:52
</pre>

And here is line 49:

if (!$this->canSendHeaders()) {

What to do?

big surprise

 
Magento Community Magento Community
Magento Community
Magento Community
 
harry12bar
Sr. Member
 
Avatar
Total Posts:  168
Joined:  2008-01-07
 

Hi, did you manage to solve the problem as i have the same problem..
thx

 
Magento Community Magento Community
Magento Community
Magento Community
 
jballotti
Guru
 
Avatar
Total Posts:  339
Joined:  2008-04-20
Chicago area
 

in the error message it should indicate which file is causing the problem. Open that file in your favorite editor, go to the end of the file, delete any blank lines following the last closing php tag (?>), save the file and try it again.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top