MoOoG Posted April 27, 2015 Share Posted April 27, 2015 Hi, my goal is to move a prestashop (version 1.4.8.2) from server to my local machine to have a test environment - then I would like to upgrade the shop to latest version, change the design of the shop and move it back to server. What I did by now is: I made a backup of database and the website Then I moved all files to my WAMP server (/www/mysite/) Imported database to local phpMyAdmin Changed configuration in "settings.inc.php" I deleted (actually made a backup of) ".htaccess" file in the root of local prestashop directory Went to phpMyAdmin and changed PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL to "localhost" ...now the problem begins. -I can not find PS_SHOP_URL table in database to set values there. Now if I go to admin panel of my local prestashop I can login, but some styles and pictures are missing in the dashboard. If I go to my localhost url of the website it is being redirected to "localhost" address and nothing shows up. I hope you have all information you need - I would be grateful for some help Link to comment Share on other sites More sharing options...
PrestaHeroes.com Posted April 27, 2015 Share Posted April 27, 2015 in config/settings.inc.php did you also set the following? define('__PS_BASE_URI__', '/folder where files are located/'); Then the back office would (for this example shop 1462 in folder 1462) http://screencast.com/t/3oqFvGY7chdi 1 Link to comment Share on other sites More sharing options...
MoOoG Posted April 27, 2015 Author Share Posted April 27, 2015 (edited) in config/settings.inc.php did you also set the following? define('__PS_BASE_URI__', '/folder where files are located/'); Then the back office would (for this example shop 1462 in folder 1462) http://screencast.com/t/3oqFvGY7chdi Thanks for your reply! It's actually a good idea but i had to insert "[PORT]/folder/" instead of "/folder/". Can I set PORT number somewhere else? Another question now is (after I can see the website locally): Why isn't there any style or css - I can only see raw text and no images? NOTE: The articles are shown on the website Edited April 27, 2015 by MoOoG (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes.com Posted April 27, 2015 Share Posted April 27, 2015 Hi, I only know how to do this using a folder, i.e. 1462. I don't know configuration using port. This is probably why you are not seeing .css. make sure to regenerate the .htaccess, this can be accomplished by http://screencast.com/t/xf8yEKVGV 1 Link to comment Share on other sites More sharing options...
MoOoG Posted April 27, 2015 Author Share Posted April 27, 2015 Hi, I only know how to do this using a folder, i.e. 1462. I don't know configuration using port. This is probably why you are not seeing .css. make sure to regenerate the .htaccess, this can be accomplished by http://screencast.com/t/xf8yEKVGV Thanks for your time - I found the solution! I had to go back to database and change the PORT there - actually I added value to PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Instead of "localhost" I wrote "localhost:PORTNUMBER". Now the whole website works great! 1 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