Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_redirect problem


MadAlien

Recommended Posts

Posted

I'm getting this message after I click checkout_shipping.php

 

Warning: Cannot modify header information - headers already sent by (output started at c:\intranet\oscommerce\includes\classes\order.php:2) in c:\intranet\oscommerce\includes\functions\general.php on line 29

 

As of yesterday or so I was able to complete the checkout and now I can't. Nothing has changed in my scripting since then. Any insight? this is a really frustrating problem that I am having issues trying to track down.

 

Any help would be appreciated.

 

Thanks!

Posted
I'm getting this message after I click checkout_shipping.php

 

Warning: Cannot modify header information - headers already sent by (output started at c:\intranet\oscommerce\includes\classes\order.php:2) in c:\intranet\oscommerce\includes\functions\general.php on line 29

 

As of yesterday or so I was able to complete the checkout and now I can't. Nothing has changed in my scripting since then. Any insight? this is a really frustrating problem that I am having issues trying to track down.

 

Any help would be appreciated.

 

Thanks!

This looks like a your includes\classes\order.php file having a blank line at the beginning of the file. If that's the case, remove the blank line and make sure the first 5 characters in the file are <?php with no spaces or blank lines before.

After three days without programming, life becomes meaningless.

-- The Tao of Programming

Posted
This looks like a your includes\classes\order.php file having a blank line at the beginning of the file. If that's the case, remove the blank line and make sure the first 5 characters in the file are <?php with no spaces or blank lines before.

 

I went through a number of files in my classes dir and some other files that I have edited recently. No blank lines or spaces. Seems that its actually doing it in more places now.

 

Am I right by thinking the tep_redirect is being called twice? Argh!

Posted
I went through a number of files in my classes dir and some other files that I have edited recently. No blank lines or spaces. Seems that its actually doing it in more places now.

 

Am I right by thinking the tep_redirect is being called twice? Argh!

 

Nevermind! I don't know what the deal was. Probably accidently inserted something somewhere. I copied my live site functions dir to my local development mirror. Started working again.

 

Thanks for your help.

Archived

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

×
×
  • Create New...