Quiz

 
 
Picture of Steven Spoon
Re: Disappearing quizzes
 
Emma, I get this when I did a restore on one of the quizzes. Also, I have two of the same quizzes and neither is visible. 
 
 
Error: mdb->get_record() found more than one record!
  • line 1372 of /lib/dml/moodle_database.php: call to debugging()
  • line 1433 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 156 of /backup/moodle2/restore_qtype_plugin.class.php: call to moodle_database->get_field_sql()
  • line 131 of /backup/util/plan/restore_structure_step.class.php: call to restore_qtype_plugin->process_question_answer()
  • line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 125 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
  • line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
  • line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
  • line 169 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
  • line 253 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 105 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 315 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 147 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
  • line 46 of /backup/restore.php: call to restore_ui->execute()
Error: mdb->get_record() found more than one record!
  • line 1372 of /lib/dml/moodle_database.php: call to debugging()
  • line 1433 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 156 of /backup/moodle2/restore_qtype_plugin.class.php: call to moodle_database->get_field_sql()
  • line 131 of /backup/util/plan/restore_structure_step.class.php: call to restore_qtype_plugin->process_question_answer()
  • line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 125 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
  • line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
  • line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
  • line 169 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
  • line 253 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 105 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 315 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 147 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
  • line 46 of /backup/restore.php: call to restore_ui->execute()
Error: mdb->get_record() found more than one record!
  • line 1372 of /lib/dml/moodle_database.php: call to debugging()
  • line 1433 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 156 of /backup/moodle2/restore_qtype_plugin.class.php: call to moodle_database->get_field_sql()
  • line 131 of /backup/util/plan/restore_structure_step.class.php: call to restore_qtype_plugin->process_question_answer()
  • line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 125 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
  • line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
  • line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
  • line 169 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
  • line 253 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 105 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 315 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 147 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
  • line 46 of /backup/restore.php: call to restore_ui->execute()
Enrol plugin data can not be restored because it is not enabled
  • line 1523 of /backup/moodle2/restore_stepslib.php: call to debugging()
  • line 131 of /backup/util/plan/restore_structure_step.class.php: call to restore_enrolments_structure_step->process_enrol()
  • line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 125 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
  • line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
  • line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
  • line 169 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
  • line 253 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 105 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 315 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 147 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
  • line 46 of /backup/restore.php: call to restore_ui->execute()
Enrol plugin data can not be restored because it is not enabled
  • line 1523 of /backup/moodle2/restore_stepslib.php: call to debugging()
  • line 131 of /backup/util/plan/restore_structure_step.class.php: call to restore_enrolments_structure_step->process_enrol()
  • line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
  • line 125 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
  • line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
  • line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
  • line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
  • line 169 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
  • line 253 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
  • line ? of unknownfile: call to progressive_parser->end_tag()
  • line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
  • line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
  • line 105 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
  • line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
  • line 163 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
  • line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
  • line 315 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
  • line 147 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
  • line 46 of /backup/restore.php: call to restore_ui->execute()
 
Average of ratings: -
Picture of Emma Richardson
Re: Disappearing quizzes
Group Particularly helpful Moodlers

I have seen the same error (first set) with restoring quizzes though it does not seem to stop them from restoring.  Did the student data come into the new quiz?

The second set of errors seem to relate to the user data. I am at a loss here short of looking at the database, trying to find the quiz in question and seeing it there is still an end date there somewhere.

What does the gradebook look like?  Are grades from the quiz there and unhidden?

Could you post screenshots of the quiz settings and course page when logged in as student and as teacher? 

 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Emma, I finally deleted the tests, reinstalled, and manually transferred the test scores. I have the same problem that I had before, the same two tests aren't visible.

I will post some screen shots asap. Thanks!

 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Here is the employee's perspective.


 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Here is the administrative view.


 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Here is the quiz Timing setting.


 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Here is the Restrictions setting.


 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Emma, I have figured out how to look at the database. However, I couldn't really figure out how to determine which particular quiz to look for as they were numbered. I have more than one quiz named "Customer Service" but they are in different courses. Can you tell me how to find this particular test (Period 1 Home > Customer Service)? Thanks!

 
Average of ratings: -
Picture of Emma Richardson
Re: Disappearing quizzes
Group Particularly helpful Moodlers

The quiz number  is in the URL. The quiz that you posted screenshots of is quiz 222.

 

 
Average of ratings: -
Tim at Lone Pine Koala Sanctuary
Re: Disappearing quizzes
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

It looks like it is not hte quiz being hidden, but that whole section (week/topic) of the course. Can you check the settings on the section.

 
Average of ratings: -
Picture of Steven Spoon
Re: Disappearing quizzes
 

Emma, that is good information to know, thank you.

Tim, if you had told me that a couple of days ago I would have kissed you! I would have never thought about the whole section being restricted but that was the problem. Why I set those two sections to close I don't know. Anyway, thanks for giving me the solution!

Emma, thank you soooo much for hanging with me in trying to get this resolved. Hope you both have a great week!

 
Average of ratings: -
Picture of Emma Richardson
Re: Disappearing quizzes
Group Particularly helpful Moodlers

Nice catch Tim - I had looked the eye icon under the admin picture and it was open so didn't think that was it!  

Glad we finally got there! 

 
Average of ratings: -