Warning: Use of undefined constant runContaoIcalExportAsScript - assumed 'runContaoIcalExportAsScript' (this will throw an Error in a future version of PHP) in /kunden/226796_91058/kunden/csu-erlangen.de/contao49/web/contaoIcalExport.php on line 9

Fatal error: Uncaught Exception: EventId not found SELECT id, title as summery, concat(alias, '.ics') as filename, location, address, teaser as description, -- dateStart if(addTime = 1, -- Time is given DATE_FORMAT(from_unixtime(startTime), 'DTSTART;TZID=Europe/Berlin:%Y%m%dT%H%i%s'), -- Only date is given DATE_FORMAT(from_unixtime(startDate), 'DTSTART;VALUE=DATE:%Y%m%d') ) as dateStart, -- dateEnd if(addTime = 1, -- Time is given if(endTime = 0 || endTime <= startTime || DATE_FORMAT(from_unixtime(endTime), '%H%i') = '2323', -- Time is given but 0, wrong OR 23:23 (what we use as identifier for unlimited events) DATE_FORMAT(from_unixtime(startTime + 2 * 60 * 60), 'DTEND;TZID=Europe/Berlin:%Y%m% in /kunden/226796_91058/kunden/csu-erlangen.de/contao49/web/contaoIcalExport.php on line 179