chfields Posted November 14, 2003 Share Posted November 14, 2003 When i try to confirm order I get this error Parse error: parse error in /home/mrsfield/public_html/catalog/checkout_process.php on line 239 } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; } else { $email_order = STORE_NAME . "\n" . Link to comment Share on other sites More sharing options...
Guest Posted November 14, 2003 Share Posted November 14, 2003 What have you modified in the lines just above this? I bet you are missing a ' somewhere just above the lines you have displayed. -R Link to comment Share on other sites More sharing options...
chfields Posted November 15, 2003 Author Share Posted November 15, 2003 I didn't see anything, so I pm'd you a copy to see if I missed anything... Thanks Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2003 Share Posted November 15, 2003 Its hard to tell because the file has no formatting. Everything is flush left. Please email it to me... [email protected] -R Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2003 Share Posted November 15, 2003 Okay... I found it! As soon as I loaded up my Beyond Compare, the issue jumped right out! Using your example at the top of the thread, } <-- there should be another IF statement right about here $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; } else { <-- this is where the problem is $email_order = STORE_NAME . "\n" . There is no IF statement prior to it. If there is an ELSE, there has to be an IF before it. It looks to me like you installed the Order Editor, or something like that... correct? Well thats where the problem lies. You are missing an IF statement somewhere just above these lines. Hope this helps. -R Link to comment Share on other sites More sharing options...
chfields Posted November 15, 2003 Author Share Posted November 15, 2003 Thanks..I'll fix it as soon as I get home from work today!! Your the man!!! Link to comment Share on other sites More sharing options...
chfields Posted November 15, 2003 Author Share Posted November 15, 2003 I fixed this problem, had to replace checkout_process. Now it will finish with order but now it doesn't show order in admin...Rrrrrrrrrrrrrrr Link to comment Share on other sites More sharing options...
chfields Posted November 15, 2003 Author Share Posted November 15, 2003 Problem solved, didn't have the status's set...DUH... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.