MA

[Encerrado] Algum santo pode me ajuda quem ajudar ganha rep+

Por Mateusbono, 12 de set. de 2013 em Tópicos Sem Resposta

sobre esse bug [12/09/2013 22
otserv
tibia
4
714
MateusbonoM
12 de setembro de 2013 às 22:55

[12/09/2013 22:28:00] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: shop_history (SELECT * FROM shop_history WHERE "processed" = 0;)

 

Alguem sabe como arrumar isso no meu server de nto pfv

wacko.png

12 de setembro de 2013 às 23:02

execute isso em sua databse

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`));

e depois execute essa

ALTER TABLE `shop_history` ADD `processed` int(11) NOT NULL default '0';

Editado Setembro 12 por kleitonalan321

kbpauloK
14 de setembro de 2013 às 15:08

so add isso na database

 

CREATE TABLE IF NOT EXISTS `shop_history` ( `id` int(11) NOT NULL AUTO_INCREMENT,
`product` int(11) NOT NULL,
`session` varchar(256) NOT NULL,
`player` varchar(256) NOT NULL,
`date` int(10) NOT NULL,
`processed` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ;


-- --------------------------------------------------------


--
-- Table structure for table `shop_offer`
--


CREATE TABLE IF NOT EXISTS `shop_offer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`points` int(11) NOT NULL DEFAULT '0',
`category` int(11) NOT NULL DEFAULT '1',
`type` int(11) NOT NULL DEFAULT '1',
`item` int(11) NOT NULL DEFAULT '0',
`count` int(11) NOT NULL DEFAULT '0',
`description` text NOT NULL,
`name` varchar(256) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;


--
-- Estructura de tabla para la tabla `shop_donation_history`
--


CREATE TABLE IF NOT EXISTS `shop_donation_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`method` varchar(256) NOT NULL,
`receiver` varchar(256) NOT NULL,
`buyer` varchar(256) NOT NULL,
`account` varchar(256) NOT NULL,
`points` int(11) NOT NULL,
`date` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;


--
-- Volcar la base de datos para la tabla `shop_donation_history`

 

 

4 anos depois...
StigalS
21 de abril de 2018 às 03:02
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.