Warning (512): SQL Error: 1054: Unknown column 'Post.data_publicacao_inicial' in 'where clause' [CORE\cake\libs\model\datasources\dbo_source.php, line 684]

Query: SELECT `Post`.`id`, `Post`.`titulo`, `Post`.`resumo`, `Post`.`texto`, `Post`.`tags`, `Post`.`created`, `Post`.`modified`, `Post`.`user_id`, `Post`.`categoria_id`, `PostCategoria`.`id`, `PostCategoria`.`nome`, `PostCategoria`.`alias`, `PostCategoria`.`parent_id`, `PostCategoria`.`lft`, `PostCategoria`.`rght`, `Galeria`.`id`, `Galeria`.`nome`, `Galeria`.`diretorio` FROM `posts` AS `Post` LEFT JOIN `post_categorias` AS `PostCategoria` ON (`Post`.`categoria_id` = `PostCategoria`.`id`) LEFT JOIN `galerias` AS `Galeria` ON (`Post`.`galeria_id` = `Galeria`.`id`) WHERE ((`Post`.`data_publicacao_inicial` <= '2014-07-28 17:28:29') AND (`Post`.`data_publicacao_final` >= '2014-07-28 17:28:29')) ORDER BY `Post`.`id` DESC LIMIT 2

Warning (2): Invalid argument supplied for foreach() [APP\models\post.php, line 200]
Warning (512): SQL Error: 1054: Unknown column 'Post.galeria_id' in 'on clause' [CORE\cake\libs\model\datasources\dbo_source.php, line 684]

Query: SELECT COUNT(*) AS `count` FROM `posts` AS `Post` LEFT JOIN `post_categorias` AS `PostCategoria` ON (`Post`.`categoria_id` = `PostCategoria`.`id`) LEFT JOIN `galerias` AS `Galeria` ON (`Post`.`galeria_id` = `Galeria`.`id`) WHERE 1 = 1

Query: SELECT `Post`.`id`, `Post`.`titulo`, `Post`.`resumo`, `Post`.`texto`, `Post`.`tags`, `Post`.`created`, `Post`.`modified`, `Post`.`user_id`, `Post`.`categoria_id`, `PostCategoria`.`id`, `PostCategoria`.`nome`, `PostCategoria`.`alias`, `PostCategoria`.`parent_id`, `PostCategoria`.`lft`, `PostCategoria`.`rght`, `Galeria`.`id`, `Galeria`.`nome`, `Galeria`.`diretorio` FROM `posts` AS `Post` LEFT JOIN `post_categorias` AS `PostCategoria` ON (`Post`.`categoria_id` = `PostCategoria`.`id`) LEFT JOIN `galerias` AS `Galeria` ON (`Post`.`galeria_id` = `Galeria`.`id`) WHERE 1 = 1 ORDER BY `Post`.`id` desc LIMIT 5

Laboratório Amaral Costa ::: Notícias
InícioNotícias

Notícias

Warning (2): Invalid argument supplied for foreach() [APP\views\posts\index.ctp, line 28]
Outras notícias
Not Found: E:\home\amaralcost1\amaralcosta.com.br\web\app\views\elements\list_noticias.ctp
© Copyright 2012 - Laboratório Amaral Costa | By: Jungle Interativa