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

Log live ajax call leaves debugging messages in log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • Reports, Themes

      1. View the live log report
      2. tail -f /path/to/your/log/file
      3. Wait 60 seconds

      Expected

      • Nothing new in the log

      Actual

      • The following is displayed in the log

      debugging: this page did not call $page->set_url(...). using https://fred.moodle.local/im/report/loglive/loglive_ajax.php?logreader=logstore_standard&since=1398240673&page=0&id=0 in \n* line 560 of /lib/pagelib.php: call to debugging()\n* line 768 of /lib/pagelib.php: call to moodle_page->magic_get_url()\n* line 103 of /report/loglive/classes/renderable.php: call to moodle_page->__get()\n* line 48 of /report/loglive/loglive_ajax.php: call to report_loglive_renderable->__construct()\n, referer: https://fred.moodle.local/im/report/loglive/index.php
       
      debugging: coding problem: $page->context was not set. you may have forgotten to call require_login() or $page->set_context(). the page may not display correctly as a result in \n* line 453 of /lib/pagelib.php: call to debugging()\n* line 1498 of /lib/pagelib.php: call to moodle_page->magic_get_context()\n* line 637 of /lib/pagelib.php: call to moodle_page->initialise_theme_and_output()\n* line 812 of /lib/pagelib.php: call to moodle_page->magic_get_theme()\n* line 49 of /report/loglive/loglive_ajax.php: call to moodle_page->get_renderer()\n, referer: https://fred.moodle.local/im/report/loglive/index.php
      

      An Ajax script should not define its URL, perhaps it should define its context, but in any case this should be fixed broadly to allow any Ajax script to get a renderer.

            poltawski Dan Poltawski
            fred Frédéric Massart
            Petr Skoda Petr Skoda
            Marina Glancy Marina Glancy
            Marina Glancy Marina Glancy
            Votes:
            0 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.