Jump to content

How to fix "cannot log in to PrestaShop" issue?


GlennaJAllen

Recommended Posts

Hello everyone,  

I recently encountered a strange problem with my PrestaShop store:  
- The back office login page loads fine,  
- but after entering the correct username and password, it just reloads without logging me in.  

I have already tried:  
- Clearing cookies and cache,  
- Using different browsers,  
- Checking PHP version and server error logs.  

Has anyone faced the same issue before? Is this usually caused by session/cookie settings, or something else with hosting configuration?  

I found a detailed guide that tries to explain multiple scenarios of this problem (quite long and technical), so I put it here in case anyone wants to look deeper see more

Edited by GlennaJAllen (see edit history)
Link to comment
Share on other sites

11 hours ago, GlennaJAllen said:

Hello everyone,  

I recently encountered a strange problem with my PrestaShop store:  
- The back office login page loads fine,  
- but after entering the correct username and password, it just reloads without logging me in.  

I have already tried:  
- Clearing cookies and cache,  
- Using different browsers,  
- Checking PHP version and server error logs.  

Has anyone faced the same issue before? Is this usually caused by session/cookie settings, or something else with hosting configuration?  

Clear var/cache/*, delete browser cookies, and try in private mode. Check that PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL match your exact URL. In database set PS_COOKIE_CHECKIP to 0 to avoid IP conflicts. If it still fails, switch to Classic theme and disable non-native modules to test.

  • Like 1
Link to comment
Share on other sites

16 hours ago, GlennaJAllen said:

Hello everyone,  

I recently encountered a strange problem with my PrestaShop store:  
- The back office login page loads fine,  
- but after entering the correct username and password, it just reloads without logging me in.  

I have already tried:  
- Clearing cookies and cache,  
- Using different browsers,  
- Checking PHP version and server error logs.  

Has anyone faced the same issue before? Is this usually caused by session/cookie settings, or something else with hosting configuration?  

You will never believe it :D

When we had the same problem, the last resort working solution was to restart the Wifi box… and it worked somehow

  • Like 1
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...