CoreBOSBB
Default Module - Suggestion - Enhance - 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: Default Module - Suggestion - Enhance (/showthread.php?tid=689)



Default Module - Suggestion - Enhance - rslemer - 07-18-2017

In the past, default module was setting in config.inc.php

If you, for mistake, setting a incorrect name ( spelling )

system will exhibit

Module name is missing or incorrect. Please check the module name.

But was easy to correct then ( only is necessary, edit config.inc.php again .. )

But now, system crash ( because is necessary a valid name of module, to login ).

I suggest, in this case, invalid module, system show a default module ou Global Variable Module.

I think, only way to solve that, change in system table, at BD, to correct name module, right?


RE: Default Module - Suggestion - Enhance - joebordes - 07-18-2017

I will add this request to our ToDo list, it shouldn't be difficult to add.
A workaround is to type in directly where you want to go, in the URL. Note that you are already logged in when it tries to send you the default module, so all you have to do is type in the module name correctly. Go to the URL and type

.../index.php?module=GlobalVariable&action=index

HTH


RE: Default Module - Suggestion - Enhance - rslemer - 07-19-2017

Ah, okay, that way it's simple to fix

Thank you!


RE: Default Module - Suggestion - Enhance - joebordes - 07-19-2017

fixed this here:

https://github.com/tsolucio/corebos/commit/24d9371f7699a8781a8595e02fa556d51cfb7670

Thanks!