Activity log for bug #1247715

Date Who What changed Old value New value Message
2013-11-04 03:17:59 henrythemouse bug added bug
2013-11-06 01:04:15 Robert Lyon mahara: status New Confirmed
2013-11-06 01:04:19 Robert Lyon mahara: importance Undecided High
2013-11-06 01:04:21 Robert Lyon mahara: assignee Robert Lyon (robertl-9)
2013-11-06 01:34:56 Aaron Wells description After upgrading to 1.8.0 I couldn't open the admin/upgrade.php page. The error displayed stated that mahara could not connect to the mysql db. Running on Ubuntu LTS Server. After some poking around I managed to get things running by altering the code in index.php. The new code read: // Transform $CFG->dbtype into the name of the ADODB driver we will use if (is_postgres()) { $CFG->dbtype = 'postgres7'; } else if (is_mysql()) { // If they have mysqli, use it. Otherwise, fall back to the older "mysql" extension. if (extension_loaded('mysqli')) { $CFG->dbtype = 'mysqli'; } else { $CFG->dbtype = 'mysql'; } } I replace this with: // Transform $CFG->dbtype into the name of the ADODB driver we will use if (is_postgres()) { $CFG->dbtype = 'postgres7'; } else if (is_mysql()) { // If they have mysqli, use it. Otherwise, fall back to the older "mysql" extension. //if (extension_loaded('mysqli')) { // $CFG->dbtype = 'mysqli'; //} //else { // $CFG->dbtype = 'mysql'; //} $CFG->dbtype = 'mysql'; } I also receive the error: The mysqli PHP extension is not installed on your server. Thus, Mahara is falling back to the deprecated original mysql PHP extension. We recommend installing mysqli. Trouble is that fallback doesn't seem to be working at all. Fact is mysqli is included with php5-mysql in ubuntu. Mahara doesn't seem to see that. Maybe the code that is suppose to detect that in init.php blocks connection to the server, stopping mahara from running at all. This does not happen in 1.7.x. After upgrading to 1.8.0 I couldn't open the admin/upgrade.php page. The error displayed stated that mahara could not connect to the mysql db. Running on Ubuntu LTS Server. After some poking around I managed to get things running by altering the code in init.php. The new code read:     // Transform $CFG->dbtype into the name of the ADODB driver we will use     if (is_postgres()) {         $CFG->dbtype = 'postgres7';     }     else if (is_mysql()) {         // If they have mysqli, use it. Otherwise, fall back to the older "mysql" extension.         if (extension_loaded('mysqli')) {             $CFG->dbtype = 'mysqli';         }         else {             $CFG->dbtype = 'mysql';         }     } I replace this with:     // Transform $CFG->dbtype into the name of the ADODB driver we will use     if (is_postgres()) {         $CFG->dbtype = 'postgres7';     }     else if (is_mysql()) {         // If they have mysqli, use it. Otherwise, fall back to the older "mysql" extension.         //if (extension_loaded('mysqli')) {         // $CFG->dbtype = 'mysqli';         //}         //else {         // $CFG->dbtype = 'mysql';         //}         $CFG->dbtype = 'mysql';     } I also receive the error: The mysqli PHP extension is not installed on your server. Thus, Mahara is falling back to the deprecated original mysql PHP extension. We recommend installing mysqli. Trouble is that fallback doesn't seem to be working at all. Fact is mysqli is included with php5-mysql in ubuntu. Mahara doesn't seem to see that. Maybe the code that is suppose to detect that in init.php blocks connection to the server, stopping mahara from running at all. This does not happen in 1.7.x.
2013-11-06 01:34:58 Aaron Wells mahara: milestone 1.8.1
2013-11-11 22:22:07 Son Nguyen mahara: status Confirmed Fix Committed
2013-12-17 04:34:59 Aaron Wells nominated for series mahara/1.8
2013-12-17 04:34:59 Aaron Wells bug task added mahara/1.8
2013-12-17 04:34:59 Aaron Wells nominated for series mahara/1.9
2013-12-17 04:34:59 Aaron Wells bug task added mahara/1.9
2013-12-17 04:35:08 Aaron Wells mahara/1.9: milestone 1.8.1 1.9.0
2013-12-17 04:35:12 Aaron Wells mahara/1.8: milestone 1.8.1
2013-12-17 04:35:15 Aaron Wells mahara/1.8: status New In Progress
2013-12-17 04:35:18 Aaron Wells mahara/1.8: importance Undecided High
2013-12-17 04:37:06 Aaron Wells mahara/1.8: status In Progress Fix Committed
2013-12-18 03:45:27 Aaron Wells mahara: status Fix Committed Fix Released
2013-12-18 04:22:47 Aaron Wells mahara/1.8: status Fix Committed Fix Released
2013-12-18 04:22:50 Aaron Wells mahara/1.9: status Fix Released Fix Committed
2014-04-22 21:56:04 Robert Lyon mahara: status Fix Committed Fix Released
2014-04-22 21:56:07 Robert Lyon mahara/1.9: status Fix Committed Fix Released