-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
Following the initial Configuration Procedure described here, i get the following Error, when trying to create an Calendar.
SQL: INSERT INTO attendance_calendar (SYEAR,SCHOOL_ID,SCHOOL_DATE,MINUTES,CALENDAR_ID) values(NULL,'1','2026-01-01','999','3')
Traceback: /var/www/html/opensis.rsiad.de/modules/schoolsetup/Calendar.php at 144
Additional Information: Column 'syear' cannot be null
sql_mode is set:
+---------------+------------------------+
| Variable_name | Value |
+---------------+------------------------+
| sql_mode | NO_ENGINE_SUBSTITUTION |
+---------------+------------------------+
When i do a var_dump of the users session i see that SYEAR is NULL:
array(15) { ["language"]=> string(2) "en" ["STAFF_ID"]=> string(1) "1" ["LAST_LOGIN"]=> string(19) "2026-03-24 08:42:05" ["UserSyear"]=> NULL ["UserSchool"]=> string(1) "1" ["PROFILE_ID"]=> string(1) "0" ["FIRST_NAME"]=> string(6) "USERSFIRSTNAME" ["LAST_NAME"]=> string(5) "LastName" ["PROFILE"]=> string(5) "admin" ["USERNAME"]=> string(5) "admin" ["FAILED_LOGIN"]=> string(1) "0" ["CURRENT_SCHOOL_ID"]=> string(1) "1" ["X"]=> string(32) "..." ["UserMP"]=> NULL ["_REQUEST_vars"]=> array(1) { ["modname"]=> string(21) "users/Preferences.php" } }
We are running Apache2.4 with PHP8.4 and MariaDB Server version: 11.8.6-MariaDB-0+deb13u1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels