Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near ")" at character 208' in /var/www/library/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /var/www/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/library/Zend/Db/Adapter/Abstract.php(435): Zend_Db_Statement->execute(Array) #2 /var/www/library/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array) #3 /var/www/library/Zend/Db/Select.php(639): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #4 /var/www/domeny/edupedia/trunk/models/Entry.php(55): Zend_Db_Select->query() #5 /var/www/domeny/edupedia/trunk/controllers/WordsController.php(36): Entry->getEntry('') #6 /var/www/library/Zend/Controller/Action.php(575): WordsController->indexAction() #7 /var/www/library/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('indexAction') #8 /var/www/library/Zend/Controller/Fro in /var/www/library/Zend/Db/Statement/Pdo.php on line 238