error/moodle/error question answers missing in db: Difference between revisions
From MoodleDocs
Chris Egle (talk | contribs) (Created page with "This error means that you have records in your '''mdl_question_answers''' table that no longer have a matching question in the '''mdl_question''' table. Here's a way to find the...") |
Chris Egle (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This | This could mean that you have a question in your quiz or dataset that is not restoring properly. | ||
== Possible solutions == | |||
1. Restore the questions manually into your course and recreate the quiz. | |||
2. Try copying system level questions into the course. Use the '''edit''' button and then click the '''Make copy''' button at the bottom of the page. Then try moving it. If that triggers an error, then you know which question is causing the problem. | |||
== Other notes == | |||
The file that is throwing this error is /backup/moddle2/restore_qtype_plugin.class.php around line 159. | |||
Revision as of 21:07, 20 June 2012
This could mean that you have a question in your quiz or dataset that is not restoring properly.
Possible solutions
1. Restore the questions manually into your course and recreate the quiz.
2. Try copying system level questions into the course. Use the edit button and then click the Make copy button at the bottom of the page. Then try moving it. If that triggers an error, then you know which question is causing the problem.
Other notes
The file that is throwing this error is /backup/moddle2/restore_qtype_plugin.class.php around line 159.