Moodle

Quiz results export to Excel does not work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.2
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Quiz results export to Excel does not work.
Produces the following error messages:

Warning: Cannot modify header information - headers already sent by (output started at moodle\question\type\regexp\expandregexp.php:524) in moodle\lib\pear\Spreadsheet\Excel\Writer.php on line 67

Warning: Cannot modify header information - headers already sent by (output started at moodle\question\type\regexp\expandregexp.php:524) in moodle\lib\pear\Spreadsheet\Excel\Writer.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at moodle\question\type\regexp\expandregexp.php:524) in moodle\lib\pear\Spreadsheet\Excel\Writer.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at moodle\question\type\regexp\expandregexp.php:524) in moodle\lib\pear\Spreadsheet\Excel\Writer.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at moodle\question\type\regexp\expandregexp.php:524) in moodle\lib\pear\Spreadsheet\Excel\Writer.php on line 71

Notice: Undefined variable: table in moodle\mod\quiz\report\overview\report.php on line 355

Fatal error: Call to a member function get_sql_sort() on a non-object in moodle\mod\quiz\report\overview\report.php on line 355

Issue Links

Activity

Hide
Pierre Pichet added a comment -

Work is current done by Jamie Pratt on the reports.MDL-14197
It works correctly in Head.
So I assign this to jamie

Show
Pierre Pichet added a comment - Work is current done by Jamie Pratt on the reports.MDL-14197 It works correctly in Head. So I assign this to jamie
Hide
Pierre Pichet added a comment -

Effectively not working on 1.9 build 20080524 with one exception there is a excel file created but it just contains the following cell
<b>Fatal error</b>: Call to a member function get_sql_sort() on a non-object in <b>C:\moodle\moodle\site\moodle_19\mod\quiz\report\overview\report.php</b> on line <b>355</b><br />

Show
Pierre Pichet added a comment - Effectively not working on 1.9 build 20080524 with one exception there is a excel file created but it just contains the following cell <b>Fatal error</b>: Call to a member function get_sql_sort() on a non-object in <b>C:\moodle\moodle\site\moodle_19\mod\quiz\report\overview\report.php</b> on line <b>355</b><br />
Hide
Stephan Goeldi added a comment -

1. There is a problem with regexp. Remove this question type and header errors where fixed.
2. The excel file with only one cell, like Pierre Pichet is reporting still exist and need to be fixed!

Show
Stephan Goeldi added a comment - 1. There is a problem with regexp. Remove this question type and header errors where fixed. 2. The excel file with only one cell, like Pierre Pichet is reporting still exist and need to be fixed!
Hide
Stephan Goeldi added a comment -

There's a patch for export
http://tracker.moodle.org/browse/MDL-15047

Show
Stephan Goeldi added a comment - There's a patch for export http://tracker.moodle.org/browse/MDL-15047
Hide
Jamie Pratt added a comment -

Going to close this bug as it is a duplicate and the other bug has a patch attached.

Show
Jamie Pratt added a comment - Going to close this bug as it is a duplicate and the other bug has a patch attached.
Hide
Joseph Rézeau added a comment -

Stephan Goeldi - 29/May/08 02:33 PM wrote : 1. There is a problem with regexp. Remove this question type and header errors where fixed.
There was indeed a problem of empty lines at the end of file expandregexp.php, which I have removed and all is back to normal now.
Joseph

Show
Joseph Rézeau added a comment - Stephan Goeldi - 29/May/08 02:33 PM wrote : 1. There is a problem with regexp. Remove this question type and header errors where fixed. There was indeed a problem of empty lines at the end of file expandregexp.php, which I have removed and all is back to normal now. Joseph

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: