Fatal error: Uncaught exception 'Exception' with message 'Sql query failed. Query: 'SELECT * FROM photo_gallery_items WHERE category = ORDER BY position'. Error: '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 position' at line 1'' in /home/clients/w_russtr/public_html/functions/error.php:6
Stack trace:
#0 /home/clients/w_russtr/public_html/functions/db.php(22): error_critical('Sql query faile...')
#1 /home/clients/w_russtr/public_html/functions/db.php(31): db_query()
#2 /home/clients/w_russtr/public_html/modules/gallery/gallery.php(26): db_fetchAssocArray()
#3 /home/clients/w_russtr/public_html/modules/gallery/actions/category.php(17): mod_gallery_getItemsByCategoryId('SELECT * FROM p...')
#4 /home/clients/w_russtr/public_html/index.php(30): require('/home/clients/w...')
#5 {main}
thrown in /home/clients/w_russtr/public_html/functions/error.php on line 6