Ir para conteúdo

Featured Replies

Postado

Estou tendo isso na distro quando abro o servidor, fica dando o tempo inteiro:

 

mysql_real_query(): SELECT * FROM shop_history WHERE `processed` = 0; - MYSQL ERROR: Table 'dbcompleta.shop_history' doesn't exist (1146)

 

está acontecendo isso por falta de uma tabela na db, mas não sei como arrumar, acho que é alguma query que tem que executar, alguém pode ajudar ??

Postado

abre phpmyadmin e adiciona isso no sql

 

CREATE TABLE `shop_history`
(
`id` int(11) NOT NULL auto_increment,
`to_name` varchar(255) NOT NULL default '0',
`to_account` int(11) NOT NULL default '0',
`from_nick` varchar(255) NOT NULL,
`from_account` int(11) NOT NULL default '0',
`price` int(11) NOT NULL default '0',
`offer_id` int(11) NOT NULL default '0',
`trans_state` varchar(255) NOT NULL,
`trans_start` int(11) NOT NULL default '0',
`trans_real` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
);
ALTER TABLE `shop_history` ADD `processed` int(11) NOT NULL default '0';
 
Postado
  • Autor
1 hora atrás, matheusjp2 disse:

abre phpmyadmin e adiciona isso no sql

 

CREATE TABLE `shop_history`
(
`id` int(11) NOT NULL auto_increment,
`to_name` varchar(255) NOT NULL default '0',
`to_account` int(11) NOT NULL default '0',
`from_nick` varchar(255) NOT NULL,
`from_account` int(11) NOT NULL default '0',
`price` int(11) NOT NULL default '0',
`offer_id` int(11) NOT NULL default '0',
`trans_state` varchar(255) NOT NULL,
`trans_start` int(11) NOT NULL default '0',
`trans_real` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
);
ALTER TABLE `shop_history` ADD `processed` int(11) NOT NULL default '0';
 

Booa man, resolvou 10, rep de hoje estorei, mas amanhã vou voltar aqui e te reputar, valeu brother

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo