Forums » SEPHP Help and Tips

maintenance mode

    • 5 posts
    April 19, 2021 4:17 AM EDT

    Hello,

    how to disable maintenance mode via the mysql database? What table and value to look at? 

     

    thanks in advance

    • Moderator
    • 5579 posts
    April 19, 2021 5:05 AM EDT

    https://www.socialengine.com/support/article/5243159 this tutorial shows the file but you can just get your maintenance code from that file too in case you didn't copy it down. If you still need to disable it, set it to false where you see it says true on line 4

    • 5 posts
    April 19, 2021 5:14 AM EDT

    this is not database but file edits? 

    • Moderator
    • 5579 posts
    April 19, 2021 5:15 AM EDT

    Exactly. This is the best way to disable it like I said.

    • Moderator
    • 5579 posts
    April 19, 2021 5:16 AM EDT

    You can then get in the site and enable/disable/change the maintenance code, etc. 

    • Moderator
    • 5579 posts
    April 19, 2021 5:16 AM EDT

    Working in the database should actually rarely be done, if ever. You can corrupt your database.

    • 204 posts
    April 19, 2021 5:27 AM EDT

    Thanks for the advice.

    I did not know that we could put a site in maintenance.

    Very practical this feature.