I was wondering if there's a way to fix this error in my console:
If so can you show me how to fix it? I need this badly ASAP!
Code:
[02/07/2009 14:28:44] > MySQL ERROR mysql_real_query: SELECT `ip`, `mask`, `time` FROM `bans` WHERE `type` = 1; Unknown column 'ip' in 'field list'
[02/07/2009 14:28:44] > MySQL ERROR mysql_real_query: SELECT `type` FROM `bans` WHERE `type` = 2 AND `player` = 26 LIMIT 1; Unknown column 'player' in 'where clause'
[02/07/2009 14:28:44] > MySQL ERROR mysql_real_query: SELECT `banned_by`, `time`, `reason_id`, `action_id`, `comment` FROM `bans` WHERE `type` = 3 AND `account` = 508923 AND `time` > 1246562924 LIMIT 1; Unknown column 'banned_by' in 'field list'
[02/07/2009 14:28:44] > MySQL ERROR mysql_real_query: SELECT `banned_by`, `time`, `reason_id`, `action_id`, `comment` FROM `bans` WHERE `type` = 5 AND `account` = 508923 LIMIT 1; Unknown column 'banned_by' in 'field list'
If so can you show me how to fix it? I need this badly ASAP!