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.