TheoBast Posted May 1, 2023 Share Posted May 1, 2023 (edited) I have upgraded to version 8.0.4 and now I am not able to login to BO and the shop is possible to access (not ok). How do I enable maintenance mode in database? I have tried to change the "ps_configuration - PS_SHOP_ENABLE" but with no luck. Where do I change it? Edited May 2, 2023 by TheoBast (see edit history) Link to comment Share on other sites More sharing options...
hrst Posted May 2, 2023 Share Posted May 2, 2023 Isn't it easier to edit the config/defines.inc.php file via FTP? define('_PS_MODE_DEV_', false); - define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
TheoBast Posted May 2, 2023 Author Share Posted May 2, 2023 4 minutes ago, hrst said: Isn't it easier to edit the config/defines.inc.php file via FTP? define('_PS_MODE_DEV_', false); - define('_PS_MODE_DEV_', true); This enables or disables the ability to view error messages. I want to prevent access to the online store, and show the customers a message that the store is temporarily down due to maintenance. Link to comment Share on other sites More sharing options...
El Patron Posted May 2, 2023 Share Posted May 2, 2023 (edited) here is screen shot of db change https://app.screencast.com/hoOepDZun0rL2 also upgrading to 8 is really for experts, PS does not test well and rely on community testing, so unless you are very experienced and can fallback to 1.7 you are going to have a lot of difficulties.... Edited May 2, 2023 by PrestaHeroes USA (see edit history) Link to comment Share on other sites More sharing options...
hrst Posted May 2, 2023 Share Posted May 2, 2023 function "ps_configuration - PS_SHOP_ENABLE" 0 should work. How about clearing var/cache/...? Link to comment Share on other sites More sharing options...
TheoBast Posted May 2, 2023 Author Share Posted May 2, 2023 Thanks guys! My mistake! I entered my external IP address in PS_MAINTENANCE_IP a year ago and was absolutely sure it was not the same now. Since I don't have a fixed external IP, it changes, but after a search in the database I saw that my current IP address was there. Does it update when you log into BO? When checking the online store from the mobile phone, I see that the maintenance page comes up. Thanks again for your reply 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now