Help Desk

webcal subscribe problems

  • Posts: 528 Topics: 25 Answers: 48
    | Permalink

    I’m seeing strange things where some events that are clearly visible in the calendar are not visible in a subscribed ical calendar, using webcal://

    If I go to the particular event, so far always in a repeating event, and update without making any changes. Then when I refresh it’s there.

    Interestingly, when I view the particular event in All Events, there are only three choices highlighted under the Event title on mouseover. The “Quick Edit” option is missing. If I go to Edit that event and Update then the Quick Edit option returns and the Event is now viewable in the subscribed calendar.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Andy, sorry to hear you’re having issues here. We can try to help. Is there any chance you can link us to the site/iCal link, so I can try to recreate this on my end?

    Not sure what’s up with the “Quick Edit” link missing; are there any other plugins running on the site that could be responsible for this? I’m unable to recreate on my local install.

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Rob, the calendar is at http://troop262ps.org/events/month

    I made a Subscribe link at the bottom of the calendar for the webcal link. I have a bunch of other plugins installed but I’ve never seen this behavior before. I have 25 total active plugins.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Thanks Andy. I’ve subscribed to the feed you provided here in iCal; and I am seeing that, for example, the December 21 Scout Meeting that shows on the calendar page is not appearing in my iCal feed. If I understand what you’re saying correctly – if you were to go into that 12/21 entry on the backend and re-update it (without making any changes), it’d appear on the iCal feed from there?

    Just want to double check. Could you go ahead and do that, if it’s the case? I’ll be able to get a dev to take a look from there, since this is a bizarre issue that I’ve not seen before. Thanks!

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Done. Do you need/want any sort of editor access to the site? If so, just register and I’ll grant it.

    Thanks.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Andy. Thanks for doing this; should give us what we need to look into it fully. I’ll get one of our developers to take a look and respond when they hit the forums next. I should note that since our team is winding down for the holidays, support will be a bit less frequent than usual over the next couple weeks. We will get you a response on this issue sometime early next week though.

    Posts: 16 Topics: 4
    | Permalink

    I am getting similar behavior as Andy. I do not have quick edit for recurring events. I also am only getting one occurrence of recurring events in my feed. There doesn’t seem to be any rhyme or reason to which date of the recurring events is chosen to show up.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Sam, thanks for the note. Does this persist after upgrading both free & PRO to 2.0.3?

    Posts: 16 Topics: 4
    | Permalink

    Yes it does for me.

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    It does for me as well.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Alright, thanks for confirming guys. Sorry to hear you’re having issues – I’ve got this in front of one of the advanced devs so they can see what exactly the issue is and we can offer a patch in 2.1. If there’s a short-term solution we can provide in the interim, I’ll get him to share that as well.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Andy. We went to try and recreate this today for testing with the devs, and the iCal link doesn’t appear to be working anymore. I instead get a message within iCal saying: “There was an error subscribing to the calendar. The data downloaded from webcal://troop262ps.org/events/ical/ isn’t valid.” Has something changed on your end?

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Rob, I get the same error and in fact if I use the iCal Import link and then try to add the downloaded .ics file I get an error that “iCal can’t read this calendar file.” The only thing I’ve done is upgrade to ECP 2.0.3.

    I dug into the ics file and the problem is that you’ve changed the VERSION:2.0 to VERSION:2.0.3

    If you change it back is seems to work again. This is the version of iCalendar not ECP.

    According to IETF

    4.7.4 Version

    Property Name: VERSION

    Purpose: This property specifies the identifier corresponding to the
    highest version number or the minimum and maximum range of the
    iCalendar specification that is required in order to interpret the
    iCalendar object.

    Value Type: TEXT

    Property Parameters: Non-standard property parameters can be
    specified on this property.

    Conformance: This property MUST be specified by an iCalendar object,
    but MUST only be specified once.

    Description: A value of “2.0” corresponds to this memo.

    Format Definition: The property is defined by the following notation:

    version = “VERSION” verparam “:” vervalue CRLF

    verparam = *(“;” xparam)

    vervalue = “2.0” ;This memo
    / maxver
    / (minver “;” maxver)

    minver =
    ;Minimum iCalendar version needed to parse the iCalendar object

    maxver =
    ;Maximum iCalendar version needed to parse the iCalendar object

    Example: The following is an example of this property:

    VERSION:2.0

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Rob, you can try on my calendar again. I’ve made the correction to my installation of ECP2.0.3.

    Posts: 2
    | Permalink

    I’m having the exact same problem with iCal. Did the version change to the .ics file fix things? If so, where is this file?

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    In events-calendar-pro.php edit line 265 to read `$content .= “VERSION:2.0\n”;`

    Posts: 2
    | Permalink

    Perfect! That fixed my problem as well.. thanks Andy!

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    No problem. Glad that’s all it was.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Thanks for pointing Eric in the right direction here, Andy. I’ve asked the devs to take a look at that 2.0/2.0.3 discrepancy to see what we changed in 2.0.3.

    I can also confirm, Andy, that the link now works again – so I’ve got our dev Joey taking a look at that too, so he can hopefully point you in the right direction. Stay tuned.

    Posts: 114 Answers: 26
    | Permalink

    Hi everyone,

    Thanks for finding the solution Andy and sharing it with everyone one. You are absolutely correct in that it’s the version of iCalendar and not of our plugin. We must of accidentally changed this when releasing version 2.0.3. We’ll make sure to have that fixed in 2.1 which is our next release and we’ll let other users know of the solution.

    Thanks again,
    Joey

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Joachim, let’s not forget the real reason for this thread. There are events that show up on the calendar that don’t show when subscribed to the feed in iCal.

    Thanks.

    Posts: 114 Answers: 26
    | Permalink

    Andy, are you saying that the events still don’t appear when you fix the VERSION issue?

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Yes, but it’s different events. Look at all the Wednesday Scout Meetings. They exist in the calendar but not in my subscription. Currently, look at February’s Wednesday night Scout Meetings in calendar but not in subscription.

    This fix that I found was likely just an error introduced in 2.0.3, someone thinking it was the version number for ECP and not iCalendar.

    Posts: 114 Answers: 26
    | Permalink

    Hi Andy,

    Yes, that was in fact an error on our part (regarding the version). So you’re saying that some of your events still don’t appear in the iCal feed even after fixing the version issue in the code? Sorry if I am repeating myself again, just want to make sure we’re on the same page and your last answer wasn’t 100% clear πŸ™‚

    Thanks!
    Joey

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Yes Joey, the original problem, prior to ECP v2.0.3 and the incorrect version number is still present. To see examples refer to my Feb calendar at http://troop262ps.org/events. There is a difference between what’s on the calendar and what is in the subscription.

    I think I may have found a cause. I deleted one of the series of meetings to change it’s location, etc and created a new event for that single episode. Since I had to delete the event that was part of the series for that day, Feb 1, all subsequent events in the subscribed feed aren’t present though they do exist on the calendar.

    Posts: 16 Topics: 4
    | Permalink

    For me if I look at the actual content of the feed through feedvalidator I see the recurring posts with all of their recurrences but they do not show up when imported into Google Calendar. For instance the first recurring event that shows up in the feed is “Richard’s Care Group”:

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.hcfsidney.ca%2Fevents%2Fical%2F

    Doing a search of the validator page reveals 21 entries (a couple of those are not part of the recurring event but the rest are).

    In Google Calendar only one instance of the recurring event shows up – the rest do not. It doesn’t make sense and there seems to be no reason to which instance of the recurring event shows on the calendar. Sometimes its the first occurrence but sometimes it is one 2-3 months away.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Thanks for confirming, guys. We’re looking into this now and either Joey or myself will update this thread just as soon as we know more. I apologize for the inconvenience so far.

    Posts: 114 Answers: 26
    | Permalink
    Correct Answer

    Hi everyone,

    Just to give you an update of where things stand. We’ve done a bit of digging, and identified this as a definite bug. It’s on our roadmap for the 2.1 release to fix this (this is our next release). We’ll update this thread as soon as we have a more concrete solution, but I can’t say that this will be immediate.

    Thanks for your patience & in the mean time let us know if you find anything further on your side πŸ™‚

    Happy weekend!
    Joey

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Just a heads up that we’ve hotfixed this and wrote a blog post on it with instructions for rectifying: https://theeventscalendar.com/fix-deployed-for-broken-webcal-import-in-2-0-3/. Users installing the plugin fresh won’t be impacted by this; those who already had it installed should re-download. The issue should be set in the new code.

    Thanks for being patient, and do let us know if you need anything else or have problems on this front.

    Posts: 528 Topics: 25 Answers: 48
    | Permalink

    Rob, this fix is only for part of the problem right? The part dealing with the inadvertent change to the version number and not the issue this thread started about which was events on the calendar not showing up in the iCal export/feed. Or does this fix all of it? You only seemed to address the first part in the blog post.