Jump to content

[solved] Local Copy PrestaShop v1.5.4.0


Recommended Posts

Here a short description which works… v1.5.4.0

 

Create a backup for your SQL database, go to phpmyadmin in wamp and import your database.

Copy your shop from server to your local folder which was created from wamp www, then Delete .htaccess and robots.txt afterwards go to the folder config in your shop open settings.inc.php with a text editor or what works for you.

 

define('__PS_BASE_URI__', '/your local folder name/');

define('_DB_NAME_', 'your db name');

define('_DB_SERVER_', 'localhost');

define('_DB_USER_', 'root');

define('_DB_PASSWD_', '');

 

Remember your Sql database is not password protected anymore.

Then in Phpmyadmin search for the table ps_shop_url and change it to localhost

and now go to ps_configuration table in sql database and use the search to find these tables PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL and change it to localhost....

 

Afterwards log in to your admin panel on localhost of course same password as your server version.

and add URL home location /your local folder name / (/shop/ :exsample) and make sure above is set to localhost….

 

Then be a little patient it will take a few before your shop is working correctly, I geuss the smarty templates need to refreshed first before all works again.

 

I still have a couple of display issues but other then that the shop is working nothing to seriose.

With some help i should be able to solve them.

 

Cheers Robert

 

PS: please feel free to correct me if i forgot soemthing !!

Edited by vekia (see edit history)
  • Like 1
Link to comment
Share on other sites

Hi,

 

Well i did miss something I had to change the ps_shop_url to localhost..... then i got access....

 

I also made the following changes... in the settings.inc.php

 

 

define('__PS_BASE_URI__', '/your local folder name/');

define('_DB_NAME_', 'your db name');

define('_DB_SERVER_', 'localhost');

define('_DB_USER_', 'root');

define('_DB_PASSWD_', '');

 

and PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL and change it to localhost....

 

Now it works...

 

Thx, maybe it will also help someone..

Link to comment
Share on other sites

Ok, take it back, I don't have everything working seems like tons of dead links no home no catagories etc..

 

I just got the menus but all links arn't working...

 

The requested URL /shop/4-textildruck-t-shirts was not found on this server. exsample error..

 

I also remove SSL and your banner works now..

 

Robert

Edited by Robert Schmitt (see edit history)
Link to comment
Share on other sites

  • 3 years later...

Here a short description which works… v1.5.4.0

 

Create a backup for your SQL database, go to phpmyadmin in wamp and import your database.

Copy your shop from server to your local folder which was created from wamp www, then Delete .htaccess and robots.txt afterwards go to the folder config in your shop open settings.inc.php with a text editor or what works for you.

 

define('__PS_BASE_URI__', '/your local folder name/');

define('_DB_NAME_', 'your db name');

define('_DB_SERVER_', 'localhost');

define('_DB_USER_', 'root');

define('_DB_PASSWD_', '');

 

Remember your Sql database is not password protected anymore.

Then in Phpmyadmin search for the table ps_shop_url and change it to localhost

and now go to ps_configuration table in sql database and use the search to find these tables PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL and change it to localhost....

 

Afterwards log in to your admin panel on localhost of course same password as your server version.

and add URL home location /your local folder name / (/shop/ :exsample) and make sure above is set to localhost….

 

Then be a little patient it will take a few before your shop is working correctly, I geuss the smarty templates need to refreshed first before all works again.

 

I still have a couple of display issues but other then that the shop is working nothing to seriose.

With some help i should be able to solve them.

 

Cheers Robert

 

PS: please feel free to correct me if i forgot something !!

 

Edited by vekia, 28 July 2013 - 02:31 AM.

Vekia, does this mean the above quoted steps are all I need to create a local copy of my website on my hard drive?

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...