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

eCart error on confirm page phpmailer.php

Thread began 5/14/2019 1:40 pm by lr_leal239405 | Last modified 1/20/2020 10:43 am by lr_leal239405 | 1922 views | 31 replies


eCart error on confirm page phpmailer.php

running eCart. (not sure what version it is... I updated in 2014). I got a couple of error messages from the code generated but was able to resolve one. I get

Parse error: syntax error, unexpected end of file, expecting ')' in /home/jvdydf5kad9w/public_html/webassist/email/phpmailer/src/PHPMailer.php on line 3382.

The code I see in that section is:

// If a MIME type is not specified, try to work it out from the name
if ('' == $type and !empty($name)) {
$type = static::filenameToType($name);

// Append to $attachment array
$this->attachment[] = array(
0 => $string,
1 => $name,
2 => $name,
3 => $encoding,
4 => $type,
5 => true, // isStringAttachment
6 => $disposition,
7 => $cid,

return true;


The line is this one : 3 => $encoding,


(Also, not sure if you fixed it later, but the error I got earlier was on confirm.php / eCart1_PHP.php was missing quotes on (I think this line $WA_columnTypesStr = "@@ColumnTypeStrParam@@";).

Another was that... even though I told it to use a Paypal Sandobx and entered credentials, it still had the 'Use Sandbox' as 'False' and my credentials didn't make it into the generated code.

Maybe you've fixed those glitches by now but just in case, wanted to let you know.

However I still have the error at top.

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





Ease of use


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...