Warning: mysql_connect(): Access denied for user 'mpimportadora01'@'10.19.14.138' (using password: YES) in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 42

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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/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_index.php(17): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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_index.php(17): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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_index.php(17): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}
Now loading.
Please wait.

menu


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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(68): ConteudosModel->__construct() #5 /home/mpimportadora/www/app/helpers/SiteHelper.php(12): SiteConteudosAction->lista() #6 /home/mpimportadora/www/assets/includes/banner_home.php(4): SiteHelper::listaConteudoTipo('pag_banner_home') #7 /home/mpimportadora/www/site_index.php(27): include('/home/mpimporta...') #8 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #9 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='pag_banner_home' AND idioma='br' AND status=1 ORDER BY ordem

#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(84): Model->selectAll('*', 'tipo='pag_banne...', 'ordem') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(12): SiteConteudosAction->lista() #4 /home/mpimportadora/www/assets/includes/banner_home.php(4): SiteHelper::listaConteudoTipo('pag_banner_home') #5 /home/mpimportadora/www/site_index.php(27): include('/home/mpimporta...') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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(68): ConteudosModel->__construct() #5 /home/mpimportadora/www/app/helpers/SiteHelper.php(12): SiteConteudosAction->lista() #6 /home/mpimportadora/www/assets/modulos/lista_icones.php(5): SiteHelper::listaConteudoTipo('app_icone', 'ordem') #7 /home/mpimportadora/www/site_index.php(28): include('/home/mpimporta...') #8 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #9 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='app_icone' AND idioma='br' AND status=1 ORDER BY ordem

#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(84): Model->selectAll('*', 'tipo='app_icone...', 'ordem') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(12): SiteConteudosAction->lista() #4 /home/mpimportadora/www/assets/modulos/lista_icones.php(5): SiteHelper::listaConteudoTipo('app_icone', 'ordem') #5 /home/mpimportadora/www/site_index.php(28): include('/home/mpimporta...') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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(59) #6 /home/mpimportadora/www/assets/modulos/lista_texto_imagem1.php(2): SiteHelper::exibeConteudo(59) #7 /home/mpimportadora/www/site_index.php(29): include('/home/mpimporta...') #8 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #9 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE =59 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('*', '=59 AND status=...') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(23): SiteConteudosAction->exibeConteudo(59) #4 /home/mpimportadora/www/assets/modulos/lista_texto_imagem1.php(2): SiteHelper::exibeConteudo(59) #5 /home/mpimportadora/www/site_index.php(29): include('/home/mpimporta...') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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(57) #6 /home/mpimportadora/www/assets/modulos/lista_produtos.php(2): SiteHelper::exibeConteudo(57) #7 /home/mpimportadora/www/site_index.php(30): include('/home/mpimporta...') #8 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #9 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE =57 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('*', '=57 AND status=...') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(23): SiteConteudosAction->exibeConteudo(57) #4 /home/mpimportadora/www/assets/modulos/lista_produtos.php(2): SiteHelper::exibeConteudo(57) #5 /home/mpimportadora/www/site_index.php(30): include('/home/mpimporta...') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}

Próximas Feiras


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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/assets/modulos/lista_feiras.php(13): SiteConteudosAction->listaPaginada(NULL, 'data DESC', 10) #6 /home/mpimportadora/www/site_index.php(31): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT COUNT(*) as total FROM conteudos WHERE tipo='pag_feiras' AND idioma='br' AND status=1 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_feira...') #3 /home/mpimportadora/www/assets/modulos/lista_feiras.php(13): SiteConteudosAction->listaPaginada(NULL, 'data DESC', 10) #4 /home/mpimportadora/www/site_index.php(31): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='pag_feiras' AND idioma='br' AND status=1 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_feira...', 'data DESC', '10 OFFSET 0') #3 /home/mpimportadora/www/assets/modulos/lista_feiras.php(13): SiteConteudosAction->listaPaginada(NULL, 'data DESC', 10) #4 /home/mpimportadora/www/site_index.php(31): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Últimas Novidades


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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/assets/modulos/lista_novidades.php(14): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #6 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT COUNT(*) as total FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=2 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/assets/modulos/lista_novidades.php(14): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #4 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=2 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/assets/modulos/lista_novidades.php(14): SiteConteudosAction->listaPaginada(Array, 'data DESC', 10) #4 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Dicas da MP Importadora


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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/assets/modulos/lista_novidades.php(59): SiteConteudosAction->listaPaginada(Array, 'data DESC', 4) #6 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #7 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #8 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT COUNT(*) as total FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=1 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/assets/modulos/lista_novidades.php(59): SiteConteudosAction->listaPaginada(Array, 'data DESC', 4) #4 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE tipo='pag_dicas_novidades' AND idioma='br' AND status=1 AND cod_conteudo_categoria=1 ORDER BY data DESC LIMIT 4 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', '4 OFFSET 0') #3 /home/mpimportadora/www/assets/modulos/lista_novidades.php(59): SiteConteudosAction->listaPaginada(Array, 'data DESC', 4) #4 /home/mpimportadora/www/site_index.php(32): include('/home/mpimporta...') #5 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #6 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
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(58) #6 /home/mpimportadora/www/assets/modulos/lista_texto1.php(2): SiteHelper::exibeConteudo(58) #7 /home/mpimportadora/www/site_index.php(33): include('/home/mpimporta...') #8 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #9 {main}

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 95

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/mpimportadora/www/app/framework/database/MysqlDriver.php on line 78
          
ERRO:
CODE: SELECT * FROM conteudos WHERE =58 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('*', '=58 AND status=...') #3 /home/mpimportadora/www/app/helpers/SiteHelper.php(23): SiteConteudosAction->exibeConteudo(58) #4 /home/mpimportadora/www/assets/modulos/lista_texto1.php(2): SiteHelper::exibeConteudo(58) #5 /home/mpimportadora/www/site_index.php(33): include('/home/mpimporta...') #6 /home/mpimportadora/www/index.php(42): include_once('/home/mpimporta...') #7 {main}