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

Have you noticed that upgrade to X-Cart 5.1.7 is available?

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #1  
Old 10-21-2014, 01:44 AM
  Ksenia's Avatar 
Ksenia Ksenia is offline
 

X-Cart team
  
Join Date: Apr 2013
Posts: 735
 

Default Have you noticed that upgrade to X-Cart 5.1.7 is available?

Hi X-Carters.

Have you noticed that upgrade to X-Cart 5.1.7 is available? The new version contains Free Shipping, News, Two-Factor auth; beautiful Contact Us and Akismet-the spam filter; Ogone, eSelect, PayU India, Yandex.Money and other changes.

Most of the improvements are described in this article:
http://blog.x-cart.com/5-1-7-released.html

What it doesn't cover is the changes in REST API. Different security keys for reading and writing for the sake of better security and other improvements. If you're interested, let's ask Tony to shed more light on it=)

Also, please pay attention to the Free Shipping module. We need a better understanding of how it should work from your point of view. That's why instead of "marketing text" on the module page I shifted the accent to the logic of the module. Please read, install, try and comment:
http://www.x-cart.com/extensions/addons/free-shipping.html
__________________
X-Cart team
Reply With Quote

The following 4 users thank Ksenia for this useful post:
ADDISON (10-21-2014), RichieRich (10-21-2014), tony_sologubov (10-21-2014), totaltec (10-21-2014)
  #2  
Old 10-21-2014, 06:58 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Never experienced an error with upgrade before on 5.x until this one.

the upgrade went through, but then opened the storefront to get error message.

Code:
ERROR: "42" (code N/A) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'x5_x5_orders' doesn't exist SQL query: SELECT t0.order_id AS order_id1, t0.shipping_id AS shipping_id2, t0.shipping_method_name AS shipping_method_name3, t0.payment_method_name AS payment_method_name4, t0.tracking AS tracking5, t0.date AS date6, t0.lastRenewDate AS lastRenewDate7, t0.notes AS notes8, t0.adminNotes AS adminNotes9, t0.orderNumber AS orderNumber10, t0.total AS total11, t0.subtotal AS subtotal12, t0.profile_id AS profile_id13, t0.orig_profile_id AS orig_profile_id14, t0.payment_status_id AS payment_status_id15, t0.shipping_status_id AS shipping_status_id16, t0.currency_id AS currency_id17, t0.is_order FROM x5_x5_orders t0 WHERE t0.profile_id = ? AND t0.is_order IN ('0') LIMIT 1 SQL query parameters: array ( 0 => 4, )

Soft reset has made it work again.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote
  #3  
Old 10-21-2014, 09:36 AM
 
Brian Watts Brian Watts is offline
 

Advanced Member
  
Join Date: Jul 2014
Posts: 38
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Tried to install 5.1.7 on development site. error in cache #8
Soft reset did not work

The site is temporarily closed for maintenance
We are deploying new changes to our store. One minute and they will go live!
__________________
XCART 5.1.10
Banner System
Customer Rewards by BCSE
Pay with Amazon
Quickbooks by Webgility
Shop by Brand
Template #33 AutoParts
X-Payments
xCDN
Reply With Quote

The following user thanks Brian Watts for this useful post:
totaltec (10-21-2014)
  #4  
Old 10-21-2014, 11:32 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

RichieRich did you have any 3rd party modules installed? If so, which ones?

[bBrian][/b] could you please check php_errors log in the <X-Cart>/var/log folder? There should be an exact error message that explains what happened.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #5  
Old 10-21-2014, 11:57 AM
 
Brian Watts Brian Watts is offline
 

Advanced Member
  
Join Date: Jul 2014
Posts: 38
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

