Postado Fevereiro 2, 2015 10 anos olá galerinha do tk, por favor estou precisando muito resolver este problema fico agradecido e dou rep++ Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'servidor.z_forum' doesn't exist' in C:\xampp\htdocs\latestnews.php:302 Stack trace: #0 C:\xampp\htdocs\latestnews.php(302): PDO->query('SELECT `z_forum...') #1 C:\xampp\htdocs\index.php(63): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.phpon line 302
Postado Fevereiro 2, 2015 10 anos Vá no seu phpmyadmin,abre a base,e verifica se tem uma tabela chamada 'servidor.z_forum' se não tiver,procure pelo script que adicione essa tabela na sua db,ou importe uma database,que ja tenha essa tabela. Ajudei ? Clique em GOSTEI! Skype : neoowned
Postado Fevereiro 2, 2015 10 anos Solução Use este comando pelo phpmyadmin ... CREATE TABLE `z_forum` ( `id` int(11) NOT NULL auto_increment, `sticky` tinyint(1) NOT NULL DEFAULT '0', `closed` tinyint(1) NOT NULL DEFAULT '0', `first_post` int(11) NOT NULL default '0', `last_post` int(11) NOT NULL default '0', `section` int(3) NOT NULL default '0', `icon_id` int(3) NOT NULL default '1', `replies` int(20) NOT NULL default '0', `views` int(20) NOT NULL default '0', `author_aid` int(20) NOT NULL default '0', `author_guid` int(20) NOT NULL default '0', `post_text` text NOT NULL, `post_topic` varchar(255) NOT NULL, `post_smile` tinyint(1) NOT NULL default '0', `post_date` int(20) NOT NULL default '0', `last_edit_aid` int(20) NOT NULL default '0', `edit_date` int(20) NOT NULL default '0', `post_ip` varchar(32) NOT NULL default '0.0.0.0', PRIMARY KEY (`id`), KEY `section` (`section`) ) ENGINE=MyISAM AUTO_INCREMENT=1; 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.