Zenphoto encountered an error

MySQL Query ( SELECT DISTINCT `id`, `show`,`title`,`desc`,`albumid`,`filename`,`location`,`city`,`state`,`country` FROM `zp_images` WHERE `show` = 1 AND () ORDER BY `filename` ) failed. MySQL returned the error 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 ') ORDER BY `filename`' at line 1