Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem when adding product to cart


dean023

Recommended Posts

when i add a product to my cart iget the following message:

 

Warning: Cannot modify header information - headers already sent by (output started at /home2/electri/public_html/shop/includes/languages/english.php:338) in /home2/electri/public_html/shop/includes/functions/general.php on line 29

 

The item is added to the cart but does open any page

 

any ideas?

 

cheers

deano :thumbsup:

Link to comment
Share on other sites

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15

 

Its usually caused by whitespace in a include file like so

 

This

 

---------------------------------

{RETURN}

{RETURN}

{TAB}<?php

 

//PHP Code in here

 

{TAB}?>{SPACE}{SPACE}{SPACE}

---------------------------------

 

Should be this

 

---------------------------------

<?php

 

//PHP Code in here

 

?>

---------------------------------

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...