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

Weekly stats breaking after MDL-41284

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • wip-MDL-46545-master
    • Hide
      1. Enable stats
      2. run cron, if you don't see "Running daily statistics gathering", adjust your system clock for some hours ahead, repeat running cron until you got the message
      3. adjust the system clock plus one day, run cron again
      4. repeat until you saw in cron messages "Running weekly statistics gathering" and "Running monthly statistics gathering"
      Show
      Enable stats run cron, if you don't see "Running daily statistics gathering", adjust your system clock for some hours ahead, repeat running cron until you got the message adjust the system clock plus one day, run cron again repeat until you saw in cron messages "Running weekly statistics gathering" and "Running monthly statistics gathering"

    Description

      Stats cron breaks with database writing error on lib/statslib.php line 699.
      The problem is in lib/statslib.php on line 704, where is missing userid column.
      This totally breaks statistics calculations.
      The same for monthly stats line 864

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              vadimon Vadim Dvorovenko
              Ankit Agarwal Ankit Agarwal
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Frédéric Massart Frédéric Massart
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Sep/14