warning: Parameter 1 to drigg_link() expected to be a reference, value given in /home/suro/public_html/diggit/includes/module.inc on line 406.
4

"TCPDF ERROR: [Image] Unable to get image" message trying to use PDF support

http://drupal.org

I'm not positive that this is the best forum, but none of the others seem right either.

I've been running Drupal for about a year and a half and I installed print support very early on and I thought that I had the PDF support working, but last week I tried to click on the PDF of a page and I got the following error message:

TCPDF ERROR: [Image] Unable to get image: file:///home/louusiteadmin/liveoakuu.org/sites/all/modules/print/images/...

I grep'd the print source and didn't find a reference to PostTagIcon.png. I searched the site and finally found the file in the theme's directory.

I'm not seeing anyone complaining about this, so I suspect that is a issue with my site's theme.

I found http://drupal.org/node/518794, but adding

allow_url_fopen = On;
allow_url_include = On;

to php.ini didn't help.

Finally, I created the modules/print/images directory, copied PostTagIcon.png to it, and got the PDF support to work.

So, I fixed it with a hack, but what is the real solution?

For what it's worth, I'm running Drupal 6.20, Print 6.x-1.12 and I was using tcpdf 4.8.016, but 5.9.047 didn't work any better.

Read »
Created by group42 2 years 14 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for "TCPDF ERROR: [Image] Unable to get image" message trying to use PDF support

Recent comments