Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!


Ninalune

Recommended Posts

As I add a product to cart, I get a blank page with this message:

 

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

 

Where should I look for errors? In header (I customized it and it works for other php pages)? in english.php (but where)? I never touched general.php.

 

The products are being added to cart and are stored in cookies, so if I come back, I can go to checkout. It is just this page that dosn't work.

 

Please help!

Link to comment
Share on other sites

Same happens when I update cart.

 

Line 641 in english.php does not exist. Well, its below everything in the file and is blank.

 

Line 33 in general.php reads:

 

header('Location: ' . $url);

 

 

I don't know what to do...

Link to comment
Share on other sites

Deleted line 641 in english.php - problem solved! :huh: Could it really be this little thing?
Yes, that error is generally caused by a blank line added at the end of the file. See the link in my signature.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...