Postado Junho 17, 2014 10 anos Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.logo_gfx_name' in 'field list'' in C:\xampp\htdocs\latestnews.php:32 Stack trace: #0 C:\xampp\htdocs\latestnews.php(32): PDO->query('SELECT `g`.`id`...') #1 C:\xampp\htdocs\index.php(63): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.php on line 32 como resolver isso?
Postado Junho 17, 2014 10 anos Execute esse comando no phpmyadmin ... ALTER TABLE `guilds` ADD `logo_gfx_name` VARCHAR(255) NOT NULL DEFAULT "default-logo.png" Espero ter ajudado. STYLLER OT 2022
Postado Junho 17, 2014 10 anos Autor Agora aparece esse Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'joinserver.z_news_tickers' doesn't exist' in C:\xampp\htdocs\latestnews.php:122 Stack trace: #0 C:\xampp\htdocs\latestnews.php(122): PDO->query('SELECT * FROM `...') #1 C:\xampp\htdocs\index.php(63): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.php on line 122
Postado Junho 17, 2014 10 anos CREATE TABLE IF NOT EXISTS `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; STYLLER OT 2022
Postado Junho 17, 2014 10 anos Autor Gerou outro erro o que pode ta acontecendo? Me perdoe pelo abuso. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'joinserver.z_forum' doesn't exist' in C:\xampp\htdocs\latestnews.php:285 Stack trace: #0 C:\xampp\htdocs\latestnews.php(285): PDO->query('SELECT `z_forum...') #1 C:\xampp\htdocs\index.php(63): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.php on line 285
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.