Jump to content

Copying store and database to localhost for testing


rp01

Recommended Posts

I am trying to copy my existing site to a local server so I can test how upgrading to the latest vesion will affect the store. BTW using XAMPP

 

I have done the following steps

 

1. copy all the files by ftp to XAMPP htdocs folder

2. download MYSQL database and create new local database

3. update the settings.inc file in the config folder with

     _DB_NAME_
_DB_SERVER_', 'localhost');
_DB_USER_
_DB_PASSWD_

 

When I tried to load the local site I was just getting a blank page.  So I updated the config,inc file with the following

('display_errors', 'on');
('_PS_DEBUG_SQL_', true);

 

no I am getting the following error message when I try to load the local site

Fatal error: Class 'Memcache' not found in C:\xampp\htdocs\southernairbrush\classes\MCached.php on line 41

 

In trying to figure this out I found some information on the ps_configuration table in the database needing to be updated with the URL but I couldn't find shop_url or shop_domain in this table at all.

 

You can probably tell I am trying to figure this out as I go.  I can't find any specific instructions on how to copy the site to a local host.  I have managed quite succesfully to install and create a new shop on the local host but this doesn't help me get my existing shop on there.

 

Any help would be appreciated

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...