When PDF is sent to client the format is messed up and client can’t view or download the invoice. Company logo wont load on invoices. This start happening with out any changes. Changes were made to try solve the problem.
Things I do to try solve the problem:
Update to PHP 8.1.
Update from 5.4 to 5.5 latest today.
Still having the same problem. I have read a lot of people with the same problem. Reporting it may be a Proxy SSL error. If anyone want to help me resolve this problem I will pay for the fix. Thanks
It let me upload my logo but still not showing in the PDF.
If I try to update the app so it may fix something I get:
FormatException: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
It may help to increase the server PHP memory limit
Options -MultiViews RewriteEngine On # Redirect Trailing Slashes… RewriteRule ^(.)/$ /$1 [L,R=301] # Handle Front Controller… RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # php - Laravel get request headers - Stack Overflow RewriteCond %{HTTP:Authorization} . RewriteRule . - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # In case of running InvoiceNinja in a Subdomain like invoiceninja.example.com, # you have to enable the following line: # RewriteBase / # php – BEGIN cPanel-generated handler, do not edit # Set the “ea-php81” package as the default “PHP” programming language. AddHandler application/x-httpd-ea-php81___lsphp .php .php8 .phtml # php – END cPanel-generated handler, do not edit