Hey, unfortunately does not work, even the settings are selected as Rune advises, the error is the same can't display the PDF invoice also gives server error 500
2018-07-16 18:02:39 - 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
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/grad.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/mpdfform.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/cssmgr.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/otl.php on line 12
2018-07-16 18:02:40 - PHP Notice: Undefined offset: 16 in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/mpdf.php on line 21162
2018-07-16 18:02:40 - PHP Notice: Undefined offset: 1 in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/mpdf.php on line 21193
2018-07-16 18:02:40 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/ttfontsuni.php on line 51
2018-07-16 18:02:39 - 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
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/grad.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/mpdfform.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/cssmgr.php on line 3
2018-07-16 18:02:39 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/otl.php on line 12
2018-07-16 18:02:40 - PHP Notice: Undefined offset: 16 in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/mpdf.php on line 21162
2018-07-16 18:02:40 - PHP Notice: Undefined offset: 1 in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/mpdf.php on line 21193
2018-07-16 18:02:40 - PHP Unknown: Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor in /Applications/MAMP/htdocs/devCirrusserveCart/devWork/Arastta/system/mpdf/classes/ttfontsuni.php on line 51
In General
Share this post:
Responses (16)
-
Accepted Answer
Thank you for the feedback, I did dive deeper into MAMP Apache it turn out there is some MAMAP bug regarding FastCGI: comm with server on MAMP related to timeout, so certainly is not Arastta in this case, I will run test on life server and report back tomorrow as I mention before. Just to be sure, You tested once, I will tested second time if works it is for certain no Arastta issue.
Thanks for all your efforts ! -
Accepted Answer
Just installed a fresh Arastta 1.6.2 test site on PHP 7.0.30, changed nothing, and added nothing.
Here I tested checkout using the demo products and 'Cash On Delivery'.
Also tested both a registered customer and a guest customer.
Invoice generation and print worked on both, no error 500.
Question: What is it on your order? Any special signs, "foreign" letters or anything special we should test with? Maybe a print of all the order data? -
Accepted Answer
Wonder why it's throwing that duplicate header ...
Side note! mPDF is a third party system included in Arastta, and the included version is 6.0, while the latest available is 7.1.0: https://github.com/mpdf/mpdf/releases
As you seems to be a developer, having resources available, you might consider providing an update PR for it at GitHub - supporting never PHP versions without notices and issues. -
Accepted Answer
this is the Apache error log:
[Mon Jul 16 14:57:06 2018] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.0.12.fcgi" aborted: error parsing headers: duplicate header 'Content-Type', referer: http://host-2-arastta/devwork/arastta/index.php/account/order -
Accepted Answer
Well, there is nothing in the Arastta log you have provided that indicate any issues at the moment. It's just notices, and not errors. Nothing that should throw a error 500.
You need to check your servers log to figure out why it's throwing out that error 500. Might t.ex be ModSecurity or any other crap, like a firewall/av. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
It's mostly written on/for PHP 5.x. 7.0 should mostly work, but not to well tested. 7.2 doesn't work. 7.1 maybe.
Just test it on a live server running PHP 5.6 and/or 7.0 to ensure it's not just your local self hosted MAMP being the real problem.
EDIT: Btw! If you have error logging and display of, from where did you get the notices? Also if you have added any extensions/modifications to the system, please tell. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
This is a quite different error than the one you posted in, so i branched/split your posting into a new topic.
This is related to your local MAMP setup, and isn't a Arastta bug I think. Maybe you simply try to run it on a unsupported PHP version (like 7.1+), but since you haven't added any system info we can only be guessing. Maybe better test it on a live hosting.
Pay attention to https://arastta.org/docs/requirements
And also https://arastta.org/docs/user-manual/tools/system-information
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »