Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
There seems to be a bug in the creation of the ics file. There are to many "new lines" in the file.
Google calendar seems to have some trouble importing such a file.
Has someone any idea to resolve this?
Thanks,
Jeroen
Comment | File | Size | Author |
---|---|---|---|
#2 | export.ics_.zip | 8.41 KB | jeroen870 |
#2 | Google error.png | 16.27 KB | jeroen870 |
Comments
Comment #1
coredumperror CreditAttribution: coredumperror commentedCould you please provide an example .ics file which is causing this problem? Also, please take a screenshot of the error you're getting from Google, and attach it to this issue.
Comment #2
jeroen870 CreditAttribution: jeroen870 commentedComment #3
coredumperror CreditAttribution: coredumperror commentedHmmm, I see the problem. That extra newline at the beginning of the file does not belong.
I've seen this kind of problem before, though. It's almost certainly a bug in another one of your modules, which is accidentally including the php end tag (
?>
) at the end of one of its files. Including that tag leaves open the possibility that there is some whitespace after it, which causes this problem.I would suggest searching for "
?>
" within all the .module, .inc, and .install files within your site's codebase, and looking for files which have it at the end of the file. Delete it from those files (there's probably only one of these), and this problem should go away.If that doesn't work, let me know.
Comment #4
jeroen870 CreditAttribution: jeroen870 commentedJust removed two php end tags, (I searched the whole module dir.) but still there are to many whitespaces. :-(
Any ideas?
Comment #5
coredumperror CreditAttribution: coredumperror commentedThe only other thing I can think of is to clear your cache, as the version of the .ics file with extra whitespace may have gotten cached.
If that doesn't work, disable other modules until the whitespace goes away. That will tell you which module is the culprit.
Comment #6
DamienMcKennaClosing this as the problem was on the individual site and isn't a general problem with the module.