Post by squeaky » Tue Oct 02, 2012 10:22 pm

I moved a site from dreamhost to godaddy.

I have incorporate tcpdf into the opencart to allow for the creation of pdf on my product pages.

All worked as expected both on my localhost, and on dreamhost linux, i move to godaddy and now the pdf generation is failing.

here is a product page
http://www.corpdesign.com/index.php?rou ... duct_id=80

if you click on the product cutsheet, you get the following error.

TCPDF ERROR: [Image] Unable to get image: /home/content/21/8885121/html/tcpdf//image/cache/data/High%20Back/ANGLED-500x500.jpg

the physical path to the image is

/home/content/21/8885121/html/image/cache/data/High%20Back/ANGLED-500x500.jpg

somehow it's throwing in tcpdf/

I have made no configuration adjustments in tcpdf recently.

Can anyone shed some light on this issue?

thanks

User avatar
New member

Posts

Joined
Thu Dec 03, 2009 1:01 am

Post by squeaky » Wed Oct 03, 2012 3:14 am

thanks enigma,

I tried to set $k_path_main to /home/content/21/8885121/html/

but when I do i get this error


Warning: opendir(/home/content/21/8885121/html/fonts/) [function.opendir]: failed to open dir: No such file or directory in /home/content/21/8885121/html/tcpdf/tcpdf.php on line 4942Warning: readdir(): supplied argument is not a valid Directory resource in /home/content/21/8885121/html/tcpdf/tcpdf.php on line 4943Warning: closedir(): supplied argument is not a valid Directory resource in /home/content/21/8885121/html/tcpdf/tcpdf.php on line 4948TCPDF ERROR: Could not include font definition file: helvetica


what i do not understand isnt that $k_path_main suppose to be where tcpdf files are insatlled?

User avatar
New member

Posts

Joined
Thu Dec 03, 2009 1:01 am
Who is online

Users browsing this forum: Majestic-12 [Bot] and 96 guests