loeffel

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About loeffel

  • Rank
    Just arrived
  1. loeffel

    Headers already sent error

    Can confirm, this is working! Thanks!
  2. Line 70 of app/code/community/Ess/M2ePro/controllers/CronController.php is producing an error in system.log: 2017-12-22T07:12:14+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /var/www/clients/client1/web2/web/app/code/core/Mage/Core/Controller/Response/Http.php:52 [1] /var/www/clients/client1/web2/web/lib/Zend/Controller/Response/Abstract.php:768 [2] /var/www/clients/client1/web2/web/app/code/core/Mage/Core/Controller/Response/Http.php:84 [3] /var/www/clients/client1/web2/web/app/code/core/Mage/Core/Controller/Varien/Front.php:184 [4] /var/www/clients/client1/web2/web/app/code/core/Mage/Core/Model/App.php:365 [5] /var/www/clients/client1/web2/web/app/Mage.php:684 [6] /var/www/clients/client1/web2/web/index.php:83 The Code in CronController.php producing the error: private function closeConnection() { @ob_end_clean(); ob_start(); ignore_user_abort(true); $this->getResponse()->setBody('processing...'); $this->getResponse()->outputBody(); header('Connection: Close'); header('Content-Length: '.ob_get_length()); while (ob_get_level()) { if (!$result = @ob_end_flush()) { break; } } @flush(); $this->getResponse()->headersSentThrowsException = false; } Is there a way to fix this as it bloats up my system.log