-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
-
MDL-71014 has caused regression and now installation using the web UI is not working properly (it's working as expected using CLI).
Steps to reproduce:
- Install a clean Moodle site, based on master.
- Edit the config.php file and change $CFG->prefix (for instance, to "x").
- Open your Moodle site in a web browser.
Expected behaviour:
- The installation process starts and the "Have you read these conditions and understood them?" message is displayed.
Current behaviour:
- An error is displayed:
- In some cases: "Error reading from database"
- In other cases:
!!! Table "course" does not exist !!! |
Debug info:
|
Error code: ddltablenotexist
|
Stack trace: * line 665 of /lib/dml/moodle_database.php: dml_exception thrown |
* line 1621 of /lib/dml/moodle_database.php: call to moodle_database->where_clause() |
* line 578 of /lib/datalib.php: call to moodle_database->get_record() |
* line 778 of /lib/setup.php: call to get_site() |
* line 29 of /config.php: call to require_once() |
* line 28 of /admin/cli/purge_caches.php: call to require() |