Need Help with V5, Keep getting error 500 with snappdf.
Hi,
Are there any errors in storage/logs
I had this error I can not remember exactly which fixed it but it was one of these:
- PHANTOMJS_PDF_GENERATION=false
- PDF_GENERATOR=snappdf
- NINJA_ENVIRONMENT=selfhost
I think it was the selfhost option.
Duncan
Hi Hillel,
No errors.
Thanks
What is your environment? Shared hosting or a virtual private server?
If you have a whitelabel license, you can use
PDF_GENERATOR=hosted_ninja
Hi David, Shared Hosting. I don’t have White Label License
On shared hosting, you’ll need to rely on PhantomJS to generate your PDFs, you will need to register with phantom for an API key and then update the .env with this value.
https://invoiceninja.github.io/docs/self-host-troubleshooting/#phantom-js