<?php die(1); ?>
[21-Oct-2014 13:27:30] Error (code: 0): Binding entities to query parameters only allowed for entities that have an identifier.
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?target=upgrade&1413912448.86&cpid=4e2fb0 5c05552f9400df56a91b5b85aa;
Backtrace:
#0 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(245): Doctrine\ORM\AbstractQuery->convertObjectParameterToScalarValue(Object(XLite\ Model\Cart))
#1 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(216): Doctrine\ORM\AbstractQuery->processParameterValue(Object(XLite\Model\Cart))
#2 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(284): Doctrine\ORM\AbstractQuery->setParameter('order', Object(XLite\Model\Cart), 2)
#3 /home/devrocket/public_html/lib/Doctrine/ORM/QueryBuilder.php(217): Doctrine\ORM\AbstractQuery->setParameters(Array, Array)
#4 /home/devrocket/public_html/var/run/classes/XLite/Model/QueryBuilder/AQueryBuilder.php(83): Doctrine\ORM\QueryBuilder->getQuery()
#5 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(215): XLite\Model\QueryBuilder\AQueryBuilder->getResult()
#6 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(51): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->searchResult(Object(XLite\Model\QueryBuilder\Base \Common))
#7 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(156): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->search(Object(XLite\Core\CommonCell))
#8 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Logic/Order/Modifier/PointsDiscount.php(37): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->findPaymentByOrder(Object(XLite\Model\Cart))
#9 [internal function]: XLite\Module\BCSE\CustomerRewards\Logic\Order\Modi fier\PointsDiscount->calculate()
#10 /home/devrocket/public_html/var/run/classes/XLite/Model/Order/Modifier.php(89): call_user_func_array(Array, Array)
#11 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(1967): XLite\Model\Order\Modifier->__call('calculate', Array)
#12 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(1967): XLite\Model\Order\Modifier->calculate()
#13 /home/devrocket/public_html/var/run/classes/XLite/Model/CartAbstract.php(193): XLite\Model\OrderAbstract->calculate()
#14 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(2006): XLite\Model\CartAbstract->calculate()
#15 /home/devrocket/public_html/var/run/classes/XLite/Model/CartAbstract.php(13: XLite\Model\OrderAbstract->renew()
#16 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(349): XLite\Model\CartAbstract::getInstance()
#17 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(360): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getLockedItems()
#18 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(310): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getLockedAmount()
#19 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(29: XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getAvailableAmount()
#20 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(170): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->isOutOfStock()
#21 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(151): XLite\Module\XC\ProductVariants\Model\Product->defineDefaultVariant()
#22 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(195): XLite\Module\XC\ProductVariants\Model\Product->getDefaultVariant()
#23 /home/devrocket/public_html/var/run/classes/XLite/Model/ProductAbstract.php(545): XLite\Module\XC\ProductVariants\Model\Product->getClearPrice()
#24 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(15: XLite\Model\ProductAbstract->getQuickDataPrice()
#25 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(123): XLite\Core\QuickData->updateData(Object(XLite\Model\Product), Object(XLite\Model\Membership))
#26 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(60): XLite\Core\QuickData->updateProductDataInternal(Object(XLite\Model\Prod uct))
#27 /home/devrocket/public_html/Includes/Decorator/Plugin/Doctrine/Plugin/QuickData/Main.php(45): XLite\Core\QuickData->update()
#28 /home/devrocket/public_html/Includes/Decorator/Utils/PluginManager.php(71): Includes\Decorator\Plugin\Doctrine\Plugin\QuickDat a\Main->executeHookHandler()
#29 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(823): Includes\Decorator\Utils\PluginManager::invokeHook ('step_eight')
#30 [internal function]: Includes\Decorator\Utils\CacheManager::executeStep Handler8()
#31 /home/devrocket/public_html/Includes/Utils/Operator.php(21: call_user_func_array(Array, Array)
#32 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(636): Includes\Utils\Operator::executeWithCustomMaxExecT ime('600', Array)
#33 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(654): Includes\Decorator\Utils\CacheManager::runStep(
#34 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(946): Includes\Decorator\Utils\CacheManager::runStepCond itionally(
#35 /home/devrocket/public_html/top.inc.PHP53.php(10: Includes\Decorator\Utils\CacheManager::rebuildCach e()
#36 /home/devrocket/public_html/top.inc.php(45): require_once('/home/devrocket...')
#37 /home/devrocket/public_html/admin.php(35): require_once('/home/devrocket...')
#38 {main}

