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

Installation of new site via UI is broken

    XMLWordPrintable

    Details

      Description

      There is a regression caused by MDL-71795 which prevents new site installation via UI. When it tries to render the confirmation page it hits

                      $coursecontext = context_course::instance($courseid);
      

      And dies

      Full error:

      Error
      Table "context" does not exist
      Debug info:
      Error code: ddltablenotexist
      Stack trace:
      line 665 of /lib/dml/moodle_database.php: dml_exception thrown
      line 1621 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
      line 7004 of /lib/accesslib.php: call to moodle_database->get_record()
      line 324 of /lib/outputrequirementslib.php: call to context_course::instance()
      line 115 of /lib/outputrenderers.php: call to page_requirements_manager->get_config_for_javascript()
      line 172 of /lib/outputrenderers.php: call to renderer_base->get_mustache()
      line 34 of /theme/boost/layout/maintenance.php: call to renderer_base->render_from_template()
      line 1396 of /lib/outputrenderers.php: call to include()
      line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 500 of /lib/outputrenderers.php: call to core_renderer->header()
      line 49 of /admin/renderer.php: call to plugin_renderer_base->__call()
      line 224 of /admin/index.php: call to core_admin_renderer->install_licence_page()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ilyatregubov Ilya Tregubov
              Reporter:
              ilyatregubov Ilya Tregubov
              Peer reviewer:
              Carlos Escobedo Carlos Escobedo
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Angelia Dela Cruz Angelia Dela Cruz
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m