Jump to content

Edit History

Qwoon

Qwoon

Hello, everyone!
I recently picked up all my files from remote server, got my SQL dump files and tried to set up a local environment to develop new features and to simplify the development process for the team. 

We are also planning to create a QA server, but while this issue persists locally I doubt that we can create a QA server.
 
On my local machine I am using Open Sever (also tried WAMP). The problem I get is when trying to log in to the BO. Entering the right credentials changes the URL to redirect=AdminDashboard, but I am not being redirected to the dashboard, which means I am stuck on the login page.

Here are the steps I have already done to migrate from remote server locally
1. Downloaded all the files via FTP;
2. Imported the database with all my data besides products (and all tables that are relates, like product_attribute, etc.);
3. Changed in the PS_CONFIGURATION table the following values: PS_SHOP_DOMAIN to localhost, PS_SHOP_DOMAIN_SSL to localhost, PS_COOKIE_CHECKIP to 0, PS_COOKIE_LIFETIME_BO to 0;
4. Changed parameters.php file;
5. Changed the records in the PS_SHOP_URL table to localhost;
6. Deleted all the cache from var/cache;
7. Tried removing the .htaccess file from the root;

Additional Info:

  • Prestashop Version: 1.7.7.0
  • Apache Version: 2.4
  • PHP Version: 7.3
  • MariaDB Version: 10.4


The issue persists between all browsers, so I doubt this is something cookie related.
Thanks in advance!

Qwoon

Qwoon

Hello, everyone!
I recently picked up all my files from remote server, got my SQL dump files and tried to set up a local environment to develop new features and to simplify the development process for the team. 

We are also planning to create a QA server, but while this issue persists locally I doubt that we can create a QA server.
 
On my local machine I am using Open Sever (also tried WAMP). The problem I get is when trying to log in to the BO. Entering the right credentials changes the URL to redirect=AdminDashboard, but I am not being redirected to the dashboard, which means I am stuck on the login page.

Here are the steps I have already done to migrate from remote server locally
1. Downloaded all the files via FTP;
2. Imported the database with all my data besides products (and all tables that are relates, like product_attribute, etc.);
3. Changed in the PS_CONFIGURATION table the following values: PS_SHOP_DOMAIN to localhost, PS_SHOP_DOMAIN_SSL to localhost, PS_COOKIE_CHECKIP to 0, PS_COOKIE_LIFETIME_BO to 0;
4. Changed parameters.php file;
5. Changed the records in the PS_SHOP_URL table to localhost;
6. Deleted all the cache from var/cache;
7. Tried removing the .htaccess file from the root;

The issue persists between all browsers, so I doubt this is something cookie related.
Thanks in advance!

×
×
  • Create New...