| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Upgrade to 5.2 fails | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
ERROR: "0" (code N/A)
I upgraded to 5.2.2. After install the cart errors out and I have to do a soft reset. Here is the error that I receive:
ERROR: "0" (code N/A) An exception occurred while executing 'ALTER TABLE `xc_form_ids` ADD CONSTRAINT `xc_formid_to_session` FOREIGN KEY `session_id` (`session_id`) REFERENCES `xc_sessions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE': SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`db570631593`., CONSTRAINT `xc_formid_to_session` FOREIGN KEY (`session_id`) REFERENCES `xc_sessions` (`id`) ON DELETE CASCADE ON UPDATE CA) This cart has been nothing else but frustration for me. Can someone let me know how I can get the cart past this error?
__________________
X-Cart 5.1.9 Business Sale Sales Tax Simple CMS Theme Tweaker Tiny MCE User Permissions X-Payments Connector X-Payments Subscriptions XML Sitemao Free Shipping Coupons |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Meet X-Cart 5.2.2 STABLE
Hello Richard,
Please could you send us your log files (the [xc5]/var/log/ directory)?
__________________
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 |
|||||||||
#13
|
|||||||
|
|||||||
Re: Meet X-Cart 5.2.2 STABLE
I am also having a problem upgrading with this error coming from 5.1.11
ERROR: "0" (code N/A) An exception occurred while executing 'ALTER TABLE xc_profile_addresses CHANGE country_code country_code CHAR(2) DEFAULT NULL, CHANGE is_billing is_billing TINYINT(1) NOT NULL, CHANGE is_shipping is_shipping TINYINT(1) NOT NULL, CHANGE isWork isWork TINYINT(1) NOT NULL': SQLSTATE[HY000]: General error: 1832 Cannot change column 'country_code': used in a foreign key constraint 'FK_EDFDEF52F026BB7C' php 5.6.5, mysql v 5.6.22
__________________
5.1.11 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: Upgrade to 5.2 fails
Hello!
It looks like all your messages are about the same 5.2 upgrade problem, so I've moved them into a single forum thread. In case you face the same issue, please sign into your account at https://secure.x-cart.com/, create a ticket there, attach your log files (that you can find in the [xc5]/var/log/ directory) and let us have the access to your server (if possible). Also, if you created a backup, please let us have it so that we could try upgrading your site on our computers locally.
__________________
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 |
|||||||||
#15
|
|||||||
|
|||||||
Re: Upgrade to 5.2 fails
Hello,
We found the issue with updating foreign key in upgrade process on some versions on MySQL. Our team is working on the fix and we will release the patch to recover stores. Also to fix the upgrade process we will have to release 5.2.3 version. There will be no any changes in the software, only the fixes in upgrade procedure. To prevent such situation in the future we will implement waves for upgrades. It is impossible to emulate all the cases on QA-phase, what’s why we want to double check the upgrade procedure on private test group until make it public. The first wave will be available only for certain stores. After checking and corrections (if necessary) we will make upgrade available for all the other stores.
__________________
Sincerely yours, Max Vydrin |
|||||||
#16
|
|||||||||
|
|||||||||
Re: Upgrade to 5.2 fails
Please find the solution here:
http://blog.x-cart.com/5-2-3-upgrade-issue-fix-for-the-users-running-MySQL-5-6.html
__________________
X-Cart team Last edited by Ksenia : 03-27-2015 at 07:38 AM. |
|||||||||
#17
|
|||||||
|
|||||||
Re: Upgrade to 5.2 fails
Quote:
Plz, check the "How to fix the store if you already faced the problem" chapter.
__________________
Sincerely yours, Max Vydrin |
|||||||
#18
|
|||||||
|
|||||||
Re: Upgrade to 5.2 fails
Please find the solution here:
https://blog.x-cart.com/5-2-3-upgrade-issue-fix-for-the-users-running-MySQL-5-6.html Link does not work.
__________________
Michael |
|||||||
#19
|
|||||||||
|
|||||||||
Re: Upgrade to 5.2 fails
Quote:
Please try once again. I have just opened it an the incognito mode of the browser and it works for me. Did it work?
__________________
X-Cart team Last edited by Ksenia : 03-27-2015 at 07:20 AM. |
|||||||||
#20
|
|||||||
|
|||||||
Re: Upgrade to 5.2 fails
No link fails. This happens on many links on your website as well.
Safari can’t open the page “https://blog.x-cart.com/5-2-3-upgrade-issue-fix-for-the-users-running-MySQL-5-6.html” because Safari can’t establish a secure connection to the server “blog.x-cart.com”.
__________________
Michael |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|