← Back to team overview

mahara-contributors team mailing list archive

[Bug 1649732] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7391
Committed: https://git.mahara.org/mahara/mahara/commit/f78da224c11765b968ae2ce234b2baf57675e972
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    16.10_STABLE

commit f78da224c11765b968ae2ce234b2baf57675e972
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Fri Dec 23 12:09:26 2016 +1300

Bug 1649732: Show error message when using mysql

mysql php module is not supported any more.
mysqli should be used instead and show an error if not.

behatnotneeded

Change-Id: I018b5117f33ed6788be45a756b045870156833da
(cherry picked from commit 94bc0a81e165c292ab569c7c7e4c72803ca98261)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1649732

Title:
  MySql fallback not working in 16.10

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed

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/lib/adodb/drivers/

  But we removed the ADODB driver for 'mysql' so we can't fall back to that one any more.
  See commit 2f19a42ddd6af732e40b1aae9359ee80e28f9111

  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 manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1649732/+subscriptions


References