I tried upgrading to 8.1 and all worked perfectly but the emails started going out at base-64. We are using php mail function to send out mails so that IS indeed php related.
I then used php 8.0 but the problem remained. Emails were sent out like this:
I tried upgrading to 8.1 and all worked perfectly but the emails started going out at base-64. We are using php mail function to send out mails so that IS indeed php related.
I then used php 8.0 but the problem remained. Emails were sent out like this:
So I had to downgrade even further. 7.4 of PHP works again as it was.
Am I missing some PHP module in my config? I can't figure out why emails go out like that.
Could you please help?
Hello!
It seems like caused by the version of PHPMailer library used in the current version of CS-Cart & Multi-Vendor. We are planning to update the version of this library in the next version of CS-Cart & Multi-Vendor, so this issue should be fixed there.
It seems like caused by the version of PHPMailer library used in the current version of CS-Cart & Multi-Vendor. We are planning to update the version of this library in the next version of CS-Cart & Multi-Vendor, so this issue should be fixed there.
That's great to hear. Any ETA? or a temporary fix?
The problem was indeed fixed, but the fix was included in CS-Cart 4.16.1, scheduled for release late January 2023. Version 4.15.2 just happened to release before the fix was developed and properly tested.
P.S. Just in case, we’re also working on the support of PHP 8.1 in CS-Cart 4.16.1.
FYI, php8.1 has only 10 months more of support
|Branch|Initial Release|Active Support Until|Security Support Until|
|8.0|26 Nov 2020|2 years, 1 month ago|26 Nov 2022|1 month ago|26 Nov 2023|in 10 months|
|8.1|25 Nov 2021|1 year, 1 month ago|25 Nov 2023|in 10 months|25 Nov 2024|in 1 year, 10 months|
|8.2|8 Dec 2022|1 month ago|8 Dec 2024|in 1 year, 10 months|8 Dec 2025|in 2 years, 10 months|
Thanks for the heads-up! We do already rely on PHP: Supported Versions for planning our next moves. According to it:
PHP 8.0 will be getting security support until around the end of 2023.
PHP 8.1. will be getting security support until around the end of 2024.
Personally, I see “the orange zone” in the PHP diagram (versions with security fixes only) as a sweet spot. But there are many things that factor in a decision when to focus on compatibility with a PHP version.
It’s too soon for me to promise everything. A lot of factors affect the decision. In my eyes — and that’s just my opinion — an ideal supported PHP version:
Doesn’t have known security vulnerabilities.
Has active security support (the orange zone on the diagram at least).
Is widely used and adopted already.
Doesn’t require us to give up support of some older versions that are still widely used.
For example, we recently had requests from clients who were disappointed that we had to abandon support of PHP 7.0 (sometimes that is necessary to allow for newer PHP versions). The client’s point was “if it works, don’t fix it”. We take all our customers’ concerns to heart, so I can understand that angle too. But we have to make that choice, so eventually 8.2 will be supported as well.
“The client’s point was “if it works, don’t fix it”. We take all our customers’ concerns to heart,”
I understand what you say - and you are correct, but I wonder if the customer understands the security issues?
In the past sometimes I waited a long time to upgarde CS cart but I didn’t understand about old PHP versions - if I had understood I would not have waited so long…
Thank you! These details should be mentioned also on CS-Cart System Requirements — CS-Cart 4.15.x documentation
As I encountered many times since using cs cart issues with installing/upgrading cs cart. Either the requirements are not fully mentioned or are bugs in cs cart that did that some features or another of cs cart not to work.