Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why am I getting this header error message?


Guest

Recommended Posts

Posted

When I click "My Account" or "Checkout", I get this text instead of the correct page:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cobra/public_html/test/includes/languages/english.php:336) in /home/cobra/public_html/test/includes/functions/general.php on line 29

 

I've been modifying headers.php and english.php so I figured I messed something up. But after replacing these files with the original versions, it still doesn't work. (And I never touched general.php at all.)

 

Help is appreciated!

 

 

(P.S.--How can I remove the "New Products for July" box?) :)

Posted

Pfft, it works now. Nevermind. :)

 

Still need to know how to remove the "New Products" box though. :)

Posted

Find this on line 312 of catalog/index.php:

 

<tr>
<td>
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
</td>
</tr>

 

Comment it out like this:

 

<!--
<tr>
<td>
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
</td>
</tr>
-->

 

If you ever decide you want the new products box back, it's easy to un-comment the code.

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ

Posted

On a default osC you have to comment it out at two places line 121 and 313

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

The_Bear

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...