MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
June
Sun Mon Tue Wed Thu Fri Sat
     
24
   
2011
Months
Jun


Fri, Jun 24, 2011 9:45 pm

Editing Settings.php to take SMF forum out of maintenance mode

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.

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.

[/network/web/forums/smf] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo