VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: haf on September 25, 2013, 00:03:46 AM

Title: TCPDF, invoice after website move
Post by: haf on September 25, 2013, 00:03:46 AM
Hello everybody,
I have a little problem and I'm pulling my hair because I can't find a solution..
After I migrate my website from a VPS to GoDaddy hosting, I've founded invoice pdf generation doesn't work..
When I click on "Generate invoice" button in virtuemart it returned

TCPDF ERROR: [Image] Unable to get image: /var/chroot/home/content/xx/yyyyyyyy/html/images/stories/virtuemart/vendor/logo.jpg

The problem is that image should be in
/var/chroot/home/content/xx/yyyyyyyy/html/my_website/images/stories/virtuemart/vendor/logo.jpg

Virtuemart 2.0.12 on Joomla 2.5

Thank you for you help!!

Title: Re: TCPDF, invoice after website move
Post by: jenkinhill on September 25, 2013, 10:42:45 AM
Use the url for the image, not the path!  http://forum.virtuemart.net/index.php?topic=117596.msg397462#msg397462

Your VM version is out of date and insecure, so you should consider updating. You may have to recreate any template overrrides to work with the current secure code.
http://forum.virtuemart.net/index.php?topic=118683.0
http://virtuemart.net/news/list-all-news/446-important-security-release-vm-team-at-joomladay-germany