X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases (https://forum.x-cart.com/showthread.php?t=78092)

cflsystems 02-06-2022 06:50 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
5.4.1.x has no problems with php 7.4 and mysql 8. If you have 5.4.1.x not being able to run on it then it is some 3rd party modules or something else on that server/cart that's the problem.

Ed B. 02-23-2022 02:12 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Thanks, as a matter of fact I have managed to run without a problem another dev store with php 7.4, so it is not php configuration either. So all I need to do is to figure out which add-on is the culprit...

cflsystems 02-23-2022 04:39 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
You turn them all off, switch php and start turning on one by one

Ed B. 03-03-2022 09:04 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by cflsystems
You turn them all off, switch php and start turning on one by one



Thank you, that is what I was about to do when ... our "free license" got transformed to "trial license" that expired :cry: again. I thought this issue was solved long time ago...

cflsystems 03-04-2022 04:38 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by Ed B.
Thank you, that is what I was about to do when ... our "free license" got transformed to "trial license" that expired :cry: again. I thought this issue was solved long time ago...





This issue was never fixed and will not be in this or earlier versions. Eventually next major version will have different way of calling the mothership to check the license but who knows.

Ed B. 03-06-2022 11:47 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by cflsystems
This issue was never fixed and will not be in this or earlier versions. Eventually next major version will have different way of calling the mothership to check the license but who knows.



For some reasons, I was seeing "trial" on service.php page but on admin.php I still saw "free", and it didn't keep my dev stores from operating correctly. And I stopped seeing "your trial license expires in N days". So I presumed the problem was gone. But now I see that my "trial license expired".


Too bad that we will have to migrate to another e-commerce platform now that our production store was almost ready...

Ed B. 03-15-2022 01:24 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by Ed B.
For some reasons, I was seeing "trial" on service.php page but on admin.php I still saw "free", and it didn't keep my dev stores from operating correctly. And I stopped seeing "your trial license expires in N days". So I presumed the problem was gone. But now I see that my "trial license expired".


Too bad that we will have to migrate to another e-commerce platform now that our production store was almost ready...



Somehow all problems are gone... Well, thank you very much for help anyway.

Ed B. 03-15-2022 02:37 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by Ed B.
Somehow all problems are gone... Well, thank you very much for help anyway.



Actually not... It turned out that
  • The error with php 7.4 comes from my own custom module:oops:
  • The problem with license comes from loopback error, which somehow is related to the use of php 7.3 or 7.2
  • The loopback error keeps me from recompiling the store, meaning that I will have to develop my module using php 7.4, but because of the error I can't even visualize what it does...
So somehow I will have to keep switching back and forth between php versions for debugging :(

Daisy 10-19-2022 09:08 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
Quote:

Originally Posted by cflsystems
Considering the newest Symfony version requires PHP 8.0.2+ and a lot of the other 3rd party software XC uses are ready for PHP 8 yet XC 5.4.x is not I can assume they will not do anything about it. So 5.4.1.x will stay as is and maybe maybe 5.4.2 will be PHP 8 ready, or maybe 5.5.x and above only. When PHP 8 is being deprecated... maybe


Bad news for me, my hoster is forcing me to PHP 8 next month 8O

cflsystems 10-19-2022 09:46 AM

Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
 
PHP 7.4.x security support ends in a month - https://www.php.net/supported-versions.php
XC5 at its current stage is not PHP 8 ready and the new XC5 is not even close to being released (I suspect) and even if somewhat ready it will be a major upgrade. So lots of breaking changes, waiting on 3rd party modules, bugs, etc.

You should get new host right of way if the current one won't allow you to continue using PHP 7.4.x.


All times are GMT -8. The time now is 01:35 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.