Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Can't Add Items to Shopping Cart


kbrock

Recommended Posts

I'm almost done with my site and adding products. I am just about ready to launch....I tried doing a test run and tried to add items to the shopping cart....I am getting the following error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/public/includes/languages/english.php:331) in /home/public/includes/functions/general.php on line 33

 

Please note I have done very little except change the background and colors of info boxes...what is causing this?!? Also, when trying to access "my account" link at top of webpage I am getting the exact message.

 

Thanks for your help!

Link to comment
Share on other sites

Oh yeah I guess it wouldn't hurt to include the code used on this particular line 331:

 

define('FOOTER_TEXT_BODY', '<center>Monday-Friday 9:00 AM - 4:00 PM<br><img src="images/logo-paypal.jpg" border="0" alt="Payments Accepted" width="200" height="40"><br>Visa, Mastercard, Discover, American Express, and E-Check are Accepted via Paypal</center><br>Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br><br>');

?>

Link to comment
Share on other sites

Headers Already sent

 

Click the link above.

 

The problem is in /includes/languages/english.php (line 331)

 

Given the line number, most likely a "whitespace" at the end.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...