X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools (https://forum.x-cart.com/showthread.php?t=74732)

Anna_Shvetsova 11-30-2016 09:37 AM

X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Hi friends,

Meet X-Cart 5.3.2.0! The new version comes with multiple tools and features to grow your sales, provide better customer and admin experience, make design changes easier, etc. Learn more in our blog https://blog.x-cart.com/x-cart-5-3-2.html

cflsystems 11-30-2016 10:02 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
The update went smoothly, yet to test if all works ok.

One thing that has been bothering me for a while - last page of upgrade "Do not close this page!" has a button "Open Storefront" to test and make sure storefront works ok. If the store is closed this results in "Storefront is closed" page. So one has to first click on the "private link" link at the top. Please correct this behavior and make the button work with the shopkey if need to.

lseals 11-30-2016 11:25 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
I upgraded but it did not go so well. I got the dreaded X-Cart Blob when I went to add products it said that the POS SYSTEM barcodes array caused it. I downgraded will wait as I have to finish the site. God bless you!

xim 11-30-2016 11:28 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Quote:

Originally Posted by cflsystems
The update went smoothly, yet to test if all works ok.

One thing that has been bothering me for a while - last page of upgrade "Do not close this page!" has a button "Open Storefront" to test and make sure storefront works ok. If the store is closed this results in "Storefront is closed" page. So one has to first click on the "private link" link at the top. Please correct this behavior and make the button work with the shopkey if need to.


thank you. I added to internal crm system.

xim 11-30-2016 11:34 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Quote:

Originally Posted by lseals
I upgraded but it did not go so well. I got the dreaded X-Cart Blob when I went to add products it said that the POS SYSTEM barcodes array caused it. I downgraded will wait as I have to finish the site. God bless you!


Unfortunately, we still haven't finished with checking POS system module with 532. That's why it is the developer release. The merchant release will be available later

lseals 11-30-2016 11:41 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
No worries...God bless you! I would like to thank the team for many improvements to the code and to my personal website. Even though it was not successful I got a chance to see the cools features. God bless you!

Triple A Racing 11-30-2016 07:57 PM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
This is the first time we've had a problem with an XC 5.3.* upgrade.

We tried to run this on our dev store which is set in developer mode. We made the normal pre-upgrade adjustments i.e. disable our own Custom Modules etc and then ran the whole upgrade as we do usually; all in one complete process. It ran perfectly until the 'unpacking archives' phase of the process (https://dl.dropboxusercontent.com/u/50440624/Z-Forum/5.3.2.png ) which is early on in the upgrade. There's a complete freeze at this point. We left it running for 20 mins, but no change...

No problem with the dev store. Simply login again and it's just as it was, prior to the upgrade starting. The contents of /var/tmp are deleted automatically and /var/run and /var/datacahce are not affected at this point in the process fortunately. So, a quick re-examine of options and we chose to first upgrade the XC Custom Skin module just on its own (It's a bug-fix only upgrade option) and this went perfectly.

We then attempted to run the complete upgrade again (it's now minus the bug fix module upgrade of course...) and sadly, it's back to freezing the process at the 'unpacking archives' phase. Hmmmm

A coffee later and not being put off by the doomsday message :mrgreen: "Please take your attention that it is not guaranteed the correct site operation after upgrade if you select to not upgrade all. Use this on your own risk and if you exactly know what you do" (which needs a better translation into English before the merchant wave release :wink: ) we attempted to upgrade just the Core on its own, aiming to then run all the module upgrades once that Core upgrade was complete. The Core upgrade to 5.3.2.* ran perfectly.

So finally onto all the module upgrades and it appeared to run perfectly right up to step 13 when.... Boom! An error we haven''t seen before 8O
Quote:

ERROR: "0" (code N/A)
Argument 1 passed to XLite\Core\DatabaseAbstract::detectDirectives() must be of the type array, null given, called in **/var/run/classes/XLite/Core/DatabaseAbstract.php on line 744
Line 744 in that file is this:
Quote:

743 if ($repo) {
744 $rows = $this->detectDirectives($rows);
The PHP error log is shown below (we've replaced the actual very long file location prefix with *** for easier reading):
PHP Code:

<?php die(1); ?>
[01-Dec-2016 03:07:46] Error (code: 0): Argument 1 passed to XLite\Core\DatabaseAbstract::detectDirectives() must be of the type array, null given, called in ***/var/run/classes/XLite/Core/DatabaseAbstract.php on line 744
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?target=upgrade;
Backtrace: 
#0 ***/var/run/classes/XLite/Core/DatabaseAbstract.php(744): XLite\Core\DatabaseAbstract->detectDirectives(NULL)
#1 ***/classes/XLite/Module/CDev/VAT/upgrade/5.3/2/post_rebuild.php(15): XLite\Core\DatabaseAbstract->loadFixturesFromYaml('/home/***...')
#2 ***/var/run/classes/XLite/Upgrade/Entry/AEntry.php(1127): XLite\Upgrade\Entry\AEntry->{closure}(NULL)
#3 ***/var/run/classes/XLite/Upgrade/Cell.php(1433): XLite\Upgrade\Entry\AEntry->runHelpers('post_rebuild')
#4 ***/Includes/Decorator/Plugin/Upgrade/PostRebuildActions/Main.php(40): XLite\Upgrade\Cell->runHelper(Object(XLite\Upgrade\Entry\Module\Marketplace), 'post_rebuild')
#5 ***/Includes/Decorator/Utils/PluginManager.php(62): Includes\Decorator\Plugin\Upgrade\PostRebuildActions\Main->executeHookHandler()
#6 ***/Includes/Decorator/Utils/CacheManager.php(1105): Includes\Decorator\Utils\PluginManager::invokeHook('step_thirteen')
#7 [internal function]: Includes\Decorator\Utils\CacheManager::executeStepHandler13()
#8 ***/Includes/Utils/Operator.php(213): call_user_func_array(Array, Array)
#9 ***/Includes/Decorator/Utils/CacheManager.php(826): Includes\Utils\Operator::executeWithCustomMaxExecTime('600', Array)
#10 ***/Includes/Decorator/Utils/CacheManager.php(845): Includes\Decorator\Utils\CacheManager::runStep(13)
#11 ***/Includes/Decorator/Utils/CacheManager.php(1188): Includes\Decorator\Utils\CacheManager::runStepConditionally(13)
#12 ***/top.inc.PHP53.php(90): Includes\Decorator\Utils\CacheManager::rebuildCache()
#13 ***/top.inc.php(26): require_once('/home/***...')
#14 ***/admin.php(16): require_once('/home/***...')
#15 {main}

[01-Dec-2016 03:10:15] Error (code: 0): Argument 1 passed to XLite\Core\DatabaseAbstract::detectDirectives() must be of the type array, null given, called in ***/var/run/classes/XLite/Core/DatabaseAbstract.php on line 744
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?;
Backtrace: 
#0 ***/var/run/classes/XLite/Core/DatabaseAbstract.php(744): XLite\Core\DatabaseAbstract->detectDirectives(NULL)
#1 ***/classes/XLite/Module/CDev/VAT/upgrade/5.3/2/post_rebuild.php(15): XLite\Core\DatabaseAbstract->loadFixturesFromYaml('/home/***...')
#2 ***/var/run/classes/XLite/Upgrade/Entry/AEntry.php(1127): XLite\Upgrade\Entry\AEntry->{closure}(NULL)
#3 ***/var/run/classes/XLite/Upgrade/Cell.php(1433): XLite\Upgrade\Entry\AEntry->runHelpers('post_rebuild')
#4 ***/Includes/Decorator/Plugin/Upgrade/PostRebuildActions/Main.php(40): XLite\Upgrade\Cell->runHelper(Object(XLite\Upgrade\Entry\Module\Marketplace), 'post_rebuild')
#5 ***/Includes/Decorator/Utils/PluginManager.php(62): Includes\Decorator\Plugin\Upgrade\PostRebuildActions\Main->executeHookHandler()
#6 ***/Includes/Decorator/Utils/CacheManager.php(1105): Includes\Decorator\Utils\PluginManager::invokeHook('step_thirteen')
#7 [internal function]: Includes\Decorator\Utils\CacheManager::executeStepHandler13()
#8 ***/Includes/Utils/Operator.php(213): call_user_func_array(Array, Array)
#9 ***/Includes/Decorator/Utils/CacheManager.php(826): Includes\Utils\Operator::executeWithCustomMaxExecTime('600', Array)
#10 ***/Includes/Decorator/Utils/CacheManager.php(845): Includes\Decorator\Utils\CacheManager::runStep(13)
#11 ***/Includes/Decorator/Utils/CacheManager.php(1188): Includes\Decorator\Utils\CacheManager::runStepConditionally(13)
#12 ***/top.inc.PHP53.php(90): Includes\Decorator\Utils\CacheManager::rebuildCache()
#13 ***/top.inc.php(26): require_once('/home/***...')
#14 ***/admin.php(16): require_once('/home/***...')
#15 {main}

[01-Dec-2016 03:10:15] Error (code: 2): Cannot modify header information - headers already sent by (output started at ***/Includes/Utils/Operator.php:164) in file ***/error_handler.php : 26
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?;
Backtrace: 
#0 Includes\ErrorHandler::logInfo()  called at [***/Includes/ErrorHandler.php:424] 
#1 Includes\ErrorHandler::handleCommonError()  
#2   called at [***/error_handler.php:26] 
#3   called at [***/Includes/ErrorHandler.php:355] 
#4 Includes\ErrorHandler::showErrorPage()  called at [***/Includes/ErrorHandler.php:437] 
#5 Includes\ErrorHandler::handleException()

This situation leaves both the Admin area and the Customer areas inaccessible. Even after a little surgery on /var/run etc (thanks to good previous guidance from @seyfin) and a subsequent re-deploy which normal allows an easy recovery to both, there is an error at step 13 again and still no access to either Adim or Customer areas. The second PHP error log is the same as the first. Same initial failure at the same line number etc

We can easy recover from backups etc and go back to a 5.3.1.6 dev store again no problem, but we are holding off from that, just in case XC can see a very quick fix that can be advised on here instead, having looked at the data above. Line 744! Come in. Your time is up! Thanks! :D/

xim 11-30-2016 08:33 PM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Quote:

Originally Posted by Triple A Racing
This is the first time we've had a problem with an XC 5.3.* upgrade.


Hi, Tony! Thank you for your try. We will review the provided details to fix the issue.

xim 12-01-2016 02:46 AM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Information for developers: http://devs.x-cart.com/en/what_is_new/developer_changes_5_3_2.html

Triple A Racing 12-01-2016 08:13 PM

Re: X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Meanwhile.... We saw that 5.3.2 had been released via the Merchant Wave. We therefore assumed that things had been double checked and/or altered etc so we restored our dev store to 5.3.1.6 again from backups and ran the whole upgrade process again (on tip toes... 8O ) by running the core upgrade first, then Modules, but only three at a time, so there were a few store re-deployments.... It's not a quick process doing it this way but patience etc. Anyway, this time, it's all gone okay and the dev store is now upgraded and fully functional again. We'll explore 5.3.2 and test everything over this weekend


All times are GMT -8. The time now is 07:21 AM.

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