What could be the cause of this error? I got a page refresh , but no pdf.
In terminal I'm able to make a pdf.
wkhtmltopdf: Loading pages (1/6) [> ] 0% [======> ] 10% [======> ] 11% Error: Authentication Required [============================================================] 100% Error: Failed loading page file:///tmp/wktemp-b02df673-db7f-4683-99ae-68ce16ec7ab6.html (sometimes it will work just to ignore this error with --load-error-handling ignore)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | print-wkhtmltopdf-authentication-994564-4.patch | 1.22 KB | mvc |
Comments
Comment #1
Apfel007 commentedCaused by a htaccess on dev site!!
Comment #2
Apfel007 commentedComment #4
mvcactually, we can handle this with wkhtmltopdf, so we might as well do so. tested with 0.9.6 & 0.11.0.
Comment #5
jcnventuraI simplified the code a bit (reusing $wkhtmltopdf_options). Otherwise nice patch!
http://drupalcode.org/project/print.git/commit/5943f14