PDF Invoice issue is back #689
Comments
Just tried with Arastta 1.6-dev and if "Display Errors" is disabled it works fine for both sides, admin doesn't require customer to be logged in. Also, customers are not able to get the invoice content if admin has not generated the invoice. Yes, they get a file named as pdf but it's empty. |
Forgot to say, going to check why it fails with display errors enabled. |
Rune, what is your PHP version? It works fine for me on PHP 5.6 version. |
Hi Denis, above you mentioned it would fail if "Display Errors" was enabled, has that changed? Don't remember what the PHP version was in this old test of Breck Demers issue, but most likely PHP 7.0 or 5.6, as I haven't used anything else in tests the last year. |
**The following is not related to PDF issue #689 The reason for that is MAMP bug regarding FastCGI and Apache server timeout.** Hi I have similar issue with generating an displaying PDF invoice from both Admin and Customer sides, after creating order, and invoice for customer, the same invoice cannot be displayed in PDF. Arastta v1.6.2-Stable Arastta error log report: 2018-07-16 17:31:59 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; mPDF has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/mpdf.php on line 89 |
Similar is not the same. Please don't cross-post to several places, especially not when you already has gotten a reply, and something to work on. That is just cluttering things up, and doesn't encourage anyone to help, it's only annoying. |
I install copy on life server and can confirm that the issue with the opening of pdf is local to MAMP. Presently the application on the life server is running on PHP 56 will run more testing and also will try php 70 later this week |
This PDF Invoice issue is back, at least in 1.5.5+
Ref #581
This time it might be a different cause, not sure yet ... But the symptoms is identical:
If customer number is replaced with zero in db, PDF generation works.
Also the customer can generate the PDF from his/her account at any time. And when the customer is logged in, also admin can generate his/her PDF from admin - but else not.
Using route.php from 1.5.0 doesn't seem to help.
Disabling SEO doesn't seem to help.
The text was updated successfully, but these errors were encountered: