Chrissie Posted April 16, 2007 Posted April 16, 2007 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 Quote
Guest Posted April 16, 2007 Posted April 16, 2007 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 Quote
Chrissie Posted April 16, 2007 Author Posted April 16, 2007 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 Quote
Guest Posted April 16, 2007 Posted April 16, 2007 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. Quote
Chrissie Posted April 16, 2007 Author Posted April 16, 2007 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 Quote
Recommended Posts
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.