View Single Post
  #24  
Old 11-26-2014, 09:24 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Re: Re-building cache not complete

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: Includes\Decorator\Utils\CacheManager::rebuildCach e()
#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
Reply With Quote