You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'inherit_order' doesn't have a default value. The SQL statement executed was: INSERT INTO sb_admins_server_groups (admin_id, group_id) VALUES (:yp0, :yp1)
I created the server group 'Root Admin" with z flag
Modified user to add to 'Root Admin' server group
Clicked 'Save'
That is when the error occurred.
In PHPMyAdmin, I modified the table to set the field 'inherit_order' to have a default value of 'NULL' and tried to save the user modifications and it worked.
This did allow the changes to be saved, however, the table shows the field 'inherit_order' to be set as NULL for the user.
Added a second user to verify and both users show as NULL as expected
EDIT:
Users DO NOT have access to !admin or sm_admin
L 07/04/2013 - 12:58:09: [sb_admins.smx] SQL error receiving admin: Unknown column 'ad.lastvisit' in 'where clause'
L 07/04/2013 - 12:58:09: [sb_admins.smx] Query dump: SELECT ad.id, ad.name, ad.auth, ad.identity, ad.server_password, COUNT(ag.group_id) FROM {{admins}} AS ad LEFT JOIN {{admins_server_groups}} AS ag ON ag.admin_id = ad.id LEFT JOIN {{servers_server_groups}} AS gs ON gs.group_id = ag.group_id WHERE ((ad.auth = 'steam' AND ad.identity REGEXP '^STEAM_[0-9]:1:615883$') OR (ad.auth = 'ip' AND '169.254.201.57' REGEXP REPLACE(REPLACE(ad.identity, '.', '.') , '.0', '..{1,3}')) OR (ad.auth = 'name' AND ad.identity = 'Brooklyn ๏̯͡๏ ßþ')) AND gs.server_id = 3 AND ad.lastvisit IS NOT NULL GROUP BY ad.id
Verified that 'Root Admin' was selected under 'Server Groups' in 'sourcemod_install/index.php/servers/edit/0' as well as RCON password is set
Admin information WAS NOT written to the server cstirke/sourcemod/configs/admins.cfg file
The text was updated successfully, but these errors were encountered:
CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'inherit_order' doesn't have a default value. The SQL statement executed was: INSERT INTO
sb_admins_server_groups
(admin_id
,group_id
) VALUES (:yp0, :yp1)http://hootsclan.com/admin_server_group.html
Steps that I took to get this error:
That is when the error occurred.
In PHPMyAdmin, I modified the table to set the field 'inherit_order' to have a default value of 'NULL' and tried to save the user modifications and it worked.
This did allow the changes to be saved, however, the table shows the field 'inherit_order' to be set as NULL for the user.
Added a second user to verify and both users show as NULL as expected
EDIT:
Users DO NOT have access to !admin or sm_admin
L 07/04/2013 - 12:58:09: [sb_admins.smx] SQL error receiving admin: Unknown column 'ad.lastvisit' in 'where clause'
L 07/04/2013 - 12:58:09: [sb_admins.smx] Query dump: SELECT ad.id, ad.name, ad.auth, ad.identity, ad.server_password, COUNT(ag.group_id) FROM {{admins}} AS ad LEFT JOIN {{admins_server_groups}} AS ag ON ag.admin_id = ad.id LEFT JOIN {{servers_server_groups}} AS gs ON gs.group_id = ag.group_id WHERE ((ad.auth = 'steam' AND ad.identity REGEXP '^STEAM_[0-9]:1:615883$') OR (ad.auth = 'ip' AND '169.254.201.57' REGEXP REPLACE(REPLACE(ad.identity, '.', '.') , '.0', '..{1,3}')) OR (ad.auth = 'name' AND ad.identity = 'Brooklyn ๏̯͡๏ ßþ')) AND gs.server_id = 3 AND ad.lastvisit IS NOT NULL GROUP BY ad.id
Verified that 'Root Admin' was selected under 'Server Groups' in 'sourcemod_install/index.php/servers/edit/0' as well as RCON password is set
Admin information WAS NOT written to the server cstirke/sourcemod/configs/admins.cfg file
The text was updated successfully, but these errors were encountered: