CoreBOSBB
Suggest - Maintenance Mode - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Suggest - Maintenance Mode (/showthread.php?tid=795)

Pages: 1 2


RE: Suggest - Maintenance Mode - joebordes - 03-19-2018

as most script in HelperScripts directory, you must execute it from the top of your install. So if you go to the root of your coreBOS install and execute:


PHP Code:
php build/HelperScripts/togglemaintenance.php 


that should do the trick

There is no output


RE: Suggest - Maintenance Mode - rslemer - 05-24-2018

Strange, don't works for me.

Sad


RE: Suggest - Maintenance Mode - joebordes - 05-24-2018

I just tried it again and it worked correctly.

Does the toggle script give you some error?

Look in the cb_settings database table for a variable called cbSMActive its value should be 1 if maintenance mode is active


RE: Suggest - Maintenance Mode - rslemer - 05-27-2018

yes changed.

But system still allowed user login

Sorry, my fault.

I will test with admin user ... Sad

But how I can translated this message?

We’ll be back soon!
Sorry for the inconvenience but we’re performing some maintenance at the moment. We’ll be back online shortly!


RE: Suggest - Maintenance Mode - joebordes - 05-27-2018

Good :-)

https://github.com/tsolucio/corebos/blob/master/modules/Settings/language/pt_br.lang.php#L960

and the default language will have to be set to pt_br


RE: Suggest - Maintenance Mode - rslemer - 05-27-2018

updated.


RE: Suggest - Maintenance Mode - joebordes - 05-29-2018

Updated. Thanks!