When I logged into a Simple Machines Forum (SMF) forum, I saw the message below:
Maintenance Mode
Okay faithful users...we're attempting to restore an older backup of the database...news will be posted once we're back!
I needed to take it out of maintenance mode, but at Settings.php file, I saw the following:
$maintenance
Sets whether the Forum is in maintenance mode or not.
Value Description
0 Maintainance mode off. The Forum can be used normally.
1 Maintainance mode on. Only administrators can use the Forum as usual. Other users get a 'this Forum is in maintenance mode' message. The database may still be accessed for user authentication (so as to tell if the Member is an administrator.)
2 Maintainance mode on, full force. Freezes the forum. No one can access it, not even administrators. This setting will leave the database untouched (as far as the SMF Forum is concerned) but cannot be set from the administration center. This setting is used by SMF's upgrade tool to ensure an undisturbed upgrade.
- Version: SMF 1.0+
- Default value: 0
Sets whether the Forum is in maintenance mode or not.
Value Description
0 Maintainance mode off. The Forum can be used normally.
1 Maintainance mode on. Only administrators can use the Forum as usual. Other users get a 'this Forum is in maintenance mode' message. The database may still be accessed for user authentication (so as to tell if the Member is an administrator.)
2 Maintainance mode on, full force. Freezes the forum. No one can access it, not even administrators. This setting will leave the database untouched (as far as the SMF Forum is concerned) but cannot be set from the administration center. This setting is used by SMF's upgrade tool to ensure an undisturbed upgrade.
I looked at the Settings.php
file in the dorum directory for
SMF and saw the following:
########## Maintenance ########## # Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it. $maintenance = 2; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
When I changed the value for maintenance
from 2
to 0
, I was able to access the forum again.