Maintenance mode: Difference between revisions From Online Manual

Jump to: navigation, search
(That last sentence made no sense. Now it does.)
No edit summary
Line 1: Line 1:
When the [[forum]] is in '''Maintenance mode''' only [[administrator]]s have access to it. Administrators user maintenance mode while doing forum upgrades, backups, and restores. To learn more about setting maintenance mode, please read about [[Server settings#General|Server Settings]] and the [[Settings.php#.24maintenance|$maintenance]] variable.
When '''Maintenance mode''' is enabled, only [[administrator]]s have access to the forum. Other users will see the message "This forum is in maintenance mode". In maintenance mode, the database may still be accessed for user authentication (to check if the member is an administrator).
<noinclude>
 
[[Category:SMF terminology]]
Administrators use maintenance mode while doing tasks such as: forum upgrades, backups, restores, installing and uninstalling themes and modifications.
</noinclude>
 
===How to Enable Maintenance Mode===
 
# Go to ''Administration > Configuration > Server Settings > General''.
# Check the box next to ''Enable Maintenance Mode''.
# Change the ''Subject for display''.
# If you wish, you may change the ''Message for display''. All guests and members will see this message and it can be used to give an explanation as to why the forum is in maintenance mode.
# Click the save button.
 
===How to Disable Maintenance Mode===
 
# Go to ''Administration > Configuration > Server Settings > General''.
# Uncheck the box next to ''Enable Maintenance Mode''.
# Click the save button.
 
===How to Set Maintenance Mode without Logging into the Forum===
 
# Log in to your forum's control panel.
# Go to your file manager.
# Find the directory that your forum's files are in. This could be ''public_html'', ''www'', or several other places, depending on your host.
# Find the file ''Settings.php'' and make a back-up copy of it, just in case you make a mistake while editing it.
# Open the file ''Settings.php'' for editing.
# Find ''$maintenance'' in the file. Here are the settings you can use:
#* '''maintenance = 0;''' -- Out of Maintenance mode.
#* '''maintenance = 1;''' -- In Maintenance mode.
#* '''maintenance = 2;''' -- Generates a white page.
# Save the file.
 
{{ {{Localized|As an administrator2.0}}}}

Revision as of 10:25, 3 August 2014

When Maintenance mode is enabled, only administrators have access to the forum. Other users will see the message "This forum is in maintenance mode". In maintenance mode, the database may still be accessed for user authentication (to check if the member is an administrator).

Administrators use maintenance mode while doing tasks such as: forum upgrades, backups, restores, installing and uninstalling themes and modifications.

How to Enable Maintenance Mode

  1. Go to Administration > Configuration > Server Settings > General.
  2. Check the box next to Enable Maintenance Mode.
  3. Change the Subject for display.
  4. If you wish, you may change the Message for display. All guests and members will see this message and it can be used to give an explanation as to why the forum is in maintenance mode.
  5. Click the save button.

How to Disable Maintenance Mode

  1. Go to Administration > Configuration > Server Settings > General.
  2. Uncheck the box next to Enable Maintenance Mode.
  3. Click the save button.

How to Set Maintenance Mode without Logging into the Forum

  1. Log in to your forum's control panel.
  2. Go to your file manager.
  3. Find the directory that your forum's files are in. This could be public_html, www, or several other places, depending on your host.
  4. Find the file Settings.php and make a back-up copy of it, just in case you make a mistake while editing it.
  5. Open the file Settings.php for editing.
  6. Find $maintenance in the file. Here are the settings you can use:
    • maintenance = 0; -- Out of Maintenance mode.
    • maintenance = 1; -- In Maintenance mode.
    • maintenance = 2; -- Generates a white page.
  7. Save the file.

Main

Configuration

Forum

Members

Maintenance

Miscellaneous





Advertisement: