Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14679 META: DB layer 2.0
  3. MDL-14878

preconfigure_dbconnection() stuff must be implemented in some way

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Database SQL/XMLDB
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Some libraries, like ADOdb require to perform some DEFINEs before loading the adodb stuff, for example:

      http://phplens.com/adodb/reference.constants.adodb_assoc_case.html

      This was performed by preconfigure_dbconnection() function under Moodle 1.9.

      And that code has been moved to configure_dbconnection() that is executed after the connection is performed so, that stuff defines haven't effect.

      This can be solved by simply harcoding them at the beginning of each driver, before adodb is required (in moodle_adodb_database).

            skodak Petr Skoda
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.