Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi!

 

Just installed the latest version and everything works fine except that when I click on update I get this error;

 

Warning: Cannot modify header information - headers already sent by (output started at /home/*mysite*/public_html/catalog/admin/edit_orders.php:464) in /home/*mysite*/public_html/catalog/admin/includes/functions/general.php on line 18

 

I've searched and found suggestions that this can be caused by trailing or leading spaces around php statements spaces but (I think!) I have eliminated any.

 

Can anyone please help to throw light on this. The order updates fine (great contribution by the way!) but I just get this annoying error.

 

Many thanks in advance.

 

Chrissie xx

Posted
Hi!

 

Just installed the latest version and everything works fine except that when I click on update I get this error;

 

Warning: Cannot modify header information - headers already sent by (output started at /home/*mysite*/public_html/catalog/admin/edit_orders.php:464) in /home/*mysite*/public_html/catalog/admin/includes/functions/general.php on line 18

 

I've searched and found suggestions that this can be caused by trailing or leading spaces around php statements spaces but (I think!) I have eliminated any.

 

Can anyone please help to throw light on this. The order updates fine (great contribution by the way!) but I just get this annoying error.

 

Many thanks in advance.

 

Chrissie xx

 

Funny timing. I just ran into this with Wordpress today. My understanding of the way to read this error is that your issue will be on line number 464 of edit_orders.php. In my case there was a few extra spaces after the php statement. I thought having to delete them would be silly but it worked.

 

Israel

Posted
Funny timing. I just ran into this with Wordpress today. My understanding of the way to read this error is that your issue will be on line number 464 of edit_orders.php. In my case there was a few extra spaces after the php statement. I thought having to delete them would be silly but it worked.

 

Israel

Thnaks for the very quick reply. I have checked as you said but I still get the same problem. I suspect it something to do with spaces but can't see where.

 

Any further help much appreciated

Posted
Thnaks for the very quick reply. I have checked as you said but I still get the same problem. I suspect it something to do with spaces but can't see where.

 

Any further help much appreciated

 

In my case, I made sure > was the last character in the file, not even a carriage return. If that doesn't work try copying that one file again or extract it from the zip file and copy that over. My understanding is it's most likely a corrupt file which is what usually causes the extra spaces and lines.

 

One option might be to use Notepad to try to fix the file since it handles only plain text, although I was able to fix mine in Dreamweaver.

Posted
In my case, I made sure > was the last character in the file, not even a carriage return. If that doesn't work try copying that one file again or extract it from the zip file and copy that over. My understanding is it's most likely a corrupt file which is what usually causes the extra spaces and lines.

 

One option might be to use Notepad to try to fix the file since it handles only plain text, although I was able to fix mine in Dreamweaver.

Many thanks again. Tried all you suggested but to no avail. But it gave me a big clue! Downloaded the previous version from the contribution and the problem disappeared! Seems someone fixed a small bug and inadvertently created a new one.

 

Many thanks again for all your help and good luck with your store.

 

Chrissie xx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...