Jump to content

Keep getting logged out with every click


mudshark

Recommended Posts

Hey folks, something weird has cropped up in my PrestaShop admin area.

 

I can log into the admin area (GUI. back-office, dashboard or whatever it's called) w/o any problem. then, once logged in no matter what I click on (any link or button) I am booted out and sent back to the log-in screen.

 

Ever hear of this?  Better yet, is there a fix?

 

Thx

RG

Link to comment
Share on other sites

Recently heard some similar issue but they are differently. the cause is also seems different case by case.

 

you may try to check

1. if you have set store domain and SSL store domain differently? for example one with www. but the other without.

 

2. Did  this start happenning recently? if so what other 3rd party modules you have installed and what custom changes you have made.

Try to disable 3rd party module or restore the files you changed.

 

 

3. Check if your browser cookie is enabled or not.

 

 

4. Check your store is hacked or not. comparing following file with original file from PrestaShop package

 

/controllers/admin/AdminLoginController.php

Link to comment
Share on other sites

Recently heard some similar issue but they are differently. the cause is also seems different case by case.

you may try to check

1. if you have set store domain and SSL store domain differently? for example one with www. but the other without.

2. Did  this start happenning recently? if so what other 3rd party modules you have installed and what custom changes you have made.

Try to disable 3rd party module or restore the files you changed.

3. Check if your browser cookie is enabled or not.

4. Check your store is hacked or not. comparing following file with original file from PrestaShop package

/controllers/admin/AdminLoginController.php

 

I haven't logged into the store gui for a few months and it wasn't doing this then.  I didn't add any modules or make any other changes.

Perhaps an update to FireFox or one of it's plug-ins?

I looked over the list os suspect add-ins and I am not using any,

To see if I am hacked or not I'll compare that file on the server with the original.

Cookies ARE enabled.

I have no SSL and the www part is fine.

I should add SSL.

 

Works w/o error in Chrome.  In IE & FF the bad behavior stands.

The AdminLoginController.php file does match mine from October on my PC

 

I suppose I'll just use Chrome to admin the site!

Link to comment
Share on other sites

that's strange. but from the information you provide, I think it might be related to browser setting. 

 

Have you checked the following setting at back office - Administration - Preferences

 

Lifetime of back office cookies          hours            

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