Jump to content

Problem With Backoffice Access In Localhost


Recommended Posts

I tried to install and configure a payment module.

I couldn't access to backoffice in localhost  based on prestashop 1.6.0.11 After entering login and password, I was redirected to login page again and everything repeated.

I tried to WITH NO SUCESS:

 

1/ Clear my browser cache and my cookies

 

2/ use Firefox instead of Chrome

 

3/ Check PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL in ps_configuration table

 

4/ Manually clear  cache : remove all files from cache

 

5/ Disable the IP check in classes/Cookie.php ( comment the condition :

 

AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr()) OR !Configuration::get('PS_COOKIE_CHECKIP'))

 

6/ Make the expire time shorter for cookies : in classes/Cookie.php

 

set : $this->_expire = isset($expire) ? (int)($expire) : (time() + 3600);

 

instead of $this->_expire = isset($expire) ? (int)($expire) : (time() + 1728000);

 

Can you help me please? Any other suggestions?

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...