close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

UE Syntax error

Thread began 7/20/2010 8:28 pm by david331670 | Last modified 7/27/2010 3:13 pm by david331670 | 770 views | 6 replies

david331670

UE Syntax error

When I try to checkout withPayPal Express, PayPal takes the money but I get a browser page error: Parse error: syntax error, unexpected '}' in ....../webassist/email/WAUE_pp_confirm_1.php on line 174.
I have look at this area on a number of different WAUE.php pages and they all are different in some way or another, I cant find consistency in the code. The very similar setup for the PayFloPro checkout page works ok and it looks the same. I dont get any errors.
Can you let me know what the problem may be please
Thank you
David

Copy of area below:
Its the curly bracket, I have marked the line 174 by "THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174"

//WA eCart Merchandizing Show End
//ecart="Spectrum_online"
}
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . " <tr>\r\n";
$MailBody = $MailBody . " <td style=\"text-align:left; font-weight:bold; padding: 10px 14px 10px 5px; background-color:#E5F385; /* Accent_11 */ border-top:solid 1px #CCD0D6; /* Neutral_Medium */ \" >Total:</td>\r\n";
$MailBody = $MailBody . " <td style=\"background-color:#B8D249; /* Accent_12 */ width:15%; text-align:right; padding: 10px 14px 10px 5px; border-top:solid 1px #CCD0D6; /* Neutral_Medium */\" >";
$MailBody = $MailBody . WA_eCart_DisplayMoney($Spectrum_online, $Spectrum_online->GrandTotal());
$MailBody = $MailBody . "</td>\r\n";
$MailBody = $MailBody . " </tr>\r\n";
$MailBody = $MailBody . " </table>\r\n";
$MailBody = $MailBody . " </div>\r\n";
$MailBody = $MailBody . " ";
//WA eCart Show If Middle
} THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174 THIS IS LINE 174
else {
$MailBody = $MailBody . "<table><tr><td>The cart is empty</td></tr></table>";
//WA eCart Show If End
}
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . " \r\n";
$MailBody = $MailBody . "<div style=\"font-family:Verdana, Arial, Helvetica, sans-serif; /* Font Style */ font-size:x-small; color: #2C2D2E; /* Neutral_Black */ width:514px;\">\r\n";
$MailBody = $MailBody . " <div style=\"border-bottom:solid 1px #BABDC2; /* Neutral_Dark */ padding-bottom:10px;\">\r\n";
$MailBody = $MailBody . " <h3 style=\"font-size:small; background-color:#F1F0EE; /* Global_Gray_Light */ color: #353C48; /* Accent_5 */ padding: 5px 7px; margin-bottom:7px; border-top:solid 1px #BABDC2; /* Neutral_Dark */ border-bottom:solid 1px #BABDC2; /* Neutral_Dark */\">PayPal Express Checkout Information</h3>\r\n";
$MailBody = $MailBody . " <div>\r\

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...