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 'LIMIT 1' at line 1' in /home/szkola/domains/lingwistyka.edu.pl/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php:127 Stack trace: #0 /home/szkola/domains/lingwistyka.edu.pl/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(127): PDO->prepare('SELECT * FROM `...') #1 /home/szkola/domains/lingwistyka.edu.pl/public_html/lib/Zend/Db/Adapter/Abstract.php(154): Zend_Db_Adapter_Pdo_Abstract->prepare('SELECT * FROM `...') #2 /home/szkola/domains/lingwistyka.edu.pl/public_html/lib/Zend/Db/Adapter/Abstract.php(309): Zend_Db_Adapter_Abstract->query('SELECT * FROM `...', NULL) #3 /home/szkola/domains/lingwistyka.edu.pl/public_html/app/controllers/aktualnosciController.php(107): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM `...') #4 /home/szkola/domains/lingwistyka.edu.pl/public_html/ in /home/szkola/domains/lingwistyka.edu.pl/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 127