Hello,
I can’t change the permissions on the applications from my production server. It works fine locally though.
Every time I save a modification and an option is unchecked (example: Insert), the value “UL” is saved in the database and generates an error.
mysqli): UPDATE sec_groups_apps SET priv_access = 'Y', priv_insert = 'UL', priv_delete = 'UL', priv_update = 'UL', priv_export = 'UL', priv_print = 'UL' WHERE group_id = 2 and app_name = 'Confidential_info_list' Query: UPDATE sec_groups_apps SET priv_access = 'Y', priv_insert = 'UL', priv_delete = 'UL', priv_update = 'UL', priv_export = 'UL', priv_print = 'UL' WHERE group_id = 2 and app_name = 'Confidential_Info_list' failed. Data too long for column 'priv_insert' at row 1
1406: Data too long for column 'priv_insert' at row 1
ADOConnection._Execute(UPDATE sec_groups_apps SET priv_access = 'Y', priv_insert = 'UL', priv_delete = 'UL', priv_update = 'UL', priv_export = 'UL', pr..., false) % line 1149, file: [adodb.inc.php](file://var/www/html/_lib/prod/third/adodb/adodb.inc.php) ADOConnection.Execute(UPDATE sec_groups_apps SET priv_access = 'Y', priv_insert = 'UL', priv_delete = 'UL', priv_update = 'UL', priv_export = 'UL', pr...) % line 3832, file: [ap_form_sec_groups_apps_apl.php](file://var/www/html/ap_form_sec_groups_apps/ap_form_sec_groups_apps_apl.php) ap_form_sec_groups_apps_apl.nm_acessa_banco() % line 1937, file: [ap_form_sec_groups_apps_apl.php](file://var/www/html/ap_form_sec_groups_apps/ap_form_sec_groups_apps_apl.php) ap_form_sec_groups_apps_apl.controle_form_vert() % line 1583, file: [ap_form_sec_groups_apps_apl.php](file://var/www/html/ap_form_sec_groups_apps/ap_form_sec_groups_apps_apl.php) ap_form_sec_groups_apps_apl.control() % line 2404, file: [index.php](file://var/www/html/ap_form_sec_groups_apps/index.php)
Where can this error come from? UL, can it come from the word NULL in the database?
Thanks