X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Creating clone store on local pc help (https://forum.x-cart.com/showthread.php?t=68772)

xanadude 03-04-2014 02:53 PM

Creating clone store on local pc help
 
Hi All

I am still building the x5 store but wish to be able to create a clone site on my local pc xampp server

before i could backup all files and SQL
Restore locally and change the config to reflect the local server but this wont seem to work with x5

Is there something specific I need to do
thanks

xanadude 03-04-2014 03:16 PM

Re: Creating clone store on local pc help
 
ignore me got it working sorry to pester - typical when ask after multiple attempts it all works...
delete this post please

qualiteam 03-04-2014 09:03 PM

Re: Creating clone store on local pc help
 
Basically, what you need to do is: a) dump the MySQL database and files to your local computer b) run the Rebuild Cache function to get all cached data and files recreated for the new environment.

xanadude 03-05-2014 12:55 AM

Re: Creating clone store on local pc help
 
OK Thanks I have just done that and get the home page up but just errors when trying to view any of the store content.... this is the error

Re-building cache [step 5 of 5], please wait...

Run the "Templates_Plugin_ViewLists" plugin...
Error
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

Call to a member function walkThrough() on a non-object

I have done rebuild cache ad no change..... any ideas welcome

thank you

qualiteam 03-05-2014 10:22 PM

Re: Creating clone store on local pc help
 
Try to remove the [xc5]/var directory on the local server (this should clear all cached data) and open the admin.php script to start the Cache Rebuilding process.

xanadude 03-06-2014 01:36 AM

Re: Creating clone store on local pc help
 
tried that - not worked I am afraid :)
dartshirt.is-gone.com/shop2014 is the local pc so it you want to see whats happening.

tony_sologubov 03-06-2014 01:40 PM

Re: Creating clone store on local pc help
 
Hi!

Method walkThrough() usually called like
Code:

static::getClassesTree()->walkThrough()
, so it takes all files from the <X-Cart 5>/var/run/classes/ folder and walk through them doing something - usually reading some META info.

In your case, walkThrough() method is called on non-object, which likely means that X-Cart 5 could not find files in the var/run/classes/ directory.

Could you check whether there are any files and whether they are readable by PHP user?

Tony.

xanadude 03-06-2014 01:58 PM

Re: Creating clone store on local pc help
 
ok will have a play - thanks Tony

tony_sologubov 03-06-2014 07:08 PM

Re: Creating clone store on local pc help
 
You are welcome. Please, keep me posted if there are still problems.


All times are GMT -8. The time now is 10:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.