Ir para conteúdo

Posts Recomendados

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason' in 'field list'' in C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\pot\OTS_Account.php(955): OTS_AccountBan->find('9377441') #2 C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\accountmanagement.php(34): OTS_Account->isBanned() #3 C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\index.php(214): include('C:\Documents an...') #4 {main} thrown in C:\Documents and Settings\Administrador.LUIZ-D8FCBE5BCA\Meus documentos\xampp\htdocs\pot\OTS_AccountBan.php on line 55

 

estou usando o Gesior 0.3.8 Edited by Natan Beckman! por favor ajudem

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

execute isso na sau database e ve se funciona

 

CREATE TABLE `bans`
(
`id` INT UNSIGNED NOT NULL auto_increment,
`type` TINYINT(1) NOT NULL COMMENT '1 - ip banishment, 2 - namelock, 3 - account banishment, 4 - notation, 5 - deletion',
`value` INT UNSIGNED NOT NULL COMMENT 'ip address (integer), player guid or account number',
`param` INT UNSIGNED NOT NULL DEFAULT 4294967295 COMMENT 'used only for ip banishment mask (integer)',
`active` TINYINT(1) NOT NULL DEFAULT TRUE,
`expires` INT NOT NULL,
`added` INT UNSIGNED NOT NULL,
`admin_id` INT UNSIGNED NOT NULL DEFAULT 0,
`comment` TEXT NOT NULL,
`reason` INT UNSIGNED NOT NULL DEFAULT 0,
`action` INT UNSIGNED NOT NULL DEFAULT 0,
`statement` VARCHAR(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `type` (`type`, `value`),
KEY `active` (`active`)
) ENGINE = InnoDB;

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...