Magento: Error “Cannot send headers; headers already sent in […] XYZ.php

Today this error occurred when an extension, for quite some time for the old versions of Magento (1.4) PHP 5.2 was used and now in a Magento 1.7 PHP 5.3 Version should be used.

Cannot send headers; headers already sent in /home/XYZ/public_html/app/code/local/ABC/extension/Model/Mysql4/Datei.php

The problem seems to occur more frequently, if space (in the wrong places) are available or brackets are not closed.

In our case, tells us the error report in the folder var / report with, that, in line 1 the problem. In this case, was behind

<?php
and before
/*

a space available. Once this was removed, everything worked again. While this is the simplest solution or. the simplest problem but it might help one another and yes the same problem?

Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *