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

install should not require any database



    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Installation
    • Labels:


      Create an empty db.
      Create a user with right permissions over the db.
      git clone moodle somewhere.
      Start the web installation (I don't know if the CLI installation works or not).
      All is fine until the output of the config. Once I received it, I copied it to my server.

      I also added some debug settings like:

      $CFG->debug = E_ALL | E_STRICT;
      $CFG->debugdisplay = true;
      $CFG->debugpageinfo = true;

      When I returned to firefox and I pressed the "Next" button down the config content I received:
      Table "config_plugins" does not exist
      Debug info:
      Error code: ddltablenotexist
      Stack trace:

      line 652 of /lib/dml/moodle_database.php: dml_exception thrown
      line 1337 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
      line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_records()
      line 1506 of /lib/moodlelib.php: call to moodle_database->get_records_menu()
      line 70 of /lib/outputlib.php: call to get_config()
      line 970 of /lib/outputlib.php: call to theme_get_sub_revision_for_theme()
      line 631 of /lib/outputrenderers.php: call to theme_config->css_urls()
      line 110 of /theme/boost/classes/output/core_renderer.php: call to core_renderer->standard_head_html()
      line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_boost\output\core_renderer->standard_head_html()
      line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
      line 35 of /var/data/moodledataiscrizioni/localcache/mustache/1/boost/__Mustache_92e980e30512ff44b2ebd88c256cc2ab.php: call to Mustache_Context->findDot()
      line 68 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_92e980e30512ff44b2ebd88c256cc2ab->renderInternal()
      line 177 of /lib/outputrenderers.php: call to Mustache_Template->render()
      line 34 of /theme/boost/layout/maintenance.php: call to renderer_base->render_from_template()
      line 1172 of /lib/outputrenderers.php: call to include()
      line 1102 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line ? of unknownfile: call to core_renderer->header()
      line 437 of /lib/outputrenderers.php: call to call_user_func_array()
      line 49 of /admin/renderer.php: call to plugin_renderer_base->__call()
      line 49 of /admin/renderer.php: call to theme_boost\output\core\admin_renderer->header()
      line 229 of /admin/index.php: call to core_admin_renderer->install_licence_page()


          Issue Links



              • Votes:
                1 Vote for this issue
                5 Start watching this issue


                • Created:
                  Fix Release Date: