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

redirect() shows ugly error if called after page output has been made

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.2
    • Course, SCORM

      error seen:

      You should really redirect before you start page output

      line 560 of /lib/outputrenderers.php: call to debugging()
      line 2497 of /lib/weblib.php: call to core_renderer->redirect_message()
      line 714 of /mod/scorm/locallib.php: call to redirect()
      line 14 of /course/format/scorm/format.php: call to scorm_course_format_display()
      line 240 of /course/view.php: call to require()

            marina Marina Glancy
            nebgor Aparup Banerjee
            Sam Hemelryk Sam Hemelryk
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.