IF(qua.rightanswer = qua.responsesummary,'RIGHT','WRONG') AS right_wrong,įROM_UNIXTIME(qua.timemodified,'%m/%d/%y') AS date_of_attempted, Let me know how to map with category field in the mdl_question table? I wrote custom query in 3.7 but 4 versions not working. Moodle 4.0 removed field : column category in mdl_question table is not available in version 4.0. Line 113 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt() Line 2685 of /mod/quiz/locallib.php: call to quiz_start_new_attempt() Line 170 of /mod/quiz/locallib.php: call to quiz->load_questions() Line 182 of /mod/quiz/attemptlib.php: call to get_question_options() ![]() Line 1028 of /lib/questionlib.php: call to _tidy_question() Line 961 of /lib/questionlib.php: call to qtype_coderunner->get_question_options() Line 409 of /question/type/coderunner/questiontype.php: call to qtype_coderunner::get_prototype() Line 515 of /question/type/coderunner/questiontype.php: call to mysqli_native_moodle_database->get_records_sql() Line 1273 of /lib/dml/my sqli_native_moodle_database.php: call to moodle_database->query_end() Line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown JOIN mdl_question_categories qc ON qc.id = q.category ![]() JOIN mdl_question q ON qco.questionid = q.id Información de depuración: Unknown column 'q.category' in 'on clause' When trying to access a questionnaire I get the following error: I upgraded my installation of moodle to version 4.0 and the coderunner plugin is not working.Ĭhecking the previous version I realice that the column category in mdl_question table is not available in version 4.0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |