Postado Agosto 16, 2014 10 anos Quando tento instalar o meu site modern acc aparece este erro alguem poderia por favor me ajudar A Database Error Occurred Error Number: 1146 Table 'u428701394_dark.news' doesn't exist SELECT * FROM (`news`) ORDER BY `id` desc LIMIT 10
Postado Agosto 16, 2014 10 anos Acesse: localhost/phpmyadmin E escolha a sua database otserv, escolha a aba sql, e cole este script e execute: CREATE TABLE IF NOT EXISTS `news` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(150) DEFAULT '', `body` text, `time` int(11) DEFAULT '0', PRIMARY KEY (`id`) );
Postado Agosto 16, 2014 10 anos Autor AnnaFeeh Aquele erro saiu mais agora apareceu a este Error Number: 1054 Unknown column 'p.question' in 'field list' SELECT p.id, p.question, GROUP_CONCAT(a.answer SEPARATOR ';') AS answers, GROUP_CONCAT(a.id SEPARATOR ';') AS answers_id FROM poll p JOIN poll_answer a ON p.id = a.poll_id WHERE p.status = 1 AND date_start <= NOW() AND date_end >= NOW() Poderia me ajudar por favor quero lançar o servidor o mais rapido possivel Editado Agosto 16, 2014 10 anos por CeehCosta (veja o histórico de edições)
Postado Agosto 16, 2014 10 anos execute CREATE TABLE IF NOT EXISTS `polls` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `poll` varchar(255) NOT NULL, `options` varchar(255) NOT NULL, `timestamp` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `player_id` (`player_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `poll_votes` ( `poll_id` int(11) NOT NULL, `votes` varchar(255) NOT NULL, `account_id` varchar(255) NOT NULL, KEY `poll_id` (`poll_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE IF NOT EXISTS `z_polls` ( `id` int(11) NOT NULL AUTO_INCREMENT, `question` varchar(255) NOT NULL, `end` int(11) NOT NULL, `start` int(11) NOT NULL, `answers` int(11) NOT NULL, `votes_all` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `z_polls_answers` ( `poll_id` int(11) NOT NULL, `answer_id` int(11) NOT NULL, `answer` varchar(255) NOT NULL, `votes` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Editado Agosto 16, 2014 10 anos por AnnaFeeh (veja o histórico de edições)
Postado Agosto 17, 2014 10 anos Resolvido? Se sim clique na melhor resposta por favor para que o tópico fique automaticamente como resolvido. STYLLER OT 2022
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.