View Single Post
Author Message
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 01-14-2019 , 10:16   SOLVED: bid every ban is 0
Reply With Quote #1

Hello, when i ban someone, and i try to add a antoher ban, that give me this error here: [sbpp_main.smx] Verify Insert Query Failed: Duplicate entry '0' for key 'PRIMARY'

So i go to the database, sb_bans and add the number to the right one, how i can fix this problem?



If you need more infos, let me know

EDIT: THIS FIXED MY PROBLEM
Quote:
ALTER TABLE `sb_bans` CHANGE `bid` `bid` INT( 6 ) NOT NULL AUTO_INCREMENT

Last edited by freak.exe_uLow; 01-14-2019 at 17:29.
freak.exe_uLow is offline