GU

Ajuda Com Nicaw

Por guizinhosz, 03 de jul. de 2012 em Archived

dúvida
script
3
676
guizinhoszG
03 de julho de 2012 às 11:31
Fatal error: Uncaught exception 'DatabaseQueryException'

Message: Error #1146:Table 'nicaw_account_logs' doesn't exist

SQL query: INSERT INTO `nicaw_account_logs` (id, ip, account_id, date, action) VALUES(NULL, INET_ATON('::1'), 1, UNIX_TIMESTAMP(NOW()), 'Created character: Test')

File: sql.php on line: 94

Script was terminated because something unexpected happened. You can report this, if you think it's a bug.

 

Debug Backtrace:Disabled

Editado Julho 3 por guizinhosz

GOD BonG
03 de julho de 2012 às 12:12

Adiciona isto ai e me fala.

 

create table nicaw_account_logs(id integer unsigned auto_increment not null,
ip varchar(15) null,
date date null,
action varchar(30) not null,
account_id integer(30) not null,
primary key(id),
foreign key(account_id) references accounts(id));

 

se tiver a tabela criada e tiver como não nulo marca a caixa dentro do campo como nulo.

Se tiver ok REP+ xD

Editado Julho 3 por Bon

guizinhoszG
03 de julho de 2012 às 12:16

deu certo, rep+ :]