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

Creating clone store on local pc help

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-04-2014, 02:53 PM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default 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

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #2  
Old 03-04-2014, 03:16 PM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default 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
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #3  
Old 03-04-2014, 09:03 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #4  
Old 03-05-2014, 12:55 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default 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
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #5  
Old 03-05-2014, 10:22 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #6  
Old 03-06-2014, 01:36 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default 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.
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #7  
Old 03-06-2014, 01:40 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default 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.
Reply With Quote
  #8  
Old 03-06-2014, 01:58 PM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Creating clone store on local pc help

ok will have a play - thanks Tony
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote
  #9  
Old 03-06-2014, 07:08 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Creating clone store on local pc help

You are welcome. Please, keep me posted if there are still problems.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 11:27 PM.

   

 
X-Cart forums © 2001-2020