Nanogong 4.2 nach update von moodle 1.9.* auf moodle 2.2.*
von Andreas Schenkel -
Anzahl Antworten: 0
Damit man das Nanogong-Modul in einem System verwenden kann, das bereit in Moodle 1.9.* ein installierte Nanogong enthielt muss man das alte Nanogong erst über Administration --> Plugins --> Übersicht löschen und anschließend das neue Modul gemäß der Anleitung installieren.
Anderenfalls kommt eine Fehlermeldung
Debug info: Field 'message' doesn't have a default value
INSERT INTO mdl_nanogong (name,maxduration,course,timecreated) VALUES(?,?,?,?)
[array (
0 => 'Testnanogong',
1 => '300',
2 => '575',
3 => 1340370510,
)]
Stack trace:
line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 893 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 935 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 91 of /mod/nanogong/lib.php: call to mysqli_native_moodle_database->insert_record()
line 443 of /course/modedit.php: call to nanogong_add_instance()