You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '/' at line 7

SELECT SQL_CALC_FOUND_ROWS a.*, b.skupina, c.vydavatel, c.www, GROUP_CONCAT(CONCAT(vf.path,'/',vf.filename) ORDER BY v.dat_dod DESC) AS imgs FROM mhs_katalog_tisku AS a LEFT JOIN mhs_katalog_tisku_kategorie AS b ON a.skupina_id=b.skupina_id LEFT JOIN mhs_katalog_tisku_vydavatel AS c ON a.vydavatel_id=c.vydavatel_id LEFT JOIN mhs_katalog_tisku_vydani AS v ON v.tiskovina_id=a.tiskovina_id LEFT JOIN mhs_katalog_tisku_vydani_foto AS vf ON vf.tiskovina_id=v.tiskovina_id AND vf.vydani=v.vydani WHERE 1 AND a.skupina_id != '905' GROUP BY a.tiskovina_id ORDER BY a.tiskovina LIMIT 350, 50/;