• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

SQL guild

vemvetvad

Advanced OT User
Joined
Dec 19, 2016
Messages
248
Reaction score
161
Guild list is empty.

string(104) "INSERT INTO guilds (name, ownerid, creationdata, motd) VALUES ('Test', '6', '1621508283', '');"
(query - SQL error)
Type: voidQuery (voidQuery is used for update, insert or delete from database)

Duplicate entry '0' for key 'PRIMARY'

Anyone got a fix for this? Thanks <3
 
Seems like the primary key of the table is missing the auto_increment attribute, or has a bad primary seed.

Which server are you using, and what is the structure of your guilds table?
 
Back
Top