SMF Support > SMF 2.0.x Support
Forum temporarily disabled
netforest:
I installed SMF a few weeks ago, and setup a few boards for testing. Now when I tried to access it, I get the message
Forum temporarily disabled
I hadn't worked with it for at least a week or so. Not sure what caused this. Any insights appreciated.
Jade Elizabeth:
Load your settings.php file and there's a line in there about maintenance mode...you've set it to 2.
Try setting it to 0 :)
--- Code: ---$maintenance = 0;
--- End code ---
netforest:
I checked that and it is set to 0. See below from settings.php:
--- Code: ---$maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.
--- End code ---
Colin:
Can we get a link to your forum please?
netforest:
I was able to check the .htaccess file and it contained:
--- Code: ---ErrorDocument 503 "Forum temporarily disabled"
RewriteEngine On
RewriteRule .* - [R=503,L]
--- End code ---
Once I removed it everything worked fine.
What may of caused this?
Navigation
[0] Message Index
[#] Next page
Go to full version