New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating IP to v1.6.0 and PHP to 8.1 invoices/generate_pdf no longer works (with SVG?) #898
Comments
@ctsde-markus thank you for the bug report. We just had a pull-request resolving this issue: Would you mind quickly changing that file, so it resolves your issue |
This solves the problem for me! Thank you very much! Bye |
Closing issue. Fixed by MR #897 |
i have same issue and solved with this
.................
|
@reproteq does that mean that the solution in https://github.com/InvoicePlane/InvoicePlane/pull/897/files didn't work for you and you had to make extra adjustments with that absolute path? |
exactly that |
Reopened: In some cases the logo still doesn't show. Above solution helps solve that. Requires a PR for the |
Let's see if this code is in Beta, otherwise change it. On line 22 to 25:
On line 39 to 42:
|
@reproteq I fixed the bug, checkout the PR: https://github.com/InvoicePlane/InvoicePlane/pull/964/files |
Expected Behavior
Generate a PDF of an invoice.
Current Behavior
I get errors stating that it could not find an image file:
The file itself is there and the user running the php-fpm process can read it, in fact it even owns the file:
I can still download already created .pdf Files from
.../uploads/archive/
so there can't be any permission problem down the path.I checked with phpinfo() that all required modules for mpdf are enabled:
Steps to Reproduce
Update my installation vom 1.5.11 to 1.6.0 and upgrade from PHP-7.4 to PHP-8.1.13 on FreeBSD. The previous version worked fine with PHP-7.4.
Failure Logs
I only see a 500 error in the nginx-vhost-access.log. No further error messages than those mentioned above. It seems that it no longer can interpret the .SVG file in mpdf with PHP-8.1.
The text was updated successfully, but these errors were encountered: