CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Google Calendar won't accept CiviEvent iCal feed
Pages: 1 [2]

Author Topic: Google Calendar won't accept CiviEvent iCal feed  (Read 8703 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Google Calendar won't accept CiviEvent iCal feed
June 13, 2009, 04:19:09 pm
Has there been any progress on this issue? I am willing to help troubleshoot or code if someone can point me in the right direction.

Thanks,
Sarah
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Google Calendar won't accept CiviEvent iCal feed
June 13, 2009, 05:35:08 pm

most of the code is in:

CRM/Event/Page/ICalendar.php
CRM/Utils/ICalendar.php
templates/CRM/Core/Calendar/ICal.tpl

We've spent way too much time trying to get it working without any success. You might want to compare CiviCRM's ical output with meetup's ical output. The meetup calendars seem to work in google. That might help you out.

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Google Calendar won't accept CiviEvent iCal feed
June 13, 2009, 10:50:30 pm
I was able to reproduce the error from Google using my own PHP iCalendar file. ( created with the output from CiviEvent). I was able to correct the issue in my PHP file by removing charset=$charset; profile=\"ICalendar\" from the content header.   

If I fix the content header to:  header( "Content-Type: $content_type;" );  then Google will accept my URL.

Could you try fixing the file at /CRM/Utils/ICalendar.php ? I do not have the latest patch applied to CiviCRM.
-Sarah
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Google Calendar won't accept CiviEvent iCal feed

This forum was archived on 2017-11-26.