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

Add token administration page doesn't work anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Coding error detected, it must be fixed by a programmer: The theme has already been set up for this page ready for output. Therefore, you can no longer change the theme, or anything that might affect what the current theme is, for example, the course.

      More information about this error
      Debug info: Stack trace when the theme was set up: <ul style="text-align: left"><li>line 905 of /lib/setuplib.php: call to moodle_page->initialise_theme_and_output()</li><li>line ? of unknownfile: call to bootstrap_renderer->__call()</li><li>line 5295 of /lib/adminlib.php: call to bootstrap_renderer->single_button()</li><li>line 47 of /admin/webservice/tokens.php: call to admin_externalpage_setup()</li></ul>
      Stack trace:

      • line 1319 of /lib/pagelib.php: coding_exception thrown
      • line 665 of /lib/pagelib.php: call to moodle_page->ensure_theme_not_set()
      • line 2142 of /lib/moodlelib.php: call to moodle_page->set_course()
      • line 49 of /admin/webservice/tokens.php: call to require_login()

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            jerome Jérôme Mouneyrac
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10