Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: Squeegy - marraskuu 08, 2010, 08:00:40 IP

Otsikko: Removing maintenance mode 1.1.12
Kirjoitti: Squeegy - marraskuu 08, 2010, 08:00:40 IP
I accidentally installed the small update for 1.1.12 onto RC3. I put it in maintenance mode, then when it predictably did not work, tried installing RC4 small update over it. It seemed to work fine, but now will not go out of maintenance mode. How can I manually reopen the forum?
Otsikko: Re: Removing maintenance mode 1.1.12
Kirjoitti: Illori - marraskuu 08, 2010, 08:07:39 IP
check settings.php file in your root folder for your forum. the directions for maintenance mode are in that file.
Otsikko: Re: Removing maintenance mode 1.1.12
Kirjoitti: Squeegy - marraskuu 08, 2010, 09:22:55 IP
Thanks, but it's now giving me this error:

Parse error: syntax error, unexpected T_STRING in /home/*********/public_html/forums/Settings.php on line 30
Otsikko: Re: Removing maintenance mode 1.1.12
Kirjoitti: All Colours Sam - marraskuu 08, 2010, 09:33:39 IP
what exactly did you do?

to remove maintenance mode type 0 on your settings.php file

in here:

$maintenance = 1;      # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)

change it to $maintenance = 0;


if you have errors with your settings.php file,  take the settings_bak.php file, make a copy and tjis copy renamed to Settings.php, overwirte the old settings.php.
Otsikko: Re: Removing maintenance mode 1.1.12
Kirjoitti: Squeegy - marraskuu 08, 2010, 09:37:33 IP
It was at 2, I changed it to 0. Reuploading and changing it again fixed it, and everything's okay again. Thanks!