Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Buy now button - Cannot modify header information


ntracy

Recommended Posts

Hi all,

 

When click on the Buy Now buttor, I have this error message:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/folder/public_html/index.php:1) in /home/folder/public_html/includes/functions/general.php on line 33

 

Can you please let me know what does it means and how do I fix the error?

 

Thank you.

Link to comment
Share on other sites

any time you see the message 'Cannot modify header information - headers already sent' it means that html data has already been sent to your browser but you're trying to do something that will send html headers.

 

this is usually caused because you've modified a file and inadvertently left some whitespace or other data before the first <?php tag, or after a ?> tag in a php file. look at the files you've recently modified and see if there are extra characters at the beginning or end of the file.

 

this can also be caused if you're editing files in the osc file manager. you shouldn't use that tool for just this reason.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...