| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#11
|
|||||||||
|
|||||||||
Re: X-Cart 5.5 Is Out! What's New?
Did you install with PHP 8.1?
The XC docs clearly states 7.4 or 8.0 https://developer.x-cart.com/getting_started/requirements PHP (7.4 or 8.0) So PHP 8.1.x, MySQL 8, env file with dev environment, debug set to 1, all other settings as needed. First attempt to install clean copy failed with "SQLSTATE[HY000] [2002] No handler for this scheme" error. It took me some time to realize the db socket not being specified in .env file is the reason. So make sure all DB info in the .env file is properly added. Then off to the next error - "Handling "XCart\Messenger\Message\SendMail" failed: Warning: Undefined array key "REQUEST_URI" - which is not something I could find in any settings file to adjust. Changed the "debug" in .env file to false produces next error "You cannot define a sequence item when in a mapping at line 11 (near "- 'CREATE TABLE xc_countries (code CHAR(2) NOT NULL, active_currency INT DEFAULT NULL, currency_id INT UNSIGNED DEFAULT NULL, lng_id INT DEFAULT NULL, id INT NOT NULL, code3 CHAR(3) NOT NULL, enabled TINYINT(1) NOT NULL, INDEX IDX_63D5E39A38248176 (currency_id), INDEX IDX_63D5E39AD7077436 (lng_id), INDEX enabled (enabled), INDEX active_currency (active_currency), PRIMARY KEY(code)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB'")." At this time I just gave up for the time being. Now this was a clean install attempt and I want to run an upgrade but I cannot imagine running this on a live store and failing like that. It will be disastrous.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#12
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
I have 8.0 and 8.1 on my server (easyapache4) but have not attempted any upgrade yet.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#13
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
Quote:
Hi Steve! It’s PHP 8.0 for now, we had to offer this to support upgrades. We are working right now on adding support for PHP 8.1 and 8.2. It’s going to be available in the next updates, stay tuned for our news and announcements.
__________________
Nastya Zhavoronkova, X-Cart |
|||||||
#14
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
Quote:
Most active software companies would have launched a new upgrade / platform that supports PHP 8.2 / 8.1 / 8.0 - by default. Still, let's see, when the "next update" arrives, to avoid making any incorrect or unfair pre-judgments. Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#15
|
|||||||||
|
|||||||||
Re: X-Cart 5.5 Is Out! What's New?
Quote:
Any word on the errors I am getting? I tried on another local machine although similar environment and got the same errors. The "You cannot define a sequence item when in a mapping..." although had different line. Is this due to the fact I am running it on PHP 8.1? I am yet to try an upgrade from the latest 5.4.x but I have the feeling it will fail. So at this point unless I start changing my working environment (which I am not happy about doing) I can't try the new XC 5.5.x and cannot start working on the modules. Changed PHP to 8.0 - same, no go. Same errors and new one now - Handling "XCart\Messenger\Message\SendMail" failed: Undefined constant "XLite\Core\RemoteResource\CURLOPT_FOLLOWLOCATION" Anyone else tried new install of 5.5.x and had any success?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#16
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
The REST API module is still not ready so i'm waiting.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#17
|
|||||||||
|
|||||||||
Re: X-Cart 5.5 Is Out! What's New?
Finally managed to get this installed. So definitely PHP 7.4 or 8 only, MySQL 8 works, now to figure out the rest.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#18
|
|||||||||
|
|||||||||
Re: X-Cart 5.5 Is Out! What's New?
Ok here is the latest. It is a nightmare to get this thing working. At least what's my experience with it so far. And still not fully tested.
My local env is running PHP 8.1.x. With XC 5.4.x I just have a line in htaccess to direct it to use PHP 7.4 and all is good. This does not work with XC 5.5.x installation as it runs from the command line and webdir htaccess doesn't matter. So I had to switch PHP cli too. Which means I have to constantly do this while working on different sites and XC 5.5.x - not a good thing. But that's not all. In order to run the app after installation you have to modify the web server config - not the htaccess which doesn't even exists with XC 5.5.x but the actual web server config. So you have to have access to that or ask the host to do it for you. I do have access but then since it is a local machine with many sites and I use directories not individual web server configs I didn't want to mess up with that right now. There is a way to still direct XC 5.5.x through htaccess but not everything is working properly. And the admin side complains about that even though according to the docs it should work. The docs are lacking tons of info so good luck getting everything in order - tons of time to experiment and fix every error/complaint. So far really not a good experience with XC 5.5.x. XC 5.4.x runs under PHP 7.4.x and MySQL 8, and it has been out of years so as less bugs as possible. XC 5.5.x runs under PHP 7.4 or 8 and MySQL 8 - so just about the same. And it just came out. With drastic changes, ssh access required with possible web server access required. All this is not necessarily a bad thing but I just don;t see why anyone will want to go through all these trouble at this point to upgrade to the same server environment which soon will be out of support anyway. Until XC 5.5.x is PHP 8.1 and 8.2 ready I don't see the point. At least I guess I can start working on some module adaptation despite all the going back and forth between PHP versions. Adding the Symfony debug bar is a nice touch but then I would expect form a stock installation to be free of errors. Yet it is not - every page I loaded shows some DB association or mapping errors. Also get we get the debug par page to load in new window/tab when clicked? ** Edited ** Spoke too soon about the PHP version - both cli and web must use 7.4 or 8 in order for the cart to fully work. After switching cli to 8.1 I tried removing modules from admin (web) however it threw up an error and until I changed back the cli PHP version I was not able to complete the task. So back to - XC 5.5. must be able to run on PHP 8.1+ , until then I'll just wait. Hoping this will be soon.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#19
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
I'll never forget the hell I went through went I upgraded from 4.x to 5.x. It looks like 1/3 of the mods I have won't work, there's no way I will upgrade anytime soon.
__________________
X-Cart 5.4.1.39 Live PHP 7.4.33 5.5.5-10.3.38-MariaDB MariaDB Apache 2.4 CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT 32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1 |
|||||||
#20
|
|||||||
|
|||||||
Re: X-Cart 5.5 Is Out! What's New?
i see they have disabled the upgrade in-store, it now just says "contact us"
__________________
4.7.x xcart store Business 5.4xx |
|||||||
|
|||
X-Cart forums © 2001-2020
|