/home/u460300/penetron-sazi.ru/www/_indy/sys/go.php [82]: db_select: SELECT COUNT(*) FROM ( SELECT `this`.`id` AS `this.id`, `this`.`create_date` AS `this.create_date`, `this`.`hidden` AS `this.hidden`, `this`.`not_earlier_date` AS `this.not_earlier_date`, `this`.`not_after_date` AS `this.not_after_date`, `this`.`name` AS `this.name`, `this`.`synonim` AS `this.synonim`, `this`.`short_description` AS `this.short_description`, `this`.`content` AS `this.content`, `this`.`meta_title` AS `this.meta_title`, `this`.`meta_keywords` AS `this.meta_keywords`, `this`.`meta_description` AS `this.meta_description` FROM `indy__Articles__Item` `this` WHERE hidden = '0' AND not_earlier_date <= CURDATE() AND ( not_after_date >= CURDATE() OR not_after_date IS NULL ) AND hidden = '0' ORDER BY not_earlier_date ASC ) rows : 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 ';= CURDATE() AND ( not_after_date >= CURDATE() OR not_after_date IS NULL ) AN' at line 6