| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Re-building cache not complete | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
![]() Hi X-cart team
Can I delete file in log directory? If I delete file in log directory it have effects other class? think for reply |
|||||||
#22
|
|||||||||
|
|||||||||
![]() The fix of that problem with cache rebuilding process is totally free for you, because it was caused by the bug.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#23
|
|||||||||
|
|||||||||
![]() Yes, you can safely remove log files. They will not affect classes.
Quote:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#24
|
|||||||
|
|||||||
![]() I'm having the exact same problem on a clean install (only change is products have been migrated in using cart2cart).
Error log shows the below.... sad to find so many issues with x-cart 5 ![]() ----------------- [27-Nov-2014 06:18:36] Error (code: -9999): We are deploying new changes to our store. One minute and they will go live! Server API: cgi-fcgi; Request method: GET; URI: /; Backtrace: #0 /home/storename/public_html/Includes/ErrorHandler.php(352): Includes\ErrorHandler::throwException('We are deployin...', -9999) #1 /home/storename/public_html/Includes/Decorator/Utils/CacheManager.php(484): Includes\ErrorHandler::fireError('We are deployin...', -9999) #2 /home/storename/public_html/Includes/Decorator/Utils/CacheManager.php(624): Includes\Decorator\Utils\CacheManager::checkIfRebu ildStarted() #3 /home/storename/public_html/Includes/Decorator/Utils/CacheManager.php(654): Includes\Decorator\Utils\CacheManager::runStep(5) #4 /home/storename/public_html/Includes/Decorator/Utils/CacheManager.php(946): Includes\Decorator\Utils\CacheManager::runStepCond itionally(5) #5 /home/storename/public_html/top.inc.PHP53.php(10 ![]() #6 /home/storename/public_html/top.inc.php(45): require_once('/home/storename/...') #7 /home/storename/public_html/cart.php(33): require_once('/home/storename/...') #8 /home/storename/public_html/index.php(30): require_once('/home/storename/...') #9 {main} ------------------ REBUILD ERROR Deploying store [step 5 of 11], please wait... Run the "Doctrine_Plugin_UpdateSchema" plugin... Error An error occurred in your store. ERROR: "23000" (code N/A) SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`storename_xstore`.`#sql-675c_6d2f4`, CONSTRAINT `FK_385AA392BF396750` FOREIGN KEY (`id`) REFERENCES `xc_attribute_options` (`id`) ON DELETE CASCADE) SQL query: ALTER TABLE `xc_attribute_option_translations` ADD CONSTRAINT FK_385AA392BF396750 FOREIGN KEY (`id`) REFERENCES `xc_attribute_options` (`id`) ON DELETE CASCADE
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#25
|
|||||||
|
|||||||
![]() Further on to the above, I've disabled all modules and it still occurs.
I only seem to be able to regain access by over writing the /var folder from a working backup. Any ideas?
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#26
|
|||||||
|
|||||||
![]() shaz, the Integrity constraint violation is not an x-cart error it is an error in the database where one row references another row in another table and the row that is being referenced does not exist
in this case there must be an extra or incorrect row in table xc_attribute_option_translations which has an id field value that does not match any existing row with the same id field value in table xc_attribute_options, the only way to fix that error is to correct all mis-matches between all rows in all associated tables, hopefully you don't have too many so that it can be corrected manually without much trouble
__________________
SignTorch Vector Graphics dropping xc4.6.x, tested xc5 (FAIL) |
|||||||
#27
|
|||||||||
|
|||||||||
![]() Hi shaz!
Did you migrate data into X-Cart 5 from other store? If so, who made these changes? SignTorch is right, the problem is that xc_attribute_option_translations contains records that refer to records in the xc_attribute_options table that do not exist. You can find these records if you call the following MySQL query: Code:
Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#28
|
|||||||
|
|||||||
![]() Thanks so much guys, I found/fixed the 5 x instances in that table. It did make a small difference (i.e. when I updated the modules it actually went to the pre-update warnings page, but unfortunately I still get the below error at step 5.
Yes, I used the Cart2Cart service, which failed initally and they mad to manually fix the migration. I have raised a ticket with them, while they claim it couldn't have caused damage they have offered to check so I will sent them a link to this thread. Cheers, Shaz ------------- Deploying store [step 5 of 11], please wait... Run the "Doctrine_Plugin_UpdateSchema" plugin... Error OOPS Sorry, there seems to be a problem with the site. Please, try again later.
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
|
#29
|
|||||||
|
|||||||
![]() I just spent all day trying to get e-goods to work after uploading to host - I didn't unzip the attachment folder
![]() you will probably have to check the error logs to see if there's a reason given or move on to step12.... http://www.signtorch.com/bin/xcart/step12.png warning: may cause fire, bullet holes in the wall, pain, blood loss, worsening depression, etc...
__________________
SignTorch Vector Graphics dropping xc4.6.x, tested xc5 (FAIL) |
|||||||
|
#30
|
|||||||
|
|||||||
![]() Cart2Cart said last night they would look at it but sadly nothing has been done.....
so yep, starting from scratch so I can atleast keep working and try and meet my Friday deadline :/ atleast I can move forward... will get them to retry the migration again tonight. and yes, can confirm cache rebuild completes perfectly with a clean DB. It was definitely something to do with the product migration.
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
|
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|