Author Topic: Parse error tcpdf at checkout  (Read 3930 times)

Diarmiud

  • Beginner
  • *
  • Posts: 5
Parse error tcpdf at checkout
« 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

antonitus

  • Jr. Member
  • **
  • Posts: 132
Re: Parse error tcpdf at checkout
« Reply #1 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/.
Joomla V3.5.1
Virtuemart V3.0.16

Diarmiud

  • Beginner
  • *
  • Posts: 5
Re: Parse error tcpdf at checkout
« Reply #2 on: May 13, 2012, 18:00:59 pm »
Hello Antonitus,

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

antonitus

  • Jr. Member
  • **
  • Posts: 132
Re: Parse error tcpdf at checkout
« Reply #3 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.
Joomla V3.5.1
Virtuemart V3.0.16