Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parse error on checkout


chfields

Recommended Posts

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

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

Archived

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

×
×
  • Create New...