Global settings - maintenance mode fails on submit

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
SteveO
New Member
New Member
Posts: 2
Joined: Sat Jun 04, 2022 8:48 pm

Global settings - maintenance mode fails on submit

Post by SteveO »

Hello

Version 2.2.16

I am getting error 403 when I click submit on the maintenance mode tab.

I looked at the site prefs table and noted that sitedownexcludes and sitedownexcludeadmins were not in the table, I added those and set enablesitedownmessage to 1, now maintenance mode is on but visible to admin, but it will still not save correctly on submit.

Any permissions I can check, can I get some sort of debug output?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Global settings - maintenance mode fails on submit

Post by DIGI3 »

You will need to disable mod_security on your server, or ask your host to whitelist the rule affecting this.
Not getting the answer you need? CMSMS support options
SteveO
New Member
New Member
Posts: 2
Joined: Sat Jun 04, 2022 8:48 pm

Re: Global settings - maintenance mode fails on submit

Post by SteveO »

Would mod security have caused the missing data in the site prefs table?

Thanks for your help
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Global settings - maintenance mode fails on submit

Post by DIGI3 »

Not sure, it could be from an incomplete submission due to modsec, or it could be from something else. Modsec is definitely the cause of the 403 though.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”