Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Themes
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 Moodle 2.0 Public 4 Build 20100812, client Windows 7 Browser IE 8
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When you click on any Calendar enteries for upcoming events or on the frontpage you receive the following error on the page (Debugging turned on)

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

      More information about this error

      Stack trace:
      ?line 782 of /lib/blocklib.php: coding_exception thrown
      ?line 411 of /lib/blocklib.php: call to block_manager->check_region_is_known()
      ?line 179 of /calendar/renderer.php: call to block_manager->add_pretend_block()
      ?line 2359 of /calendar/lib.php: call to core_calendar_renderer->add_pretend_calendar_block()
      ?line 163 of /calendar/view.php: call to calendar_information->add_sidecalendar_blocks()

        Gliffy Diagrams

          Activity

          Hide
          digitalmess Aaron Cowell added a comment -
          • Fix is to change the ./theme/formal_white/config.php code for
            'standard' => array(
            'file' => 'general.php',
            'regions' => array('side-pret'),
            'defaultregion' => 'side-pre'
            ),

          to...

          'standard' => array(
          'file' => 'general.php',
          'regions' => array('side-post'),
          'defaultregion' => 'side-post'
          ),

          Attached change

          Show
          digitalmess Aaron Cowell added a comment - Fix is to change the ./theme/formal_white/config.php code for 'standard' => array( 'file' => 'general.php', 'regions' => array('side-pret'), 'defaultregion' => 'side-pre' ), to... 'standard' => array( 'file' => 'general.php', 'regions' => array('side-post'), 'defaultregion' => 'side-post' ), Attached change
          Hide
          ptrkmkl Patrick Malley added a comment -

          John,

          Aaron has posted a fix for this. Can you please have a look and commit the change?

          Patrick

          Show
          ptrkmkl Patrick Malley added a comment - John, Aaron has posted a fix for this. Can you please have a look and commit the change? Patrick
          Hide
          epsd John Stabinger added a comment -

          Tested and fixed. It was the line in the config as noted by the reporter.

          Show
          epsd John Stabinger added a comment - Tested and fixed. It was the line in the config as noted by the reporter.

            People

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

              Dates

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