Jump to content

Migrated Prestashop 1.7 admin not working on localhost


Kubalos

Recommended Posts

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 by Kubalos (see edit history)
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...