Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error when adding items to cart


Guest

Recommended Posts

"...Warning: Cannot modify header information - headers already sent by (output started at /home/fhlinux191/t/the-pred.co.uk/user/htdocs/mkportal/modules/shop/includes/languages/english.php:5) in /home/fhlinux191/t/the-pred.co.uk/user/htdocs/mkportal/modules/shop/includes/functions/general.php on line 29..."

 

I get this error when i am trying to add something to the shopping cart - i think it is to do with the language file (english) as it only appeared after i changed the default language in english.php from USD to GBP, so that the £ sign would appear.

 

This problem prevents many processes, such as logging in to the user account.

 

if you want to look, the shop is located at the-pred.co.uk/mkportal/modules/shop/

 

I have tried several things, including leaving the default language as USD, but swapping the $ for the £ sign, but this error remains.

 

Does anybody know how to solve it?

 

Thanks

Link to comment
Share on other sites

Make sure there is no whitespace before the opening <?php or closing ?> tags in either your general.php or english.php files. Whitespace can be a single space or new line so you want to be sure <?php is the very first thing and ?> is the very last.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...