Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!!! Warning: Cannot modify header information...


HolmesHustle

Recommended Posts

I'm getting the following error message:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/diverse/public_html/osc2/includes/classes/currencies.php:77) in /home/diverse/public_html/osc2/includes/functions/general.php on line 29

 

 

I've tried a number of different things because this isn't my first install and iv'e had problems before but this is one im completly stupmed on... it occurs when you try to buy a product go to "my account" or checkout

Link to comment
Share on other sites

This error is usually caused by whitespace in a file.

 

In this instance the file is this one includes/classes/currencies.php

 

and not this one includes/functions/general.php

 

Download the file includes/classes/currencies.php open it and place your cursor after the last ?> then press delete several times, save the file and upload it.

 

Do not use the file manager to edit online as this can cause the whitespace.

 

instead use an ftp program such as ws_ftp to download the file to a local machine and edit then upload using the ftp program

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

This error is usually caused by whitespace in a file.

 

In this instance the file is this one includes/classes/currencies.php

 

and not this one includes/functions/general.php

 

Download the file includes/classes/currencies.php open it and place your cursor after the last ?> then press delete several times, save the file and upload it.

 

Do not use the file manager to edit online as this can cause the whitespace.

 

instead use an ftp program such as ws_ftp to download the file to a local machine and edit then upload using the ftp program

 

...

 

you know what.

 

 

 

....

I FUCKIN LOVE YOU.

 

excuse my english but hell yah!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...