ERRO: Unknown column 'cod_banner' in 'where clause'
SQL: SELECT * FROM produtos WHERE cod_banner=3124 AND publicar=1 LIMIT 1

#0 /home/luizcarrara/public_html/app/framework/database/MysqlPDODriver.php(108): MysqlPDODriver->error('SELECT * FROM p...') #1 /home/luizcarrara/public_html/app/framework/Model.php(170): MysqlPDODriver->execute('SELECT * FROM p...') #2 /home/luizcarrara/public_html/app/actions/site/SiteProdutosAction.php(107): Model->selectOne('*', 'cod_banner=3124...') #3 /home/luizcarrara/public_html/site_produtos-int.php(11): SiteProdutosAction->exibe(3124) #4 /home/luizcarrara/public_html/index.php(41): include_once('/home/luizcarra...') #5 {main}
LUIZ CARRARA

Loja: Rua Araguaia, 38 | Bairro Canindé | São Paulo | SP | CEP: 03034-000 | Fone: (11) 3228-6577

BigFish Media