error executing query
SELECT DISTINCT table_gallery.id,table_gallery.file_name, table_gallery_lang.title, table_gallery_lang.description FROM table_gallery,table_gallery_lang,table_lang WHERE table_gallery.active='1' AND table_gallery.id_category=33 AND table_gallery.id=table_gallery_lang.id_gallery AND table_gallery_lang.id_lang=table_lang.id AND (table_lang.code LIKE 'en' OR table_lang.code LIKE 'cz') GROUP BY table_gallery.id ORDER BY table_gallery.order ASC, table_gallery_lang.id_lang DESC