Hi,
I get the following error when trying to generate a pdf with TCPDF:

TCPDF ERROR: [Image] No such file or directory in http://almostadoctor.co.uk/sites/default/files/print_logo.png

however, this image does exist.

Is there any way to sort out this error?

Thanks

Comments

tommyz4’s picture

I am having same issue

gnarlytom’s picture

I think this issue is something to do with HTTP request status failure that i keep getting on my site. I am not a web developer, and don't understand how to fix the http error, but i have been able to fix the pdf generation error!

This problem occurrs because for some reason, drupal isnt able to properaly access your online files in this istance.
I literally uploaded the image i was using to flickr, and in the settings for the module, redirected to the flickr image location, and the problem is gone.

Not the prettiest workaround, but really simple, and it works

perke’s picture

same here, using tcpdf_4_9_017

but here, it is looking for the logo in theme dir

TCPDF ERROR: [Image] No such file or directory in http://site/sites/all/themes/basic/logo.png

perke’s picture

Status: Active » Closed (duplicate)

ok, just figured this is duplicate of http://drupal.org/node/518794

marking as such, hope the provided solution will work