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

Re-building cache not complete

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 07-17-2014, 05:19 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: Re-building cache not complete

Hi X-cart team

Are you have any solution for check code error or file problem? who can fix error? I hope x-cart team have solution and can fix this error. thank for reply
this url error https://secure.cdworlds.com/admin.php?target=main&1405589788.6134&cpid=6c6f912 8906712e49a728ac31ccc70aa

Quote:
path:var/log/
file decorator.log.2014-07-18.php
<?php die(); ?>
Re-building cache [step 5 of 9], please wait...
Run the "Doctrine_Plugin_UpdateSchema" plugin...

Quote:
ERROR: "23000" (code N/A)

SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constraint fails SQL query: DROP TABLE IF EXISTS `xc_product_attachments`

__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #12  
Old 07-17-2014, 06:02 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: Re-building cache not complete

Hi X-cart team


this some code at directory var/log php_errors.log.2014-07-18.php

Quote:
[18-Jul-2014 01:17:46] 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: /khmer_movie;
Backtrace:
#0 /home/www/cdworlds.com/Includes/ErrorHandler.php(334): Includes\ErrorHandler::throwException('We are deployin...', -9999)
#1 /home/www/cdworlds.com/Includes/Decorator/Utils/CacheManager.php(480): Includes\ErrorHandler::fireError('We are deployin...', -9999)
#2 /home/www/cdworlds.com/Includes/Decorator/Utils/CacheManager.php(620): Includes\Decorator\Utils\CacheManager::checkIfRebu ildStarted()
#3 /home/www/cdworlds.com/Includes/Decorator/Utils/CacheManager.php(650): Includes\Decorator\Utils\CacheManager::runStep(5)
#4 /home/www/cdworlds.com/Includes/Decorator/Utils/CacheManager.php(913): Includes\Decorator\Utils\CacheManager::runStepCond itionally(5)
#5 /home/www/cdworlds.com/top.inc.PHP53.php(111): Includes\Decorator\Utils\CacheManager::rebuildCach e()
#6 /home/www/cdworlds.com/top.inc.php(45): require_once('/home/www/cdwor...')
#7 /home/www/cdworlds.com/cart.php(33): require_once('/home/www/cdwor...')
#8 {main}


Backtrace:

ErrorHandler.php
static::throwException($message, $code);

CacheManager.php
* @param string $step Current step name
static::checkIfRebuildStarted();
static::runStep($step);
$stepStatus = static::runStepConditionally($step);

top.inc.PHP53.php
if (!defined('LC_DO_NOT_REBUILD_CACHE'))

top.inc.php
require_once (dirname(__FILE__) . LC_DS . 'top.inc.PHP53.php');

cart.php
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'top.inc.php');

think for reply
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #13  
Old 07-18-2014, 02:02 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Re-building cache not complete

Hi!

Sent you an email.
__________________
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
  #14  
Old 07-18-2014, 08:05 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: Re-building cache not complete

Hi tony sologubov and X-cart tean

I was sent FTP Account at Post access info. If someone in x-cart team get FTP account don't forget reply.
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #15  
Old 07-21-2014, 04:40 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Re-building cache not complete

Hi Chheang!

We are checking the problem and I will report you once we find any meaningful results.

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
  #16  
Old 07-21-2014, 07:20 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Re-building cache not complete

Hi Tony

There are so many reports here of store upgrade or cache rebuilt just falling apart and making stores unusable. I see you are getting on each and every one and trying to help.
Can you share details of what is causing all this - XC upgrade procedure, bugs, user error...?
Thanks
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #17  
Old 07-23-2014, 06:30 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Re-building cache not complete

Most of the time, the problem is caused by low time limits on the server.

Also, there is a problem that migration does not take into account some data and the incorrect data starts the problem.

Anyway, I am trying to post reasons publicly once I figure out why the problem happened.
__________________
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 2 users thank tony_sologubov for this useful post:
cflsystems (07-23-2014), qualiteam (07-23-2014)
  #18  
Old 07-29-2014, 06:38 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Re-building cache not complete

Hi Chheang!

I am sorry, I could not investigate the problem with cache rebuilding process during last couple of days. I am working on it right now and will report about results today.

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

The following user thanks tony_sologubov for this useful post:
Andrew_J (07-29-2014)
  #19  
Old 07-30-2014, 02:31 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Re-building cache not complete

So, I checked this problem and it was caused by the bug that X-Cart could not delete related tables correctly if some part of them was previously deleted.

To be more clear: imaginе the situation that you have table (A) and three others (B, C, D) have a foreign key in this table. For some reason, B and C tables were removed, but the last one remained. Bug was that X-Cart tried to remove the A table disregarding table D.

This bug is fixed in 5.1.4.
__________________
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:
totaltec (07-31-2014)
  #20  
Old 07-30-2014, 11:17 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: Re-building cache not complete

Hi, tony!

the last version free or not free for fix my site. think tony for help.
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:35 PM.

   

 
X-Cart forums © 2001-2020