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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.4
    • Course, SCORM

    Description

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

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              nebgor Aparup Banerjee
              Sam Hemelryk Sam Hemelryk
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12