VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Diarmiud on May 11, 2012, 18:24:02 PM

Title: Parse error tcpdf at checkout
Post by: Diarmiud on May 11, 2012, 18:24:02 PM
Hi,

after confirming the order the customer gets an error page:

Parse error: syntax error, unexpected ':' in /homepages/4/dxxxxx/htdocs/virtuemart/libraries/tcpdf/tcpdf.php on line 12293

My system:
Virtuemart 2.06
Joomla 2.5.4

At line 12293 in tcpdf.php I found:
      $xmp .= "\t\t\t".'<pdfaExtension:schemas>'."\n";

Any hint for me how I can solve the problem?

Thanks
Peter
Title: Re: Parse error tcpdf at checkout
Post by: antonitus on May 12, 2012, 10:16:30 AM
Maybe try re-installing tcpdf in /libraries/tcpdf, that might help.  You can find files at http://sourceforge.net/projects/tcpdf/files/.
Title: Re: Parse error tcpdf at checkout
Post by: Diarmiud on May 13, 2012, 18:00:59 PM
Hello Antonitus,

many thanks - now it works. I had to install the tcpdf.php twice.
Title: Re: Parse error tcpdf at checkout
Post by: antonitus on May 13, 2012, 19:09:58 PM
Glad it worked for you Diarmiud. In VM2, it's not part of the installation as I had to install it.