Postado Outubro 2, 2014 10 anos @Sociopata, faltando ou já existem? Faltando nao pode ficar dakele geito as palavras vermelha tem q ficar verde e quando avanço da erro na etapa 4 , olha sera que é na database? CREATE TABLE IF NOT EXISTS `tiles` ( `id` int(10) unsigned NOT NULL, `world_id` tinyint(2) unsigned NOT NULL DEFAULT '0', `house_id` int(10) unsigned NOT NULL, `x` int(5) unsigned NOT NULL, `y` int(5) unsigned NOT NULL, `z` tinyint(2) unsigned NOT NULL, UNIQUE KEY `id` (`id`,`world_id`), KEY `x` (`x`,`y`,`z`), KEY `house_id` (`house_id`,`world_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE IF NOT EXISTS `houses` ( `id` int(10) unsigned NOT NULL, `world_id` tinyint(2) unsigned NOT NULL DEFAULT '0', `owner` int(11) NOT NULL, `paid` int(10) unsigned NOT NULL DEFAULT '0', `warnings` int(11) NOT NULL DEFAULT '0', `lastwarning` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(255) NOT NULL, `town` int(10) unsigned NOT NULL DEFAULT '0', `size` int(10) unsigned NOT NULL DEFAULT '0', `price` int(10) unsigned NOT NULL DEFAULT '0', `rent` int(10) unsigned NOT NULL DEFAULT '0', `doors` int(10) unsigned NOT NULL DEFAULT '0', `beds` int(10) unsigned NOT NULL DEFAULT '0', `tiles` int(10) unsigned NOT NULL DEFAULT '0', `guild` tinyint(1) unsigned NOT NULL DEFAULT '0', `clear` tinyint(1) unsigned NOT NULL DEFAULT '0', UNIQUE KEY `id` (`id`,`world_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `guilds` ADD `logo_gfx_name` VARCHAR( 255 ) NOT NULL DEFAULT ""; CREATE TABLE `z_news_tickers` ( `date` int(11) NOT NULL default '1', `author` int(11) NOT NULL, `image_id` int(3) NOT NULL default '0', `text` text NOT NULL, `hide_ticker` tinyint(1) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; ALTER TABLE z_forum ADD icon_id int(3) NOT NULL DEFAULT '1' acho q isso resolve Regras Gerais "Califórnia Brasileira "
Postado Outubro 2, 2014 10 anos Autor to ficando quemado ja dando este erro STEP 4 Add samples to DB: News ticker sample is already in database. New sample is not needed. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'world_id' in 'field list'' in C:\xampp\htdocs\install.php:504 Stack trace: #0 C:\xampp\htdocs\install.php(504): PDO->query('INSERT INTO `pl...') #1 {main} thrown in C:\xampp\htdocs\install.php on line 504 STEP 4 Add samples to DB: Fatal error: Call to a member function query() on a non-object in C:\xampp\htdocs\install.php on line 494 erro Editado Outubro 2, 2014 10 anos por sheen1 (veja o histórico de edições)
Postado Outubro 2, 2014 10 anos executa isso ALTER TABLE `players` ADD COLUMN` world_id` int (3) depois de `name`; Editado Outubro 2, 2014 10 anos por Sociopata (veja o histórico de edições) Regras Gerais "Califórnia Brasileira "
Postado Outubro 2, 2014 10 anos erro meu peguei tabela errada, essa é a certa ALTER TABLE `players` ADD COLUMN `world_id` int(3) AFTER `name` Editado Outubro 2, 2014 10 anos por Sociopata (veja o histórico de edições) Regras Gerais "Califórnia Brasileira "
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.