Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with Warning: Cannot modify header information Problem


egornz

Recommended Posts

Posted

 

Hi everyone,

 

I've been searching around the forums looking for an answer but I keep hitting a brick wall.

 

The exact error is:

 

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

 

Now, I've checked both files for any hidden whitespaces in both of the files mentioned and there is nothing there. I'm using Notepad++ as well and nothing.

 

This error appears when trying to add an item to the client's shopping cart.

 

Any suggestions?

 

eGor :blink:

Posted

/home/????/public_html/shop/includes/filenames.php:1

 

 

Here theer migfht be some special char.Might not be visible thru some editor.

 

Just delete and retype that line.means line 1 of filenames.php

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
/home/????/public_html/shop/includes/filenames.php:1

Here theer migfht be some special char.Might not be visible thru some editor.

 

Just delete and retype that line.means line 1 of filenames.php

 

Satish

 

Thanks for the suggestiong, Satish. I opened filenames.php and went to and line 1 simply has the following: <?php

 

So, I deleted it and uploaded the file again. No difference.

 

The complete error message is:

 

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

 

In my original post, I simply replaced mdykes with ???? as I've seen this done by other posters. But, anyways, everything else seems to be ok other than this problem.

 

If I try to add a product to the shopping cart as if I were a customer wanting to buy the item, that's where it throws the error up.

 

Any other suggestions?

 

Thanks,

 

eGor >_<

Archived

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

×
×
  • Create New...