News:

Support the VirtueMart project and become a member

Main Menu

Parse error tcpdf at checkout

Started by Diarmiud, May 11, 2012, 18:24:02 PM

Previous topic - Next topic

Diarmiud

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

antonitus

Maybe try re-installing tcpdf in /libraries/tcpdf, that might help.  You can find files at http://sourceforge.net/projects/tcpdf/files/.
Joomla V3.5.1
Virtuemart V3.0.16

Diarmiud

Hello Antonitus,

many thanks - now it works. I had to install the tcpdf.php twice.

antonitus

Glad it worked for you Diarmiud. In VM2, it's not part of the installation as I had to install it.
Joomla V3.5.1
Virtuemart V3.0.16