![]() |
Re-building cache not complete
Hi X-Cart team
error re-build cache stay at step 5 of 9 three day ago. someone please help me. think for reply Quote:
|
Re: Re-building cache not complete
Is it the same problem you had mentioned a few days ago? I thought you have resolved it already.
Anyway, please check the log files in the [XC5]/var/log/ directory and let us know what error messages you see there. Also, you may try to restart the cache re-building process by deleting the var/classes directory plus files like var/.rebuildStarted and going to the store back-end page in your browser. |
Re: Re-building cache not complete
Hi X-Cart tean
I see error code at the log directory but i can't fix this error. Quote:
someone please show step by step about solution? think for reply |
Re: Re-building cache not complete
Is it the full error message? What file does have this message?
|
Re: Re-building cache not complete
This File have message is xlite.log.2014-07-14.php and file error at RSS.php on line 127
|
Re: Re-building cache not complete
This error message does not seem to be related to the failed cache regeneration.
Could you please try the solution described here: http://forum.x-cart.com/showpost.php?p=375185&postcount=7 and let us know if it works out? |
Re: Re-building cache not complete
Hi tony
after I remove directory run and i run admin.php at browser it show message is Quote:
Please help, think for reply |
Re: Re-building cache not complete
Please check if both the var/run directory and the var/.rebuildStarted file had been removed on the server.
If admin.php script finds these files, it decides that you have already started the cache rebuilding process in another browser tab and stops. And this is why you may see the "we are deploying..." message. |
Re: Re-building cache not complete
Hi X-cart team
I try remove run directory and many solution but my site stay at step 5-9 can't update to another steps. someone help me. think for reply, Quote:
|
Re: Re-building cache not complete
Uh. Unfortunately, it's hard to guess.
Are there any error messages in the var/log/decorator.log.[DATE].php file? Or in other log files (except the RSS.php error that seems to be not related to the problem)? |
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:
Quote:
|
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:
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 |
Re: Re-building cache not complete
Hi!
Sent you an email. |
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. |
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. |
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 |
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. |
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. |
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. |
Re: Re-building cache not complete
Hi, tony!
the last version free or not free for fix my site. think tony for help. |
Re: Re-building cache not complete
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 |
Re: Re-building cache not complete
The fix of that problem with cache rebuilding process is totally free for you, because it was caused by the bug.
|
Re: Re-building cache not complete
Yes, you can safely remove log files. They will not affect classes.
Quote:
|
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(108): 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 |
Re: Re-building cache not complete
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? |
Re: Re-building cache not complete
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 |
Re: Re-building cache not complete
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:
SELECT * FROM xc_attribute_option_translations LEFT JOIN xc_attribute_options ON xc_attribute_option_translations.id = xc_attribute_options.id WHERE xc_attribute_options.id IS NULL; Tony. |
Re: Re-building cache not complete
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. |
Re: Re-building cache not complete
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... |
Re: Re-building cache not complete
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. |
Re: Re-building cache not complete
So Cart2Cart have done nothing other than a clean install and overwritten everything (I had backups)..... It now been 7 days since I brought this issue to their attention and feel a bit like I'm being held to ransom...
The site needs to be live in 2 days. Should they fail AGAIN tonight, are there any other companies that offer this service that are able to do the migration from x-cart 4-5 at this 11th hour? If so, please contact me at your earliest convenience. Cheers Shaz |
Re: Re-building cache not complete
You can order a service from us, but I am not sure if we are able to do it within a day. Anyway, please discuss it with our project managers via sales@x-cart.com
|
Re: Re-building cache not complete
Thanks Tony, I will do that next time.
Cart2Cart finally fixed/completed it last night.... what a horrible experience...... I now have 24 hours to let the customer in to preview and go live :/ I cannot get Aust Post shipping to work work.... they did not import variants or weights properly... and set all products to non-shippable :( they also set US as the default country instead of Australia.... I've raised that on another thread http://forum.x-cart.com/showthread.php?t=70687 3rd night in a row I'm going to have to stay up until 1am to get this fixed.... :((( |
Re: Re-building cache not complete
Am having similar issue. I attempted to remove FedEx module and it failed at,
Quote:
I retried several time by removing .rebuildstarted and run but fails at same place. Decorator.log Quote:
php_erros.log Quote:
Any help is appreciated |
Re: Re-building cache not complete
@YakMan, the problem seems to be caused by the incorrect work of cache driver.
Could you please try to have a look at etc/config.php file and try to use another value for type parameter in [cache] section? |
Re: Re-building cache not complete
I tried auto, apc, xcache, and file but each failed.
Quote:
|
Re: Re-building cache not complete
Hi @YakMan!
Thanks for posting this problem to sales@x-cart.com. Our support team will have a look at it. Tony. |
Re: Re-building cache not complete
Turns out there was a simple fix.
Quote:
|
Re: Re-building cache not complete
Quote:
This is a bug and it will be fixed in 5.2. |
All times are GMT -8. The time now is 12:46 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.