Kubalos Posted August 9, 2017 Share Posted August 9, 2017 (edited) Dear, I installed a prestashop installation online under a specific domain myclientname.mydomain.com Have configurated almost everything that I needed. However there a few items that I need to test locally. I downloaded all content and installed it local on my pc : k:/wamp/www/myclientname/ accessible through: domain1.nl/myclientname/ However when loading the website it instantly displayed incorrectly when I viewed the source code I noticed : background: #222 url("http://domain1.nl/myclientdrive/modules/tdmaintenance/tdmaintenance.jpg") no-repeat fixed center center; So this meaning that the base uri was incorrect. After searching online I figured that I had to change the file : settings.inc.php And add : define('__PS_BASE_URI__', '/myclientname/'); This causes my "under construction page" to show up correctly. However when I load the admin page it gets redirected to : http://domain1.nl/admin403vyflz1/index.php?controller=AdminLogin&token=642506aa042d2c9deae617f665a1ec56 Hence to : domain1.nl/adminxxxx So it looks like the base uri still is not correct. How can I correct this for both the frontend and backend? Thanks in advance! P.S.! I updated the database to set the local domain Edited August 9, 2017 by Kubalos (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted August 13, 2017 Share Posted August 13, 2017 remember to change in the database, configuration table, the ps_shop_domain, Link to comment Share on other sites More sharing options...
Kubalos Posted August 16, 2017 Author Share Posted August 16, 2017 I changed this option. But to no avail 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