Zdravím, až do teď jsem s testy neměl problém, ale při započetí testu nyní obdržím chybu a vůbec netuším co se děje. Navíc to není u jednoto testu, ale u vícero. Minulý týden vše fungovalo a žádné změny jsem nedělal. Můžete mi někdo poradit? Díky. Používáme ISS+MSSQL.
Debug info: The statement has been terminated.
INSERT INTO mdl_question_attempt_steps (questionattemptid,sequencenumber,state,fraction,timecreated,userid) OUTPUT inserted.id VALUES (?,?,?,?,?,?)
[array (
0 => 20806,
1 => 0,
2 => 'todo',
3 => NULL,
4 => 1351762406,
5 => '22',
)]
Stack trace:
-
line 397 of \lib\dml\moodle_database.php: dml_write_exception thrown
-
line 255 of \lib\dml\mssql_native_moodle_database.php: call to moodle_database->query_end()
-
line 844 of \lib\dml\mssql_native_moodle_database.php: call to mssql_native_moodle_database->query_end()
-
line 897 of \lib\dml\mssql_native_moodle_database.php: call to mssql_native_moodle_database->insert_record_raw()
-
line 176 of \question\engine\datalib.php: call to mssql_native_moodle_database->insert_record()
-
line 122 of \question\engine\datalib.php: call to question_engine_data_mapper->insert_question_attempt_step()
-
line 90 of \question\engine\datalib.php: call to question_engine_data_mapper->insert_question_attempt()
-
line 93 of \question\engine\lib.php: call to question_engine_data_mapper->insert_questions_usage_by_activity()
-
line 229 of \mod\quiz\startattempt.php: call to question_engine::save_questions_usage_by_activity()