Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot modify header information - headers already sent by


joedunn

Recommended Posts

I just installed the X-Sell v2-MS2 - Cross Sell for MS2 contribution for my cart. Now I get this error when I UPDATE a product or Category.

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/gallery5/public_html/catalog/admin/includes/languages/english.php:907) in /home/gallery5/public_html/catalog/admin/includes/functions/general.php on line 40

 

I opened both:

 

/catalog/admin/includes/languages/english.php:907

 

and

 

/catalog/admin/includes/functions/general.php

 

I checked for white space before <? and ?>. I did not find any so I copied the contents of the file to WordPad jsut to make sure. There is not white space(s) as far as I can tell.

 

I am not sure what the :907 mean after english.php.

 

Is there anything else that I can check?

 

I really need the help!!!!!!!!!!!!!!!!!!!

 

 

Thanks in advance!! :thumbsup:

 

Joe

Link to comment
Share on other sites

I had a similar problem.

After enabling the extension php_snmp.dll in the php.ini file and restating the apache server, the problem went away.

-pudur

 

 

Where is the php.ini file located? Is that an OSC file?

 

Thanks,

 

Joe

Link to comment
Share on other sites

The 907 refers to the line that's tripping the error. Unless you have some serious modifications, there's no way that your english php file really has 907 lines.

 

Just opening and saving a php file in wordpad is a quick way of screwing it up. :(

 

Use a true plain text editor. Text pad is good (and free). I like PHP Designer 2005 too. It's also free.

 

Even notepad will pass, but I don't like using it. Front Page stinks too, IMO.

 

You have some white space at the end of english.php. Drag your mouse through the end of the file, up to the ending ?> and delete the space.

Link to comment
Share on other sites

The 907 refers to the line that's tripping the error. Unless you have some serious modifications, there's no way that your english php file really has 907 lines.

 

Just opening and saving a php file in wordpad is a quick way of screwing it up. :(

 

Use a true plain text editor. Text pad is good (and free). I like PHP Designer 2005 too. It's also free.

 

Even notepad will pass, but I don't like using it. Front Page stinks too, IMO.

 

You have some white space at the end of english.php. Drag your mouse through the end of the file, up to the ending ?> and delete the space.

 

never encountered wordpad causing any "screwing up".

 

But yes, you have whitespace regardless.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...