My Ical format is not compatible with iCal on my Mac (Version 5.0.3 (1605.4) of ical)

I have created a view with nid argument in order to load an ics file for each events

Here is a link of my file
http://www.nantes-just-imagine.com.php53a.oceanet.eu/fr/agenda/364/expor...

The file seems to be valid on http://icalvalid.cloudapp.net/ but I have an error message when I try to open the file in my calendar. The app calendar can't read the file

Comments

creatile’s picture

I found that it is a known problem commented here
https://drupal.org/node/1564618 described by #3

If I remove manually blank lines at the top of the ics file, it works.

creatile’s picture

I found the solution. I had two line breaks at the top of a custom module.

coredumperror’s picture

Status: Active » Closed (works as designed)

Ah yes, the wonders of PHP.

"Oh, you left a blank line at the top/bottom of your code file? I'd better print it to the browser on every request! That's definitely what you wanted. I'm helping! *derp*"