Query: SELECT COUNT(*) AS `count` FROM `posts` AS `Post` LEFT JOIN `sections` AS `Section` ON (`Post`.`section_id` = `Section`.`id`) LEFT JOIN `users` AS `User` ON (`Post`.`user_id` = `User`.`id`) WHERE `Post`.`section_id`= AND `Post`.`delete`=0
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `Post`.`delete`=0' at line 1 in /mnt/web6/53/13/51622913/htdocs/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT `Post`.`id`, `Post`.`user_id`, `Post`.`host`, `Post`.`section_id`, `Post`.`title`, `Post`.`message`, `Post`.`immagine`, `Post`.`chiuso`, `Post`.`blog`, `Post`.`delete`, `Post`.`visto`, `Post`.`created`, `Post`.`modified`, `Section`.`id`, `Section`.`nome`, `Section`.`created`, `Section`.`modified`, `User`.`id`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`nome`, `User`.`cognome`, `User`.`group_id`, `User`.`banned`, `User`.`ip`, `User`.`created`, `User`.`modified` FROM `posts` AS `Post` LEFT JOIN `sections` AS `Section` ON (`Post`.`section_id` = `Section`.`id`) LEFT JOIN `users` AS `User` ON (`Post`.`user_id` = `User`.`id`) WHERE `Post`.`section_id`= AND `Post`.`delete`=0 ORDER BY `Post`.`created` DESC LIMIT 20
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `Post`.`delete`=0 ORDER BY `Post`.`created` DESC LIMIT 20' at line 1 in /mnt/web6/53/13/51622913/htdocs/cake/cake/libs/model/datasources/dbo_source.php on line 437
