Fatal error: Uncaught exception 'Exception' with message 'EventId not found SELECT id, title as summery, concat(alias, '.ics') as filename, location as 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%dT%H%i%s'), in /data/vservers/relaunch.frimo.com/htdocs/contaoIcalExport.php on line 173