( ! ) Fatal error: Uncaught PDOException: 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 'AND b.title != '' AND cl.languages_idlanguages = 2 AND b.languages_idlanguages =' at line 1 in /var/www/miasto.elk.pl/library/Zend/Db/Statement/Pdo.php on line 235 | ||||
---|---|---|---|---|
( ! ) Zend_Db_Statement_Exception: 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 'AND b.title != '' AND cl.languages_idlanguages = 2 AND b.languages_idlanguages =' at line 1, query was: SELECT DISTINCT b.gallery_categories_idgallery_categories, cl.* FROM gallery b JOIN gallery_categories cl ON cl.idgallery_categories = b.gallery_categories_idgallery_categories AND cl.languages_idlanguages = 2 WHERE cl.active = 1 AND b.active = 1 AND cl.title !='' AND b.type = AND b.title != '' AND cl.languages_idlanguages = 2 AND b.languages_idlanguages = 2 ORDER BY cl.sort_order in /var/www/miasto.elk.pl/library/Zend/Db/Statement/Pdo.php on line 235 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 359840 | {main}( ) | .../index.php:0 |
2 | 0.0178 | 1009656 | Zend_Application->run( ) | .../index.php:43 |
3 | 0.0178 | 1009656 | Bootstrap->run( ) | .../Application.php:366 |
4 | 0.0178 | 1009656 | Zend_Controller_Front->dispatch( ) | .../Bootstrap.php:101 |