Robert Schmitt Posted July 27, 2013 Share Posted July 27, 2013 (edited) 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 July 28, 2013 by vekia (see edit history) 1 Link to comment Share on other sites More sharing options...
Piotr Kaczor Posted July 27, 2013 Share Posted July 27, 2013 Hello Your BackOffice should work fine, so log in as an administrator go to Preferences -> SEO and URLs and change shop domain. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2013 Share Posted July 27, 2013 what kind of problems you've got? you have to edit also configuration file located in the /config/ directory Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 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 More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 (edited) Vekia, I noticed the modules aren't working anymore do i have to reinstall them or just make some changes on the configuration to link it to localhost? Your banner etc.... Cheers Robert Edited July 27, 2013 by Robert Schmitt (see edit history) Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 (edited) 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 July 27, 2013 by Robert Schmitt (see edit history) Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 (edited) Hmm, back office works fine as it looks ... But the front office it can't find the pages (links) keep getting The requested URL /shop/4-textildruck-t-shirts was not found on this server. Edited July 27, 2013 by Robert Schmitt (see edit history) Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 OK, got the shop running almost correctly.. Backend works, links works, just some small display issue and scripts not working.. Please see attachments... any tips would be greatly appreciated.. Robert Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2013 Share Posted July 27, 2013 hmm i don't know where to look, coz pictures you attached looks well Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 27, 2013 Author Share Posted July 27, 2013 (edited) Hi Sir, The picture with the products is normally a slider now it just shows all products... and the other picture you normally have Tabs which are missing... here a picture of the working shop.. Robert Edited July 27, 2013 by Robert Schmitt (see edit history) Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 28, 2013 Author Share Posted July 28, 2013 Hi Vekia, did you see the difference in the picutres ? Cheers Robert Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 thanks now i see it looks like CSS issue turn on console in your browser, then check your localhost - you will see there errors, maybe some of the css files can't be included Link to comment Share on other sites More sharing options...
Robert Schmitt Posted July 28, 2013 Author Share Posted July 28, 2013 Thx for the info, will give it a try.. I just made the update for testing to the v1.5.4.1 and now i got tons of errors... If you like we can close this a solved!! I hope the description will help others? Cheers Robert Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 hello, definitely this thread will be helpful for other merchants with similar questions im going to mark this as [solved] regarding to the errors... just create new threads 1 Link to comment Share on other sites More sharing options...
pause4paws Posted December 18, 2016 Share Posted December 18, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now