• 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!

Mysql and gesior guild problem

Ashbringer

Almighty Ashe
Joined
Dec 24, 2011
Messages
334
Reaction score
18
Location
Germany
Hey when i try to enter guilds on my website i got this error
Error message: Unknown column 'guilds.create_ip' in 'field list'

how do i fix it?
@Limos

please @Limos can u help me with this?
 
Last edited by a moderator:
Which server do you use? is the gesior version for that server version?
yes it is , i use tfs 0.4 and right gesior version

+ when i drop it and try to re-create it right its something with forgein keys and
#1005 - Can't create table 'otserver.guilds' (errno: 150)
 
Code:
ALTER TABLE `guilds` ADD `create_ip` int(11) NOT NULL DEFAULT 0;

There is no need to delete/readd the table guilds.
 
Code:
ALTER TABLE `guilds` ADD `create_ip` int(11) NOT NULL DEFAULT 0;

There is no need to delete/readd the table guilds.
thanks fixed now , but now i have this problem

Table 'otserver.guild_invites' doesn't exist

and i cant create it , it only says #1146 - Table 'otserver.guilds_invites' doesn't exist when i try to create it
 
Code:
CREATE TABLE `guild_invites`
(
   `player_id` INT NOT NULL DEFAULT 0,
   `guild_id` INT NOT NULL DEFAULT 0,
   UNIQUE (`player_id`, `guild_id`),
   FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE,
   FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;
 
Code:
CREATE TABLE `guild_invites`
(
   `player_id` INT NOT NULL DEFAULT 0,
   `guild_id` INT NOT NULL DEFAULT 0,
   UNIQUE (`player_id`, `guild_id`),
   FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE,
   FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;
when i try that it says Table 'otserver.guild_invites' doesn't exist
 
Back
Top Bottom