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

Problem downloading statistics in Quiz

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.1.5
    • Quiz
    • None
    • OS: CentOS 7
      Webservice: Apache and nginx + php-fpm
    • MySQL
    • MOODLE_31_STABLE

      In quiz activity, when we go to "Results-> Statistics" and try to download tables or report (Quiz information) or "Quiz structure analysis" in format csv, xls or ods we get an 500 error.

      The debug log error are

       

      PHP Fatal error:  Call to a member function close() on a non-object in /var/www/html/moodle/lib/classes/dataformat/spout_base.php on line 102, referer: http://xxx.xxxx.xx/mod/quiz/report.php?id=197196&mode=statistics

       Steps to reproduce:

      1.- In a course create a quiz

      2.- Answer the quiz with some students

      3.- As teacher go to Results --> Statistics

      4.- in "Quiz Information" section  or "Quiz structure analysis" section press "Download" selecting CSV, XLS or ODS format 

       

      We test this in several moodle installation and we get the same error.

            timhunt Tim Hunt
            massoglia Carlos Massoglia
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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