Advertisement:

Author Topic: Maintenance doesn't work  (Read 884 times)

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Maintenance doesn't work
« on: June 30, 2017, 09:25:23 AM »
Maintenance mode fails to work.

Running 2.0.14, php7, SSL, have ticked 'Force cookies to be secure', theme is Shelf Life.

Checking box for Maintence is not saved. Check goes into box, disappears when saved. Same with Message to Display, it reverts to default text after clicking save.

Have cleared cache on browser, have no cache on SMF.

Suggestions?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,308
Re: Maintenance doesn't work
« Reply #1 on: June 30, 2017, 09:27:33 AM »
is your Settings.php file able to be written to by the server? if not allow that and try again.

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Re: Maintenance doesn't work
« Reply #2 on: June 30, 2017, 10:01:04 AM »
is your Settings.php file able to be written to by the server? if not allow that and try again.

Do you mean upload the Settings.php file to my server?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,673
    • StoryBB/StoryBB on GitHub
Re: Maintenance doesn't work
« Reply #3 on: June 30, 2017, 10:03:19 AM »
No, in order to save that setting, SMF needs to be able to change the file for you...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Re: Maintenance doesn't work
« Reply #4 on: June 30, 2017, 10:05:29 AM »
Settings.php is set to 644

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,308
Re: Maintenance doesn't work
« Reply #5 on: June 30, 2017, 10:13:45 AM »
that may not be enough for your server. try 666

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Re: Maintenance doesn't work
« Reply #6 on: June 30, 2017, 10:23:54 AM »
Set to 666. Still no Maintenance.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,308
Re: Maintenance doesn't work
« Reply #7 on: June 30, 2017, 10:31:54 AM »
ask your host to check the ownership on that file.

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Re: Maintenance doesn't work
« Reply #8 on: June 30, 2017, 10:40:33 AM »
ask your host to check the ownership on that file.

Ownership set to 1000. Running on VPS LAMP.

Offline mysimplesite

  • Semi-Newbie
  • *
  • Posts: 54
Re: Maintenance doesn't work
« Reply #9 on: June 30, 2017, 04:11:46 PM »
Well, it's in Maintence Mode now and I didn't do anything except go for a coffee and some lunch.

Must have been a power lunch.

Computers. Sheesh.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,508
  • Gender: Male
    • Kindred-999 on GitHub
Re: Maintenance doesn't work
« Reply #10 on: June 30, 2017, 10:43:56 PM »
Sounds host is running varnish or some other caching system
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.