Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

X-Cart 5.3.2: Increase Conversions, Design Easier, Enjoy Many Other New Cool Tools
 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #1  
Old 11-30-2016, 09:37 AM
  Anna_Shvetsova's Avatar 
Anna_Shvetsova Anna_Shvetsova is offline
 

X-Cart team
  
Join Date: Oct 2013
Posts: 57
 

Default 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
__________________
X-Cart team
Reply With Quote
  #2  
Old 11-30-2016, 10:02 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,481
 

Default 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.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-30-2016, 11:25 AM
 
lseals lseals is offline
 

Advanced Member
  
Join Date: Aug 2016
Posts: 63
 

Default 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!
__________________
On The Cheap - We Believe God!
http://www.onthecheap.store (In Development)
X-Cart 5.3.2.2
PHP 7.0.14
nginx/1.11.8
Reply With Quote
  #4  
Old 11-30-2016, 11:28 AM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 669
 

Default 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.
__________________
Sincerely yours, Max Vydrin
Reply With Quote
  #5  
Old 11-30-2016, 11:34 AM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 669
 

Default 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
__________________
Sincerely yours, Max Vydrin
Reply With Quote
  #6  
Old 11-30-2016, 11:41 AM
 
lseals lseals is offline
 

Advanced Member
  
Join Date: Aug 2016
Posts: 63
 

Default 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!
__________________
On The Cheap - We Believe God!
http://www.onthecheap.store (In Development)
X-Cart 5.3.2.2
PHP 7.0.14
nginx/1.11.8
Reply With Quote
  #7  
Old 11-30-2016, 07:57 PM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 716
 

Default 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 "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 ) 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
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!
__________________
Business XC 5.3.6.3 Dev Store & Live Store
Ubuntu 18.04.3 (HWE 5 Series Kernel) / Plesk 17.8.11
Nginx 1.16.1 / Apache 2.4.29 (Backported)
MariaDB 10.3.18 / PHP 7.2.22
Reply With Quote
  #8  
Old 11-30-2016, 08:33 PM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 669
 

Default 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.
__________________
Sincerely yours, Max Vydrin
Reply With Quote
  #9  
Old 12-01-2016, 02:46 AM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 669
 

Default 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
__________________
Sincerely yours, Max Vydrin
Reply With Quote

The following user thanks xim for this useful post:
cflsystems (12-01-2016)
  #10  
Old 12-01-2016, 08:13 PM
 
Triple A Racing Triple A Racing is offline
 

X-Adept
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 716
 

Default 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... ) 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
__________________
Business XC 5.3.6.3 Dev Store & Live Store
Ubuntu 18.04.3 (HWE 5 Series Kernel) / Plesk 17.8.11
Nginx 1.16.1 / Apache 2.4.29 (Backported)
MariaDB 10.3.18 / PHP 7.2.22
Reply With Quote
Reply
   X-Cart forums > News and Announcements


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:06 AM.

   

 
X-Cart forums © 2001-2018