My website is creating a lot of debug files which all consist of the following error:
PHP Warning: Cannot modify header information - headers already sent by (output started at /home/sites/xxxxxx/public_html/xxxxxx/includes/templates/template_default/common/tpl_box_default_left.php:20) in /home/sites/xxxxxx/public_html/owa/owa_coreAPI.php on line 1079
I have read the article which everyone gets referred to at https://www.zen-cart.com/content.php...s-already-sent.
I have checked the file generating the error and can't find any extra spaces, so I guess it must be the code that is wrong?
I have absolutely no idea when it comes to php code and so would appreciate it if someone could tell me what is wrong with the code below (line 20 is the line beginning with the <h3 class):
<!--// bof: <?php echo $box_id; ?> //-->
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
<?php echo $content; ?>
</div>
<!--// eof: <?php echo $box_id; ?> //-->


Reply With Quote

