-
Bug
-
Resolution: Fixed
-
Blocker
-
1.9.12, 2.0.3, 2.1
-
LAMP Stack
-
MySQL
-
MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
-
wip-
MDL-27638-master -
-
Completed an upgrade from Moodle 1.9.12+ to Moodle 2.0.2+ of all of our systems. Many of my assignments in the system with user data in them are returning these errors when visited. I have turned on the full debugging.
Warning: mysqli::query(): (22003/1690): BIGINT UNSIGNED value is out of range in '(`mdl_viu_primary`.`s`.`timemarked` - `mdl_viu_primary`.`s`.`timemodified`)' in /share-viu/viu/moodlePrimary/lib/dml/mysqli_native_moodle_database.php on line 793
Error reading from database
More information about this error
Debug info: BIGINT UNSIGNED value is out of range in '(`mdl_viu_primary`.`s`.`timemarked` - `mdl_viu_primary`.`s`.`timemodified`)'
SELECT u.id,u.picture,u.firstname,u.lastname,u.imagealt,u.email,
s.id AS submissionid, s.grade, s.submissioncomment,
s.timemodified, s.timemarked,
COALESCE(SIGN(SIGN(s.timemarked) + SIGN(s.timemarked - s.timemodified)), 0) AS status FROM mdl_user u LEFT JOIN mdl_assignment_submissions s ON u.id = s.userid
AND s.assignment = 6994 WHERE u.id IN (8066,8790,13244,13314,13600,13604,14554,15678,17371,17480,17616,17695,18138,18144,18501,18526,18702,20388,20844,21230,21239,21240,21250,21256) ORDER BY lastname ASC
[array (
)]
Stack trace:
line 391 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 794 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1295 of /mod/assignment/lib.php: call to mysqli_native_moodle_database->get_records_sql()
line 642 of /mod/assignment/lib.php: call to assignment_base->display_submissions()
line 57 of /mod/assignment/submissions.php: call to assignment_base->submissions()
Replication instructions:
- log in as an admin
- create a new assignment within a course
- log in as a student and submit and assignment
- log back in as the admin
- view the assignment and click View submissions
- Ensure you see the submissions and not an error.
- caused a regression
-
MDL-29529 Error reading from database - Unknown column 'status' in 'order clause'
- Closed
-
MDL-29928 Sorting submitted assignments by status makes all assignments disappear - again
- Closed
- is duplicated by
-
MDL-26284 Problems with MySQL 5.5.8 and viewing assignments
- Closed
-
MDL-33413 I was not able to view submitted assignments in my course CIT2012C, Exercise C British English, Exercise C American English
- Closed
-
MDL-26503 Uploaded assignments are not shown to teacher
- Closed
-
MDL-27463 Cannot access assignment grading table
- Closed
-
MDL-26579 error when displaying assignments BIGINT UNSIGNED value is out of range in '(`moodle`.`s`.`timemarked` - `moodle`.`s`.`timemodified`)'
- Closed
-
MDL-26984 error al abrir tareas alzadas por el alumno
- Closed
-
MDL-28096 Unable to view "submitted assignments" (SQL error: BIGINT UNSIGNED value is out of range)
- Closed
-
MDL-27462 Cannot access assignment grading table
- Closed
-
MDL-27678 Submitted Assignments unable to be accessed
- Closed
-
MDL-28252 dmlreadexception when teacher tries to view uploaded assignments using "View 1 submitted assignments" link
- Closed
-
MDL-28380 I am not able to see submitted assignments
- Closed
-
MDL-28446 Error reading from database error/moodle/dmlreadexception 22003/1690
- Closed
-
MDL-29687 Database Error - BIGINT UNSIGNED value
- Closed
-
MDL-32795 error al leer base de datos
- Closed
-
MDL-32796 error al leer base de datos de un espacio de tareas creado
- Closed
-
MDL-34425 We can not access to the window for evaluate activities
- Closed
-
MDL-39677 Cannot view my students' assignments
- Closed