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

Statistics not working for any course but front page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Unknown
    • Labels:
      None
    • Environment:
      Apache 2, Mysql 5.0.91 PHP 5.2.13
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Statistics not working for any course but front page... returns following error:

      Did you remember to make the first column something unique in your call to get_records? Duplicate value
      '1292648400' found in column 'timeend'.
      line 768 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
      line 1256 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
      line 1331 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
      line 857 of /lib/statslib.php: call to moodle_database->get_field_sql()
      line 1446 of /lib/statslib.php: call to stats_get_start_from()
      line 44 of /course/report/stats/index.php: call to stats_check_uptodate()

      Fatal error: Call to undefined method moodle_page::headingmenu() in
      /home/accountname/public_html/course/report/stats/index.php on line 58

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poltawski Dan Poltawski
                Reporter:
                jwatkins Jeffery Watkins
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Feb/11