When I run the executable "wkhtmltopdf-amd64" (from Linux), I get the following output:
QPainter::begin(): Returned false============================] 100%
Error: Unable to write to destination
Exit with code 1 due to http error: 403 Forbidden
I have seen in other forums that this is due to lack of permissions to write the temporary file. Which directory do I need to make writable in order to allow "wkhtmltopdf-amd64" to create the temporary file?
make sure you have access to the directory ie : you are the owner and have write permissions when you run wkhtmltopdf http://www.google.com test.pdf
you can always su sudo and try it out but generally i wouldn't write to any where but home just so i dont store junk in important places.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With