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

Debugging notices: on auth/test_settings.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      Reproducable on demo.moodle.net with the following steps:

      1. Log in as administrator
      2. Turn on developer debugging
      3. Navigate to "Manage Authentication Plugins"
      4. Click on "Test Settings" located on the external database row.
      5. Click the "Purge Caches" link on the bottom of the page

      Result: Debugging notices listed below

      Some HTML tags were opened in the body of the page but not closed.
       
          Open header/footer at:
              line 2303 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 1083 of /lib/outputrenderers.php: call to xhtml_container_stack->push()
              line 43 of /auth/test_settings.php: call to core_renderer->header()
          Close header/footer at:
              line 2331 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 1128 of /lib/outputrenderers.php: call to xhtml_container_stack->pop()
              line 65 of /auth/test_settings.php: call to core_renderer->footer()
          Open box at:
              line 2303 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 3075 of /lib/outputrenderers.php: call to xhtml_container_stack->push()
              line 67 of /theme/boost/classes/output/core_renderer.php: call to core_renderer->box_start()
              line 3063 of /lib/outputrenderers.php: call to theme_boost\output\core_renderer->box_start()
              line 2783 of /lib/outputrenderers.php: call to core_renderer->box()
              line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
              line ? of unknownfile: call to default_exception_handler()
          Close box at:
              line 2331 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 3087 of /lib/outputrenderers.php: call to xhtml_container_stack->pop()
              line 3063 of /lib/outputrenderers.php: call to core_renderer->box_end()
              line 2783 of /lib/outputrenderers.php: call to core_renderer->box()
              line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
              line ? of unknownfile: call to default_exception_handler()
       
          line 2348 of /lib/outputlib.php: call to debugging()
          line 1173 of /lib/outputrenderers.php: call to xhtml_container_stack->pop_all_but_last()
          line 1126 of /lib/outputrenderers.php: call to core_renderer->container_end_all()
          line 2805 of /lib/outputrenderers.php: call to core_renderer->footer()
          line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
          line ? of unknownfile: call to default_exception_handler()
       
      There are no more open containers. This suggests there is a nesting problem.
       
          Open header/footer at:
              line 2303 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 1083 of /lib/outputrenderers.php: call to xhtml_container_stack->push()
              line 43 of /auth/test_settings.php: call to core_renderer->header()
          Close header/footer at:
              line 2331 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 1128 of /lib/outputrenderers.php: call to xhtml_container_stack->pop()
              line 65 of /auth/test_settings.php: call to core_renderer->footer()
          Open box at:
              line 2303 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 3075 of /lib/outputrenderers.php: call to xhtml_container_stack->push()
              line 67 of /theme/boost/classes/output/core_renderer.php: call to core_renderer->box_start()
              line 3063 of /lib/outputrenderers.php: call to theme_boost\output\core_renderer->box_start()
              line 2783 of /lib/outputrenderers.php: call to core_renderer->box()
              line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
              line ? of unknownfile: call to default_exception_handler()
          Close box at:
              line 2331 of /lib/outputlib.php: call to xhtml_container_stack->log()
              line 3087 of /lib/outputrenderers.php: call to xhtml_container_stack->pop()
              line 3063 of /lib/outputrenderers.php: call to core_renderer->box_end()
              line 2783 of /lib/outputrenderers.php: call to core_renderer->box()
              line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
              line ? of unknownfile: call to default_exception_handler()
       
          line 2319 of /lib/outputlib.php: call to debugging()
          line 1128 of /lib/outputrenderers.php: call to xhtml_container_stack->pop()
          line 2805 of /lib/outputrenderers.php: call to core_renderer->footer()
          line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
          line ? of unknownfile: call to default_exception_handler()
       
      Authentication plugin not found.
      Debug info:
      Error code: authpluginnotfound
      Stack trace:
       
          line 496 of /lib/setuplib.php: moodle_exception thrown
          line 3722 of /lib/moodlelib.php: call to print_error()
          line 68 of /auth/test_settings.php: call to get_auth_plugin()
       
      Coding error detected, it must be fixed by a programmer: Invalid state passed to moodle_page::set_state. We are in state 3 and state 3 was requested.
      Debug info:
      Error code: codingerror
      Stack trace:
       
          line 955 of /lib/pagelib.php: coding_exception thrown
          line 1158 of /lib/outputrenderers.php: call to moodle_page->set_state()
          line 2805 of /lib/outputrenderers.php: call to core_renderer->footer()
          line 388 of /lib/setuplib.php: call to core_renderer->fatal_error()
          line ? of unknownfile: call to default_exception_handler()
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sbourget Stephen Bourget
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: