Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      27138

      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()

        Activity

        Hide
        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
        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
        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
        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
        John Stabinger added a comment -

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

        Show
        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: