ERROR 1 Ungueltige SQL Datenbank abfrage: 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 'now' in 'where clause'
SELECT `ID`, `NAME`, `PICTURE` FROM `MEDIA_ALBUMS` W' at line 1
INSERT INTO `LOG_DATA` (`user`, `date`, `time`, `action`, `file`, `prename`, `surname`, `size`) VALUES ( 'Gast', CURDATE(), CURTIME(), '9002', 'GALLERY.ERROR: E0, 491, /home/musikve2/www/mvbuchs/app/gallery/V05/index.php, displayLibrary, C_GALLERY_DISP_LIBRARY, C_GALLERY_DISP_LIBRARY::displayLibrary, ERROR 2 Ungueltige SQL Datenbank abfrage: Unknown column 'now' in 'where clause'
SELECT `ID`, `NAME`, `PICTURE` FROM `MEDIA_ALBUMS` WHERE `YEAR` = now AND `TYPE` LIKE 'PG' ORDER BY `MEDIA_ALBUMS`.`DATE` DESC , a:1:{s:4:"year";s:3:"now";}', '?', '?', '--');