Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43189

Installation error: xxx_config table not found Moodle 2.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6, 3.6, 3.7
    • Fix Version/s: 3.6.7, 3.7.3
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide

      Trey the following instructions with both web installation and CLI installation methods.

      1. Attempt a fresh installation
      2. In the DB settings section, try entering different combinations of characters for the 'table prefix'
      3. Verify that only lower-case letters and underscore are accepted.
      4. Verify that the prefix cannot be longer than 4 characters.
      Show
      Trey the following instructions with both web installation and CLI installation methods. Attempt a fresh installation In the DB settings section, try entering different combinations of characters for the 'table prefix' Verify that only lower-case letters and underscore are accepted. Verify  that the prefix cannot be longer than 4 characters.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-43189-master

      Description

      If you use a capital letter in the prefix (I used sQ_ ), the installer gives a error: "table sQ_config not found" and won't proceed. It was right because the database had "sq_config" table. Deleteing all moodle tables and Manually changing prefix to small case in config.php workes.

      So either validate the prefix and tell users to use small case letter or updte the database creation scripts to have capital prefix in the table names.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Reporter:
              udayraj Udayraj Bal
              Peer reviewer:
              Jake Dallimore
              Integrator:
              Adrian Greeve
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 6 minutes
                  1d 2h 6m