Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

'cannot modify headers' error?


Guest

Recommended Posts

Posted

I get this error:

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/kg6ohk/public_html/baradaonline/includes/languages/english.php:337) in /home/kg6ohk/public_html/baradaonline/includes/functions/general.php on line 29

 

 

when I try to do quite a few different things, including viewing the cart and writing a review. It looks to my (untrained in php, at least to any real degree) eye that one script is writing headers out, then including/requiring another one that's also trying to spit out headers?

 

I'm guessing it's a dumb permissions problem...or an operating nut that needs adjustment...if there were a DUH smiley I'd insert him here.

Posted

Yup, that was it.

 

I'm using a CPanel host; I've noticed several times before that whenever I use their web-based editor hoopajoop it adds a blank line to the end of the file. Every time you save it. My index.html had like 20 blank lines after it one night...ugh. Why, oh why, do they do that to me???????

 

Thanks for the pointer!

Archived

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

×
×
  • Create New...