barryvdh / laravel-snappy

Laravel Snappy PDF
MIT License
2.59k stars 289 forks source link

The exit status code '1' says something went wrong: stderr: "Fontconfig error: No writable cache directories #522

Open yogeshGroony opened 8 months ago

yogeshGroony commented 8 months ago

Exit with code 1 due to network error: UnknownNetworkError QSslSocket: cannot call unresolved function CRYPTO_num_locks QSslSocket: cannot call unresolved function CRYPTO_set_id_callback QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback " stdout: "" command: /usr/local/bin/wkhtmltopdf --lowquality '/tmp/knp_snappy653b7cde98f310.92116473.html' '/tmp/knp_snappy653b7cde98fad6.27279639.pdf'.

gulgulia17 commented 7 months ago

If you are on Ubuntu, try installing it without composer.

sudo apt update
sudo apt install wkhtmltopdf -y
sudo cp /usr/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf
echoskydev commented 6 months ago

If you are on Ubuntu, try installing it without composer.

sudo apt update
sudo apt install wkhtmltopdf -y
sudo cp /usr/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf

I have same problem and I follow this but cannot load the footer and header