Add-ons
  1. Add-ons
  2. CONTRIB-3307

Custom SQL queries plugin will not install in a Moodle 2.1.3+ (Build: 20111209)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.1.3
    • Fix Version/s: None
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_21_STABLE
    • Rank:
      33717

      Description

      installed the unzipped folder in ../admin/report and was shown in the Notifications page as;

      Ad-hoc database queries /admin/report/customsql Extension 2011121300 To be installed

      On installation I get the following error message;

      Plugin "report_customsql" (2011121300) could not be installed. It requires a newer version of Moodle (currently you are using 2011070103.03, you need 2011120100).

        Activity

        Hide
        Carl Hodkinson added a comment -

        This shows up below main error message

        Stack trace:

        line 313 of /lib/upgradelib.php: upgrade_requires_exception thrown
        line 1466 of /lib/upgradelib.php: call to upgrade_plugins()
        line 317 of /admin/index.php: call to upgrade_noncore()

        Show
        Carl Hodkinson added a comment - This shows up below main error message Stack trace: line 313 of /lib/upgradelib.php: upgrade_requires_exception thrown line 1466 of /lib/upgradelib.php: call to upgrade_plugins() line 317 of /admin/index.php: call to upgrade_noncore()
        Hide
        Tim Hunt added a comment -

        Where did you download it from? Did you download the version for Moodle 2.2, or the one for Moodle 2.1?

        Show
        Tim Hunt added a comment - Where did you download it from? Did you download the version for Moodle 2.2, or the one for Moodle 2.1?
        Hide
        Carl Hodkinson added a comment -

        Hi Tim - good grief that was fast!

        I got it from http://moodle.org/mod/data/view.php?d=13&rid=2884&filter=1. I did wonder if it was in the new plugins database but I couldn't find it. Sorry if I have missed it.

        Show
        Carl Hodkinson added a comment - Hi Tim - good grief that was fast! I got it from http://moodle.org/mod/data/view.php?d=13&rid=2884&filter=1 . I did wonder if it was in the new plugins database but I couldn't find it. Sorry if I have missed it.
        Hide
        Tim Hunt added a comment -

        Ah. that is out-of-date. I added it to the new plugins database yesterday (http://moodle.org/plugins/view.php?plugin=report_customsql), but the entry has not been approved yet.

        You should download it from https://github.com/timhunt/moodle-report_customsql/tree/MOODLE_21_STABLE. Look for the ZIP button in the top right.

        Show
        Tim Hunt added a comment - Ah. that is out-of-date. I added it to the new plugins database yesterday ( http://moodle.org/plugins/view.php?plugin=report_customsql ), but the entry has not been approved yet. You should download it from https://github.com/timhunt/moodle-report_customsql/tree/MOODLE_21_STABLE . Look for the ZIP button in the top right.
        Hide
        Carl Hodkinson added a comment -

        That explains it then! Thanks very much Tim.

        Show
        Carl Hodkinson added a comment - That explains it then! Thanks very much Tim.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development