New single DB method: showing "Several" in confirmation screen
In the confirmation screen of the installation, with the new unique installation method, the system still considers it is setup as "several DB" just because the corresponding variable is normally "several db" when not set to anything else.
I've tried fixing it but it will take me much more then 5 minutes and I don't have my coding environment ready.
Basically, the $singleDbForm is set to 0 y default in main/install/index.php and then carried along up to line 657, where, echo ($singleDbForm ? $SingleDB : $MultiDB) or something like that. So the idea is to clean this a little. To do that:
#. replace the previous single DB mode by the new single DB mode (this should never be a problem)
#. keep the previous multiple DB mode as a possibility
#. make the new single DB mode the default mode
#. make sure the confirmation screen shows the setting correctly
Note that it is not necessary to really install the whole thing to test it, you can just go back and forth in the installation process.
Also, the "database prefix" field should be hidden by default (only shown when selecting multiple databases).
Updated by Julio Montoya over 9 years ago
- % Done changed from 0 to 50
I sent some fixes when installing chamilo ...