MyBB Documentation

Mybb settings

The 1.6 Documentation is no longer maintained and some information may be outdated.

The MyBB 1.6 series reached end of life on October 1, 2015.

This means there will be no more security or maintenance releases for these series and forums running these versions of MyBB may be at risk of unfixed security issues. All administrators are strongly encouraged to upgrade their forums to the latest release of MyBB as soon as possible.

Contents

ACP settings not saving correctly?

Settings are stored in two places, firstly in the database and secondly they are cached in ./inc/settings.php which is where the forum reads its settings from during its regular operation. If you find your settings are not being saved when you change them in your ACP then MyBB is most likely having problems updating this file. There are a few things you should try.

Check settings.php permissions

MyBB needs to have permission to write to the ./inc/settings.php file so make sure this file is set to CHMOD 664 or 666 (Unix systems) or has read/write permissions (Windows).

Regenerate settings.php file

If MyBB detects that ./inc/settings.php does not exist it will automatically regenerate this file based on the values stored in the database. If you are having problems with your settings it is safe to try deleting this file so MyBB can generate a fresh copy.

Determine if changes are actually being recorded in the settings.php

If you have changed a setting but it is not reflected on your board it is a worthwhile debugging technique to make a setting change then view the source of your ./inc/settings.php file to see if the new value is written there. It is useful to post the outcome of this test in your support thread if you make one.

mod_security problems

Sometimes the mod_security module in apache can cause the settings ACP page to return a HTTP error when saving which prevents the setting changes from being properly recorded. Read mod_security for more information on dealing with mod_security problems.

Edit this page on GitHub