Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 ') ORDER BY col.for_order, IF(col.price = 0, 1, 0), col.title asc LIMIT 0,24' at line 5' in /home/f/falcon6k/sanberg.ru/public_html/core/mysql_db.php:35 Stack trace: #0 /home/f/falcon6k/sanberg.ru/public_html/core/mysql_db.php(35): PDOStatement->execute(Array) #1 /home/f/falcon6k/sanberg.ru/public_html/controllers/catalog.php(747): MysqlDB->rs('SELECT SQL_CALC...', Array) #2 /home/f/falcon6k/sanberg.ru/public_html/controllers/catalog.php(47): CatalogController->getCollections_total('klinker', 1, '24', 0, 'order_prior ') #3 /home/f/falcon6k/sanberg.ru/public_html/index.php(53): CatalogController->indexAction() #4 {main} thrown in /home/f/falcon6k/sanberg.ru/public_html/core/mysql_db.php on line 35