Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Intermittent error when sending order emails


dragon5

Recommended Posts

Posted

Hello. I'm getting the following error when sending order update emails:

 

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

 

Some days I get this error and others I don't Never know when it's going to happen. The emails are still being sent. Also got the same error when I attempted to delete a customer. Customer WAS deleted.

 

This just started about a week ago. I have NOT made any changes to the site. (site has been up for 2 yrs)

Any help would be appreciated.

Tom

Posted
Some days I get this error and others I don't Never know when it's going to happen.

 

Now today, it's NOT doing it????

Any ideas?

Tom

Posted

Your error is caused by php encountering whitespace, either before an opening tag <?php or after a closing tag ?>

 

More information is here

 

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15

 

In your case, I'm not sure why it's intermittant but the cause is almost certainly the whitespace.

 

Look closely at the files in the error, in your case...probably the beginning of catalog/admin/includes/languages/english/orders.php

Posted
Your error is caused by php encountering whitespace, either before an opening tag <?php or after a closing tag ?>

 

More information is here

 

http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15

 

In your case, I'm not sure why it's intermittant but the cause is almost certainly the whitespace.

 

Look closely at the files in the error, in your case...probably the beginning of catalog/admin/includes/languages/english/orders.php

 

Thank You. Had whitespace at beginning and end of orders.php and at the end of general.php. Will have to wait and see if this fixes the problem.

Tom

Archived

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

×
×
  • Create New...