Moodle
  1. Moodle
  2. MDL-25639

page output was already started at redirect time

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      By selecting
      Site administration > Reports > Course overview
      when statistics have not yet been enabled
      and Development > Debugging > Debug messages is set to DEVELOPER
      the following message is displayed:

      You should really redirect before you start page output

      • line 551 of /lib/outputrenderers.php: call to debugging()
      • line 2455 of /lib/weblib.php: call to core_renderer->redirect_message()
      • line 16 of /admin/report/courseoverview/index.php: call to redirect()

      Stats have not yet been enabled on this site.

        Gliffy Diagrams

          Activity

          Hide
          Daren Chandisingh added a comment -

          This is fixed and available from the LUNS public repository:

          https://git.luns.net.uk/?p=moodle.git;a=shortlog;h=refs/heads/MDL-25639

          Show
          Daren Chandisingh added a comment - This is fixed and available from the LUNS public repository: https://git.luns.net.uk/?p=moodle.git;a=shortlog;h=refs/heads/MDL-25639
          Hide
          Petr Skoda added a comment -

          Hello, please resolve after PULL request is filed here.

          Show
          Petr Skoda added a comment - Hello, please resolve after PULL request is filed here.
          Hide
          Helen Foster added a comment -

          Daniele, thanks for your report and Daren, thanks for your fix.

          Marking as resolved since PULL-217 was created.

          Show
          Helen Foster added a comment - Daniele, thanks for your report and Daren, thanks for your fix. Marking as resolved since PULL-217 was created.
          Hide
          Helen Foster added a comment -

          Fix included in the weekly 2.0.1+.

          Show
          Helen Foster added a comment - Fix included in the weekly 2.0.1+.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: