0

I have an annoying HEADER ALREADY SENT error.

It is not easy to debug it, what I could do was to improve the logging to isolate the source of the issue (has described here):

Cannot send headers; headers already sent in lib/Varien/Image/Adapter/Gd2.php, line 133

Here line 133 of Gd2.php:

call_user_func($this->_getCallback('output'), $this->_imageHandler);

And it is part of the method display:

public function display()
    {
        header("Content-type: ".$this->getMimeType());
        call_user_func($this->_getCallback('output'), $this->_imageHandler);
    }

How to go on ?

WonderLand
  • 5,494
  • 7
  • 57
  • 76

1 Answers1

0

Try this

Disable compilation and refresh cache

Sandeep
  • 943
  • 1
  • 7
  • 11
  • compilation is not enabled cache is cleaned regulary ... what cache you mean ? – WonderLand Sep 04 '13 at 09:54
  • I meant magento cache here... But after you comments I think you must have done this If not GOTO ADMIN >> SYSTEM >> CACHE MANAGEMENT Refresh all cache System > Tools > Compilation Have you disabled from here – Sandeep Sep 04 '13 at 09:59
  • Try doing it without admin access like http://kb.magenting.com/content/24/81/en/disable-magento-compiler.html – Sandeep Sep 04 '13 at 10:03