Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CenterShop: Warning headers already sent


eemo

Recommended Posts

ever since i installed the centershop contribution im getting the following error message when clickin on "in cart" button.

 

 Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site112/fst/var/www/html/catalog/includes/languages/english.php:335) in /home/virtual/site112/fst/var/www/html/catalog/includes/functions/general.php on line 23

 

I want to use Centershop, so i dont want to go back to my original setup ideally. I'd like to have this thing working WITH centershop.

 

Does anyone have any ideas as to what is going on pleasE ?

Link to comment
Share on other sites

search the forums.

 

You have whitespaces in /home/virtual/site112/fst/var/www/html/catalog/includes/languages/english.php around line 335

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

i did search the forums.

 

Either my search abilities arent very good, oh there was nothing to be found.

 

I've check english.php line 335, and yes it has whitespace because the code is only 331 lines long so line 335 comes after the END of the code.

Link to comment
Share on other sites

The "headers already sent" stuff is also explained in detail in our FAQ.

 

Simply delete everything (including newlines etc.) after the closing ?> tag and this error message is gone.

 

HTH

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...