Query: SELECT COUNT(*) AS `count` FROM `products` AS `Product` WHERE AND `Product`.`status` = 1
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 `Product`.`status` = 1' at line 1 in /usr/local/apache/htdocs/m/cake/libs/model/datasources/dbo_source.php on line 440
Query: SELECT `Product`.`id`, `Product`.`status`, `Product`.`prodno`, `Product`.`field1`, `Product`.`field2`, `Product`.`name`, `Product`.`furigana`, `Product`.`material`, `Product`.`weight`, `Product`.`expiration`, `Product`.`preservation`, `Product`.`origin`, `Product`.`processor`, `Product`.`manufacturer`, `Product`.`field3`, `Product`.`manufacturer_image`, `Product`.`manufacturer_area`, `Product`.`chemicals`, `Product`.`manareaimage`, `Product`.`manareaimage2`, `Product`.`certification`, `Product`.`jancode`, `Product`.`manufacturer_area2`, `Product`.`manareaimage3`, `Product`.`certificationtext`, `Product`.`created`, `Product`.`modified` FROM `products` AS `Product` WHERE AND `Product`.`status` = 1 ORDER BY `Product`.`prodno` ASC 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 `Product`.`status` = 1 ORDER BY `Product`.`prodno` ASC LIMIT 20' at line 1 in /usr/local/apache/htdocs/m/cake/libs/model/datasources/dbo_source.php on line 440