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 '' at line 2' in /home/fwa/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/fwa/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/fwa/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/fwa/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#3 /home/fwa/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT story.or...', Array)
#4 /home/fwa/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('SELECT story.or...', Array)
#5 /home/fwa/matushka/application/models/ProductModel.php(95): Zend_Db_Adapter_Abstract->fetchAll('SELECT story.or...')
#6 /home/fwa/matushka/application/controllers/CategoryController.php(68): ProductModel->view('alco')
#7 /home/fwa/Zend/Controller/Acti in /home/fwa/Zend/Controller/Dispatcher/Standard.php on line 301