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

'standardold' theme broken for login page

    XMLWordPrintable

    Details

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

      Description

      On the login page (login/index.php), when the 'standardold' theme is selected, the following error is thrown

      Coding error detected, it must be fixed by a programmer: Trying to reference an unknown block region side-pre

      On checking the config.php for that theme we see:

      'login' => array(
      'file' => 'general.php',
      'regions' => array(),
      'options' => array('langmenu'=>true),
      ),

      I no next to nothing about Moodle 2 themes but it would seem that either is Moodle is looking for that region when it shouldn't or that it should actually be defined in the 'regions' array.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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