[21-Oct-2014 13:31:41] Error (code: 0): Binding entities to query parameters only allowed for entities that have an identifier.
Server API: cgi-fcgi;
Request method: GET;
URI: /admin.php?target=main&1413912700.12&cpid=c73290c38 c0bff28b08c8e9e5054a927;
Backtrace:
#0 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(245): Doctrine\ORM\AbstractQuery->convertObjectParameterToScalarValue(Object(XLite\ Model\Cart))
#1 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(216): Doctrine\ORM\AbstractQuery->processParameterValue(Object(XLite\Model\Cart))
#2 /home/devrocket/public_html/lib/Doctrine/ORM/AbstractQuery.php(284): Doctrine\ORM\AbstractQuery->setParameter('order', Object(XLite\Model\Cart), 2)
#3 /home/devrocket/public_html/lib/Doctrine/ORM/QueryBuilder.php(217): Doctrine\ORM\AbstractQuery->setParameters(Array, Array)
#4 /home/devrocket/public_html/var/run/classes/XLite/Model/QueryBuilder/AQueryBuilder.php(83): Doctrine\ORM\QueryBuilder->getQuery()
#5 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(215): XLite\Model\QueryBuilder\AQueryBuilder->getResult()
#6 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(51): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->searchResult(Object(XLite\Model\QueryBuilder\Base \Common))
#7 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Model/Repo/Points.php(156): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->search(Object(XLite\Core\CommonCell))
#8 /home/devrocket/public_html/var/run/classes/XLite/Module/BCSE/CustomerRewards/Logic/Order/Modifier/PointsDiscount.php(37): XLite\Module\BCSE\CustomerRewards\Model\Repo\Point s->findPaymentByOrder(Object(XLite\Model\Cart))
#9 [internal function]: XLite\Module\BCSE\CustomerRewards\Logic\Order\Modi fier\PointsDiscount->calculate()
#10 /home/devrocket/public_html/var/run/classes/XLite/Model/Order/Modifier.php(89): call_user_func_array(Array, Array)
#11 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(1967): XLite\Model\Order\Modifier->__call('calculate', Array)
#12 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(1967): XLite\Model\Order\Modifier->calculate()
#13 /home/devrocket/public_html/var/run/classes/XLite/Model/CartAbstract.php(193): XLite\Model\OrderAbstract->calculate()
#14 /home/devrocket/public_html/var/run/classes/XLite/Model/OrderAbstract.php(2006): XLite\Model\CartAbstract->calculate()
#15 /home/devrocket/public_html/var/run/classes/XLite/Model/CartAbstract.php(13: XLite\Model\OrderAbstract->renew()
#16 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(349): XLite\Model\CartAbstract::getInstance()
#17 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(360): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getLockedItems()
#18 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(310): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getLockedAmount()
#19 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/ProductVariantAbstract.php(29: XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->getAvailableAmount()
__________________
XCART 5.1.10
Banner System
Customer Rewards by BCSE
Pay with Amazon
Quickbooks by Webgility
Shop by Brand
Template #33 AutoParts
X-Payments
xCDN
Reply With Quote
  #6  
Old 10-21-2014, 11:59 AM
 
Brian Watts Brian Watts is offline
 

Advanced Member
  
Join Date: Jul 2014
Posts: 38
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Continued::
#20 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(170): XLite\Module\XC\ProductVariants\Model\ProductVaria ntAbstract->isOutOfStock()
#21 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(151): XLite\Module\XC\ProductVariants\Model\Product->defineDefaultVariant()
#22 /home/devrocket/public_html/var/run/classes/XLite/Module/XC/ProductVariants/Model/Product.php(195): XLite\Module\XC\ProductVariants\Model\Product->getDefaultVariant()
#23 /home/devrocket/public_html/var/run/classes/XLite/Model/ProductAbstract.php(545): XLite\Module\XC\ProductVariants\Model\Product->getClearPrice()
#24 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(15: XLite\Model\ProductAbstract->getQuickDataPrice()
#25 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(123): XLite\Core\QuickData->updateData(Object(XLite\Model\Product), Object(XLite\Model\Membership))
#26 /home/devrocket/public_html/var/run/classes/XLite/Core/QuickData.php(60): XLite\Core\QuickData->updateProductDataInternal(Object(XLite\Model\Prod uct))
#27 /home/devrocket/public_html/Includes/Decorator/Plugin/Doctrine/Plugin/QuickData/Main.php(45): XLite\Core\QuickData->update()
#28 /home/devrocket/public_html/Includes/Decorator/Utils/PluginManager.php(71): Includes\Decorator\Plugin\Doctrine\Plugin\QuickDat a\Main->executeHookHandler()
#29 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(823): Includes\Decorator\Utils\PluginManager::invokeHook ('step_eight')
#30 [internal function]: Includes\Decorator\Utils\CacheManager::executeStep Handler8()
#31 /home/devrocket/public_html/Includes/Utils/Operator.php(21: call_user_func_array(Array, Array)
#32 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(636): Includes\Utils\Operator::executeWithCustomMaxExecT ime('600', Array)
#33 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(654): Includes\Decorator\Utils\CacheManager::runStep(
#34 /home/devrocket/public_html/Includes/Decorator/Utils/CacheManager.php(946): Includes\Decorator\Utils\CacheManager::runStepCond itionally(
#35 /home/devrocket/public_html/top.inc.PHP53.php(10: Includes\Decorator\Utils\CacheManager::rebuildCach e()
#36 /home/devrocket/public_html/top.inc.php(45): require_once('/home/devrocket...')
#37 /home/devrocket/public_html/admin.php(35): require_once('/home/devrocket...')
#38 {main}
__________________
XCART 5.1.10
Banner System
Customer Rewards by BCSE
Pay with Amazon
Quickbooks by Webgility
Shop by Brand
Template #33 AutoParts
X-Payments
xCDN
Reply With Quote
  #7  
Old 10-21-2014, 02:33 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

@Tony

I just ran the upgrade to 5.1.7 from 5.1.6. And again I get the message I mentioned before after the upgrade
Quote:
Notice: Undefined index: name in /var/www/xcart-devs/xc5/var/run/classes/XLite/Core/Translation.php on line 474
Notice: Undefined index: name in /var/www/xcart-devs/xc5/var/run/classes/XLite/Core/Translation.php on line 474

Other than that everything else seems to be working fine.

I did not have time to go through all the improvements or new features but one thing caught my eye - now I can delete modules directly without the need to disable them first - this cuts off cache generation time in half on some situations when module is no longer needed - I like this improvement (I was just about to ask for it and why it is not implemented)
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
Ksenia (10-23-2014), tony_sologubov (10-23-2014)
  #8  
Old 10-21-2014, 08:23 PM
 
kevinrm kevinrm is offline
 

X-Wizard
  
Join Date: Aug 2003
Posts: 1,003
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Same exact situation as Richie Rich (ERROR: "42" (code N/A)), and no 3rd party mods. Soft reset seemed to work.
__________________
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
Reply With Quote
  #9  
Old 10-22-2014, 04:33 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Mine upgraded fine even with a 3rd party module installed.
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote

The following user thanks GreatLakesVacuum for this useful post:
Ksenia (10-23-2014)
  #10  
Old 10-22-2014, 10:28 PM
  kevfromwiganinlancashire's Avatar 
kevfromwiganinlancashire kevfromwiganinlancashire is offline
 

X-Adept
  
Join Date: Nov 2004
Location: Appley Bridge
Posts: 563
 

Default Re: Have you noticed that upgrade to X-Cart 5.1.7 is available?

Mine upgraded with no problem but a few minutes after I left for work I got alerts about one of my sites down. When I tried others all were unavailable. I had to restart the server but the only we space I couldn't access was 5.1.7. I restored server from the mornings backup but still the same so restored from previous night and got into webspace but no store 503 error.

Will come back tonight
__________________
Php 5.4.16-36.el7_1
MySQL 5.5.41-2.el7_0
Apache
2.4.6-31.el7.centos



4.6.x stalled for now

5.2.6 developing
Reply With Quote
Reply
   X-Cart forums > News and Announcements



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:40 AM.

   

 
X-Cart forums © 2001-2020