Chyby v errorlogu Moodle 2.1

Re: Chyby v errorlogu Moodle 2.1

autor Tomáš Kubiš -
Počet odpovědí: 0
Problém dělá desetinná tečka/čárka i v modulu známek:

[Tue Jan 10 09:10:06 2012] [error] [client 192.168.10.59] Default exception handler: Chyba z\xc3\xa1pisu do datab\xc3\xa1ze Debug: ERROR:  invalid input syntax for type numeric: "1,2332"\nUPDATE mdl_grade_grades SET itemid = $1,userid = $2,rawgrade = $3,rawgrademax = $4,rawgrademin = $5,rawscaleid = $6,usermodified = $7,finalgrade = $8,hidden = $9,locked = $10,locktime = $11,exported = $12,overridden = $13,excluded = $14,timecreated = $15,timemodified = $16 WHERE id=$17\n[array (\n  'itemid' => '10667',\n  'userid' => '29787',\n  'rawgrade' => NULL,\n  'rawgrademax' => 100,\n  'rawgrademin' => 0,\n  'rawscaleid' => NULL,\n  'usermodified' => NULL,\n  'finalgrade' => 1.2332,\n  'hidden' => '0',\n  'locked' => '0',\n  'locktime' => '0',\n  'exported' => '0',\n  'overridden' => '0',\n  'excluded' => '0',\n  'timecreated' => NULL,\n  'timemodified' => NULL,\n  0 => '306428',\n)]\n* line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown\n* line 232 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()\n* line 936 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()\n* line 976 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->update_record_raw()\n* line 220 of /lib/grade/grade_object.php: call to pgsql_native_moodle_database->update_record()\n* line 741 of /lib/grade/grade_grade.php: call to grade_object->update()\n* line 626 of /lib/grade/grade_category.php: call to grade_grade->update()\n* line 494 of /lib/grade/grade_category.php: call to grade_category->aggregate_grades()\n* line 652 of /lib/grade/grade_item.php: call to grade_category->generate_grades()\n* line 1067 of /lib/gradelib.php: call to grade_item->regrade_final_grades()\n* line 287 of /grade/edit/tree/index.php: call to grade_regrade_final_grades()\n, referer: https://elearning.vspj.cz/grade/edit/tree/index.php?sesskey=rm3JNuZVqa&showadvanced=0&id=672