SoneyaAi Posted September 2, 2020 Share Posted September 2, 2020 (edited) Hello, I did some setup of my prestashop on localhost XAMPP. It's working OK. Then I've tried migrate to hosting. Copied files, copied database. Changed parameters.php and ps_shop_url. Hovewer When enter website, I can see error 500. Also from some reason on the ftp is autocreating a folder with full localhost xampp path as name and var folder inside. Probably problem is related somehow to this xampp folder, but I have no idea how to fix this. Server configuration is ok, because if I run fresh install of presta on the server, this is working fine. Edited September 6, 2020 by SoneyaAi (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted September 3, 2020 Share Posted September 3, 2020 Have you deleted folders inside /var/cache? Link to comment Share on other sites More sharing options...
Aroli Posted September 3, 2020 Share Posted September 3, 2020 if folder is change you need to edit .htaccess prestashop folder and change "E=REWRITEBASE: ....." to new folder check in db table ps_configuration parameter PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL Link to comment Share on other sites More sharing options...
joseantgv Posted September 4, 2020 Share Posted September 4, 2020 hace 22 horas, Aroli dijo: if folder is change you need to edit .htaccess prestashop folder and change "E=REWRITEBASE: ....." to new folder check in db table ps_configuration parameter PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL Sure, I forgot! To regenerate .htaccess disable/enable friendly URL in BO configuration. Link to comment Share on other sites More sharing options...
Aroli Posted September 6, 2020 Share Posted September 6, 2020 i edit manually .htaccess: check and change working folder and host name in all the file: "RewriteRule . - [E=REWRITEBASE:/newFolder/]..." # Images RewriteCond %{HTTP_HOST} ^newHost$...... Link to comment Share on other sites More sharing options...
SoneyaAi Posted September 6, 2020 Author Share Posted September 6, 2020 Thanks for your answers. Problem solved. Moving the files back to the server and removing the cache from the var folder helped. 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