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)

Comments

Apfel007’s picture

Title: wkhtmltopdf - Error: Failed loading page file » wkhtmltopdf -Error: Authentication Required

Caused by a htaccess on dev site!!

Apfel007’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mvc’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Category: support » feature
Status: Closed (fixed) » Needs review
StatusFileSize
new1.22 KB

actually, we can handle this with wkhtmltopdf, so we might as well do so. tested with 0.9.6 & 0.11.0.

jcnventura’s picture

Status: Needs review » Fixed

I simplified the code a bit (reusing $wkhtmltopdf_options). Otherwise nice patch!

http://drupalcode.org/project/print.git/commit/5943f14

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.