MadAlien Posted January 7, 2005 Posted January 7, 2005 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!
Sleeping Posted January 7, 2005 Posted January 7, 2005 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! <{POST_SNAPBACK}> 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
MadAlien Posted January 7, 2005 Author Posted January 7, 2005 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. <{POST_SNAPBACK}> 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!
MadAlien Posted January 7, 2005 Author Posted January 7, 2005 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! <{POST_SNAPBACK}> 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.