MySql fallback not working in 16.10
Bug #1649732 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
16.10 |
Fix Released
|
High
|
Unassigned | ||
17.04 |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
In init.php file there is a check to make sure that if one is using a mysql database they are using either database type 'mysqli' or 'mysql'. And they relate to drivers in htdocs/
But we removed the ADODB driver for 'mysql' so we can't fall back to that one any more.
See commit 2f19a42ddd6af73
We need to tidy up the init.php file (around line 133) to throw error if 'mysqli' PHP extension is not installed rather than trying to use 'mysql' as database type.
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7364