Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: Cannot Modify Header Info - Center Shop question


Guest

Recommended Posts

Posted

when i click on my account, or checkout or try to create a new account i get this as a error message

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/xhelderx/public_html/osCommerce/includes/languages/english/center_shop.php:42) in /home/xhelderx/public_html/osCommerce/includes/functions/general.php on line 23

 

does anyone know what this means or could possibly help me out? Thank you for your time,

 

Helder

Posted

Do you actually have a file that is center_shop.php in your languages/english folder? If you do, then it normally means that in that file, either before the <?php or after the ?> at the end of the file, you have whitespace. This causes trouble.

 

It is normally at the bottom of the file (after the "?>") and is caused by using some non-standard text editors to change these files.

 

Put your cursor just after the ?> at the end and see if you use the arrow keys and your cursor moves past the > then you have whitespace. Just put your cursor after the > again and hold the delete key down until all the whitespace is gone. Then save the file and try your transaction again.

 

HankFrid

If I build it...they will come.

If I don't try to build it.....I will never know!

Posted

I'm having the same problem. :cry:

I get the following message and cannot login from english page. Other language is OK so db is working.

 

---

Warning: Cannot modify header information - headers already sent by (output started at /home/ag/public_html/osCommerce/includes/languages/english.php:339) in /home/ag/public_html/osCommerce/login.php on line 43

 

Warning: Cannot modify header information - headers already sent by (output started at /home/ag/public_html/osCommerce/includes/languages/english.php:339) in /home/ag/public_html/osCommerce/includes/functions/general.php on line 23

---

 

I did check english.php, login.php and general.php and they have not white spaces.

 

Does anyone know where I should look please?

 

AG

Posted

Thank you HankFrid for your helpful information.

I've sorted mine out!

extra new line at the end of ?> was my problem.

I can now log in :D

Cheers!

 

AG

Posted

That did the trick, thanks a lot Henry

Archived

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

×
×
  • Create New...