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,48' 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(745): MysqlDB->rs('SELECT SQL_CALC...', Array) #2 /home/f/falcon6k/sanberg.ru/public_html/controllers/catalog.php(47): CatalogController->getCollections_total('detskaja-plitka', 1, '48', 0, 'order_prior ') #3 /home/f/falcon6k/sanberg.ru/public_html/index.php(54): CatalogController->indexAction() #4 {main} thrown in /home/f/falcon6k/sanberg.ru/public_html/core/mysql_db.php on line 35