Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6511

Re: error/error_question_answers_missing_in_db

$
0
0
by Giancarlo De Pol.  

Hi,same issue here, 2.6.1. I can see the culprit questions by turning on Debug->Developer, they show up during Restore; the process hangs and the log shows e.g.

Error code: error_question_answers_missing_in_db
$a contents: stdClass Object
(
[filequestionid] => 18278
[dbquestionid] => 69659
[answer] => 10 N
)

they all have leading or trailing spaces, as Sam Alexander says, here there's an extra space in front of "10 N". I don't think I can use your solution from within MOODLE as administrator, so I'm chasing them one by one, which is lengthy. Is there a way I can find the question, knowing the "filequestionid" provided by the log? I mean, find where the question is in the categories, so I can edit it and drop the extra spaces?

Thanks, Giancarlo


Viewing all articles
Browse latest Browse all 6511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>