by Andrew Brett WatsonPublished in Joomla
How do I install the TCPDF library in Joomla Virtuemart when I get the error: "vmError: vmPdf: For the pdf, you must install the tcpdf library"
After installing Virtuemart in Joomla I spotted an error: "vmError: vmPdf: For the pdf, you must install the tcpdf library at /home1/myaccount/public_html/mydomain/libraries/tcpdf" and my first thought was: whaaaat???. Here is how to make that error GO AWAY! (an easy method and an even easier one).
Here are two methods to get rid of the "vmError: vmPdf: For the pdf, you must install the tcpdf library" error:
Easiest way (Disadvantage is that you won't necessarily get the latest version of the TCPDF, but you probably don't need it anyway):
Go to the JED (Joomla Extensions Directory) and search for "tcpdf". rather than direct link, I put it his way incase the urls change. You should easily find a tcpdf library installer which you can download, installl from the Joomla backend and then the TCPDF files will be installed in the correct location on the drive.
A little bit less easy (but still easy and the advantage of always getting the latest version):
- Got to http://www.tcpdf.org/ and click on the download page and get the latest version.
- Using filezilla or you preferred FTP solution Simply create the folder: yourdomain/libraries/tcpdf
- Unzip the TCPDF library file you just downloaded and upload all the files via FTP into tcpdf folder you just created on your domain.
Lastly, check back at the administrator backend of Joomla/Virtuemart to see confirm the "vmError: vmPdf: For the pdf, you must install the tcpdf library" error is gone.
Now you can work on getting rid of the other errors :P