Hi all,
I'm not sure whether this strictly classifies as a bug, but sharing my experience.
CentOS/CPanel server
I ran into the "The currently selected version of wkhtmltopdf () is not supported. Please update to a newer version." error whilst trying to get the wkhtmltopdf library working.
In further investigating, i could run the 'wkhtmltopdf' command through shell and produce a pdf.
It seems that when trying to run the command it does so via an absolute path to the library /home/username/public_html/sites/all/modules/print/lib/wkhtmltopdf
But when running this through command line i get the error:
Bus error
so in print_pdf.module line 629 i changed:
$cmd = realpath($print_pdf_pdf_tool) .' --version';
to
$cmd = 'wkhtmltopdf-amd64 --version';
and now works.
This may be of use to some why got their hosting provider to install the library, but are still having trouble getting it to work.
Comments
Comment #1
jcnventuraSeems like something extremely particular to your setup.
Comment #2
sam mooreI was getting this error too.
I wound up having to build wkhtmltopdf from source on my 7.14 deployment. the binary I had downloaded didn't work at all, even from the command line.
Works fine now.
Instrux here: http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html