How to put the forum in maintenance mode and back: Difference between revisions From Online Manual

Jump to: navigation, search
Line 28: Line 28:
#* '''maintenance = 0;''' -- Out of Maintenance mode
#* '''maintenance = 0;''' -- Out of Maintenance mode
#* '''maintenance = 1;''' -- In Maintenance mode
#* '''maintenance = 1;''' -- In Maintenance mode
#* '''maintenance = 2;''' -- "Extra" Maintenance mode -- nobody can log in, not even admin.
#* '''maintenance = 2;''' -- "Extra" Maintenance mode -- nobody can log in, not even administrators.
# Save the file by selecting '''Save Changes'''.
# Save the file by selecting '''Save Changes'''.


[[category:FAQ]]
[[category:FAQ]]

Revision as of 17:15, 8 April 2012

This is called Maintenance mode, one of the General Server settings on the Administration panel. It is often used during Forum Maintenance, or when installing or uninstalling forum modifications or themes.

How to put the forum in Maintenance Mode

  1. Go to Administration > Configuration > Server Settings > General. Here is how to get there:
    • Log into your forum and select "admin" from the navigation menu.
    • From the "Configuration" section of the administration panel, select Server Settings
    • Choose the General tab.
  2. Check the box labelled Enable Maintenance Mode.
  3. Change the Subject for display Maintenance
  4. If you wish, you may change the Message for display.
  5. All guests and members will see the message you have entered.
  6. Then select the save button

How to take the forum out of Maintenance Mode

  1. Go to Administration > Configuration > Server Settings > General (see above)
  2. Uncheck the box labelled Enable Maintenance Mode
  3. Select 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 folder your forum's files are in. This could be public_html, www or several other things, 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:
    • right-click on the file
    • From the pop-up menu, select Code Edit or Edit
    • Select "edit" from the pop-up
  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; -- "Extra" Maintenance mode -- nobody can log in, not even administrators.
  7. Save the file by selecting Save Changes.


Advertisement: