Warning: imagecreatefrompng(): Filename cannot be empty in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/program14d_pdf.php on line 51 Warning: imagesx() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3910 Warning: imagesy() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3911 Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3923 Warning: imagecreatefrompng(): Filename cannot be empty in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/program14d_pdf.php on line 58 Warning: imagesx() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3910 Warning: imagesy() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3911 Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /customers/6/4/0/samsitt.net/httpd.www/cg/pdf/src/Cpdf.php on line 3923 Fatal error: Uncaught Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'GROUP BY d2.ida ORDER BY d1.dato ASC' at line 12SELECT IF(hidden_flag | (d3.type=5),'---- Privat arrangement ----',IF(forening='',CONCAT(fornavn,' ',etternavn),forening)) as label,
concat(date_format(min(fra),'%H:%i') ,' - ',date_format(max(til),'%H:%i')) as tid,
group_concat(d4.navn SEPARATOR ', ') as rom,
hidden_flag,week(dato,1) as uke,
DATE_FORMAT(dato,'%d/%m/%y') as dato2, d1.kunde, d1.ida
FROM `hks_avtaler` d1,hks_kunder2 d3,hks_ressurser d4,hks_data d2
WHERE d3.id=d1.kunde and d2.ida=d1.ida and d4.id=d2.ressurs and d2.avlyst=0 and year(dato)=?
AND week(`dato`,1) BETWEEN ? AND ?

AND d1.avlyst = 0
AND d1.avdeling=
GROUP BY d2.ida
ORDER BY d1.dato AS in /customers/6/4/0/samsitt.net/httpd.www/cg/class/database.php on line 43