Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Freshban plugin: https://dev-cs.ru/resources/196/
CSbans web: https://github.com/craft-soft/csbans2
Amxbans version: 6.13
[EN]
Hi!
I'm having issues with the freshbans plugin.
Whenever I'm trying to unban someone, I get an error from mysql.
Log from server console:
amx_unban "STEAM_0:1:67488582" or fb_unban "STEAM_0:1:67488582"
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB][TRY TO UNBAN] [STEAM_0:1:67488582] set expired by [Server] [FB]: Player succesfully unbanned.
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]TQUERY_FAILED L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR #1452
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR Cannot add or update a child row: a foreign key constraint fails (
The user is sucessfully unbanned even if there is an error in mysql. However the person only gets unbanned after a map change.
[RU]:
Привет!
У меня проблемы с плагином Freshbans.
Всякий раз, когда я пытаюсь разбанить кого-либо, я получаю сообщение об ошибке от MySQL.
Лог с консоли сервера:
amx_unban "STEAM_0:1:67488582" or fb_unban "STEAM_0:1:67488582"
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB][TRY TO UNBAN] [STEAM_0:1:67488582] set expired by [Server] [FB]: Player succesfully unbanned.
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]TQUERY_FAILED L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR #1452
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR Cannot add or update a child row: a foreign key constraint fails (
Пользователь успешно разбанен, даже если в MySQL есть ошибка. Однако человек разбаняется только после смены карты.
CSbans web: https://github.com/craft-soft/csbans2
Amxbans version: 6.13
[EN]
Hi!
I'm having issues with the freshbans plugin.
Whenever I'm trying to unban someone, I get an error from mysql.
Log from server console:
amx_unban "STEAM_0:1:67488582" or fb_unban "STEAM_0:1:67488582"
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB][TRY TO UNBAN] [STEAM_0:1:67488582] set expired by [Server] [FB]: Player succesfully unbanned.
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]TQUERY_FAILED L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR #1452
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR Cannot add or update a child row: a foreign key constraint fails (
zyX01
.amx_logs
, CONSTRAINT logs_ibfk1
FOREIGN KEY (username
) REFERENCES amx_webadmins
(username
) ON DELETE CASCADE ON UPDATE SET NULL)The user is sucessfully unbanned even if there is an error in mysql. However the person only gets unbanned after a map change.
[RU]:
Привет!
У меня проблемы с плагином Freshbans.
Всякий раз, когда я пытаюсь разбанить кого-либо, я получаю сообщение об ошибке от MySQL.
Лог с консоли сервера:
amx_unban "STEAM_0:1:67488582" or fb_unban "STEAM_0:1:67488582"
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB][TRY TO UNBAN] [STEAM_0:1:67488582] set expired by [Server] [FB]: Player succesfully unbanned.
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]TQUERY_FAILED L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR #1452
L 03/11/2024 - 21:02:35: [fresh_bans_148-183.amxx] [FB]MYSQL ERROR Cannot add or update a child row: a foreign key constraint fails (
zyX01
.amx_logs
, CONSTRAINT logs_ibfk1
FOREIGN KEY (username
) REFERENCES amx_webadmins
(username
) ON DELETE CASCADE ON UPDATE SET NULL)Пользователь успешно разбанен, даже если в MySQL есть ошибка. Однако человек разбаняется только после смены карты.