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

X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #21  
Old 04-01-2015, 08:41 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

Quote:
Originally Posted by kevinrm
[02-Apr-2015 12:00:42] Error (code: 0): An exception occurred while executing 'ALTER TABLE xc_order_items ADD CONSTRAINT FK_FC5C8B059A1887DC FOREIGN KEY (subscription_id) REFERENCES xc_subscription (id)':

This seems to be due to a column definition that is incompatible with the new version of Doctrine ORM library: http://kb.x-cart.com/display/XDD/Updating+modules+from+5.1+to+5.2+branch

I don't see the "subscription_id" field among standard X-Cart 5 fields, so I guess this is a custom module added by you.

Please follow the instructions and make sure that you fixed both the points:
- "uinteger" column type is deprecated and should be replaced with the "integer" one having {"unsigned": true} in its options
- if your module adds new integer/string columns to existing database tables, these fields should be declared as "nullable=true"

If you had "uinteger" fields, you should apply the Database/pre-upgrade hook fix too.

-------

UPDATE: I've just realized that this may be a field of the X-Payments Subscriptions module. Do you have the module?

Quote:
Originally Posted by kevinrm
[01-Apr-2015 18:49:55] Error (code: 0): An exception occurred while executing 'ALTER TABLE xc_template_patches ADD version VARCHAR(32) DEFAULT NULL':

SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'version'

I'm not sure about this problem and haven't seen it before. Perhaps it happens because of an incomplete upgrade. You can try the soft reset function and check if this is caused by a custom module, or not.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 04-01-2015 at 09:45 PM.
Reply With Quote
  #22  
Old 04-02-2015, 04:07 PM
 
kevinrm kevinrm is offline
 

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

Default Re: X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

Hello,

I do not have any custom modules, everything is stock and this is a development installation, but I do have X-Payments Subscriptions module installed.

X-Cart team got my system back up through a ticket, fortunately.

The current problem I am having is whenever I upgrade or add a new module, my Safari browser continuously reloads the page over and over rapidly for each step of the upgrade process, even to the point of causing my computer to overheat and kick on the fan. When I manually stop the loading, it then jumps to the next step and does that over again until I get to the very end.
__________________
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
  #23  
Old 04-03-2015, 03:54 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

Hello @kevinrm ,

As I see, our support team has already upgraded the store for you. Happy to know that your store is up again.

As for the problem with failed upgrade, there is indeed a problem that caused by incorrectly updated modules. We sent a newsletter to each X-Cart 5 developer, so they would check their modules and adjust them if needed. Here is an instruction about updating modules in case somebody needs it:
http://kb.x-cart.com/display/XDD/Updating+modules+from+5.1+to+5.2+branch
__________________
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

The following user thanks tony_sologubov for this useful post:
kevinrm (04-09-2015)
  #24  
Old 04-28-2015, 11:04 AM
 
eblieb eblieb is offline
    
Join Date: Apr 2015
Posts: 4
 

Default Re: X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

Quote:
Originally Posted by tony_sologubov
Hello @kevinrm ,

As I see, our support team has already upgraded the store for you. Happy to know that your store is up again.

As for the problem with failed upgrade, there is indeed a problem that caused by incorrectly updated modules. We sent a newsletter to each X-Cart 5 developer, so they would check their modules and adjust them if needed. Here is an instruction about updating modules in case somebody needs it:
http://kb.x-cart.com/display/XDD/Updating+modules+from+5.1+to+5.2+branch
I am having the same failure (step 5 of 12) on a brand new install of XCART
__________________
5.2.3
no modules
Reply With Quote
  #25  
Old 05-04-2015, 04:04 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: X-Cart 5.2.3: upgrade issue fix for the users running MySQL v.5.6

Quote:
Originally Posted by eblieb
I am having the same failure (step 5 of 12) on a brand new install of XCART

Please, find my answer here:
http://forum.x-cart.com/showthread.php?t=71929
__________________
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
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 04:11 PM.

   

 
X-Cart forums © 2001-2020