Jump to content

Maintenance mode not working


Recommended Posts

provide more information about your store.

 

what version of prestashop

what theme are you using?  default bootstrap or a custom one?

do you have any custom modules installed?

Is this is a new store?  Have you performed an upgrade recently?

Link to comment
Share on other sites

  • 3 weeks later...

To determine if it is the same issue place the store into maintenance mode with no IPs white-listed. This should put you in maintenance mode. Then press add  IP to the white list.  Compare the IP for your computer to the IP added -- they should not match. 

If that is the case then you have the same issue. It is because of the way your server is setup -- most likely because you're using ngnix as a proxy so your server IP and not your computer IP is getting added. 

I fixed it by editing the core files to use the real IP but after doing that I realized it is more work then was needed -- the much simpler solution would be to just manually enter your computer IP. Problem solved. The add to white list button will remain broken but editing core files just to fix a button when you can manually add the IP instead isn't worth it.

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