ERRO:
CODE:
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(53): MysqlDriver->error() #1 /home/mpimportadora/www/app/framework/database/Transaction.php(36): MysqlDriver->connect() #2 /home/mpimportadora/www/app/framework/Model.php(62): Transaction::Open() #3 /home/mpimportadora/www/app/models/ConteudosCategoriasModel.php(8): Model->__construct('conteudos_categ...') #4 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(104): ConteudosCategoriasModel->__construct() #5 /home/mpimportadora/www/site_noticias.php(5): SiteConteudosAction->listaCategorias('nome') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}
ERRO:
CODE: SHOW COLUMNS FROM conteudos_categorias
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SHOW COLUMNS FR...') #1 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(140): MysqlDriver->execute('SHOW COLUMNS FR...') #2 /home/mpimportadora/www/app/framework/Model.php(64): MysqlDriver->primaryKeyName('conteudos_categ...') #3 /home/mpimportadora/www/app/models/ConteudosCategoriasModel.php(8): Model->__construct('conteudos_categ...') #4 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(104): ConteudosCategoriasModel->__construct() #5 /home/mpimportadora/www/site_noticias.php(5): SiteConteudosAction->listaCategorias('nome') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}
ERRO:
CODE: SELECT *,(SELECT COUNT(cod_conteudo_categoria) FROM conteudos WHERE cod_conteudo_categoria=conteudos_categorias.cod_conteudo_categoria) AS total FROM conteudos_categorias WHERE tipo='pag_dicas_novidades' AND idioma='br' ORDER BY nome
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SELECT *,(SELEC...') #1 /home/mpimportadora/www/app/framework/Model.php(206): MysqlDriver->execute('SELECT *,(SELEC...') #2 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(106): Model->selectAll('*,(SELECT COUNT...', 'tipo='pag_dicas...', 'nome') #3 /home/mpimportadora/www/site_noticias.php(5): SiteConteudosAction->listaCategorias('nome') #4 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #5 {main}
ERRO:
CODE: SHOW COLUMNS FROM opcoes
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SHOW COLUMNS FR...') #1 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(140): MysqlDriver->execute('SHOW COLUMNS FR...') #2 /home/mpimportadora/www/app/framework/Model.php(64): MysqlDriver->primaryKeyName('opcoes') #3 /home/mpimportadora/www/app/models/OpcoesModel.php(8): Model->__construct('opcoes') #4 /home/mpimportadora/www/app/helpers/OpcoesHelper.php(8): OpcoesModel->__construct() #5 /home/mpimportadora/www/assets/includes/jscss_topo.php(29): OpcoesHelper::get('google_analytic...') #6 /home/mpimportadora/www/site_noticias.php(38): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}
ERRO:
CODE: SELECT valor FROM opcoes WHERE nome='google_analytics' LIMIT 1
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SELECT valor FR...') #1 /home/mpimportadora/www/app/framework/Model.php(174): MysqlDriver->execute('SELECT valor FR...') #2 /home/mpimportadora/www/app/helpers/OpcoesHelper.php(9): Model->selectOne('valor', 'nome='google_an...') #3 /home/mpimportadora/www/assets/includes/jscss_topo.php(29): OpcoesHelper::get('google_analytic...') #4 /home/mpimportadora/www/site_noticias.php(38): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}
Notícias do mercado
ERRO:
CODE: SHOW COLUMNS FROM conteudos
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SHOW COLUMNS FR...') #1 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(140): MysqlDriver->execute('SHOW COLUMNS FR...') #2 /home/mpimportadora/www/app/framework/Model.php(64): MysqlDriver->primaryKeyName('conteudos') #3 /home/mpimportadora/www/app/models/ConteudosModel.php(8): Model->__construct('conteudos') #4 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(35): ConteudosModel->__construct() #5 /home/mpimportadora/www/site_noticias.php(91): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}
ERRO:
CODE: SELECT COUNT(*) as total FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=3 LIMIT 1
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SELECT COUNT(*)...') #1 /home/mpimportadora/www/app/framework/Model.php(174): MysqlDriver->execute('SELECT COUNT(*)...') #2 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(55): Model->selectOne('COUNT(*) as tot...', 'tipo='pag_dicas...') #3 /home/mpimportadora/www/site_noticias.php(91): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #4 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #5 {main}
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=3 ORDER BY data DESC LIMIT 10 OFFSET 0
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SELECT * FROM c...') #1 /home/mpimportadora/www/app/framework/Model.php(206): MysqlDriver->execute('SELECT * FROM c...') #2 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(59): Model->selectAll('*', 'tipo='pag_dicas...', 'data DESC', '10 OFFSET 0') #3 /home/mpimportadora/www/site_noticias.php(91): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #4 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #5 {main}
ERRO:
CODE: SHOW COLUMNS FROM conteudos
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SHOW COLUMNS FR...') #1 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(140): MysqlDriver->execute('SHOW COLUMNS FR...') #2 /home/mpimportadora/www/app/framework/Model.php(64): MysqlDriver->primaryKeyName('conteudos') #3 /home/mpimportadora/www/app/models/ConteudosModel.php(8): Model->__construct('conteudos') #4 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(169): ConteudosModel->__construct() #5 /home/mpimportadora/www/app/helpers/SiteHelper.php(23): SiteConteudosAction->exibeConteudo(61) #6 /home/mpimportadora/www/site_noticias.php(156): SiteHelper::exibeConteudo(61) #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}
ERRO:
CODE: SELECT * FROM conteudos WHERE =61 AND status=1 LIMIT 1
#0 /home/mpimportadora/www/app/framework/database/MysqlDriver.php(112): MysqlDriver->error('SELECT * FROM c...') #1 /home/mpimportadora/www/app/framework/Model.php(174): MysqlDriver->execute('SELECT * FROM c...') #2 /home/mpimportadora/www/app/actions/site/SiteConteudosAction.php(170): Model->selectOne('*', '=61 AND status=...') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(23): SiteConteudosAction->exibeConteudo(61) #4 /home/mpimportadora/www/site_noticias.php(156): SiteHelper::exibeConteudo(61) #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}