By glebeict on Wednesday, 18 March 2015
Replies 8
Likes 0
Views 3.2K
Votes 0
Hi, I have suddenly started getting an error on one of two .ics URL's, both open directly into Outlook and GMail, but one has started giving the error:

Not a valid VCALENDAR data file:
outlook.office365.com/owa/calendar/webfixtures@
glebelands.surrey.sch.uk/Calendar/calendar.ics

but this one works:
outlook.office365.com/owa/calendar/webcal@
glebelands.surrey.sch.uk/Calendar/calendar.ics

(apparently I'm not permitted to post links so add the h t t p : \ \ to the start and line two after the @ sign on both the above)

I have gone back into the calendar sharing and confirmed that nothing has changed since it worked, and that both .ics files have exactly the same sharing parameters.

I'm at a loss and would welcome any insight anyone can give to get this working.

Many Thanks

Guy



PHP Version : 5.4.24
MySQL Version : 5.6.17-log
Joomla : 3.4.0
component_com_jevents : 3.2.4
component_com_jce : 2.4.6
module_mod_jevents_cal : 3.2.4
module_mod_jevents_custom : 3.2.4
module_mod_jevents_filter : 3.2.4
module_mod_jevents_latest : 3.2.4
module_mod_jevents_legend : 3.2.4
module_mod_jevents_switchview : 3.2.4
plugin_content_jevents : 3.2.4
plugin_finder_jevents : 3.2.4 (not enabled)
plugin_search_eventsearch : 3.2.4
Both just worked perfectly for me on my server - BUT in doing this I noticed that Joomla 3.4 is less efficient on memory usage than in the past so if the import is into 2 separate server you may be running out of memory?
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the reply Geraint, both are importing onto the same server, into two different calendars in JEvents.

The error is always on one and not the other, regardless of which I've clicked first, we are running on a shared host so not sure if memory is the problem, I'll have to ask the hosting provider to check that, but seems strange as it is actually the smaller of the two calendars that it always fails on.
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
The memory issue would manifest itself as a 500 error or white screen so that is probably not the problem.

You could add a diagnostic message in the code - edit the file components/com_jevents/libraries/iCalImport.php and at line 173 you'll see
JError::raiseWarning(0, 'Not a valid VCALENDAR data file: ' . $this->srcURL);

insert this code immediately above this
echo $this->rawData;exit();


Then you'll see what the web server has obtained from Outlook.
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks again

I get this:

Importing events from ical file outlook.office365.com/owa/calendar/webfixtures@
glebelands.surrey.sch.uk/Calendar/calendar.ics
I hope this is a URL!!

The webcal one goes through still and gives me:
Message
36 deleted iCal events removed

127 iCal events processed

ICS_FILE_IMPORTED
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
So it looks as though its failed to get any data

Can you check you don't have http:// on one and https:// on the other URL
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Geraint, you hit the nail on the head, although not sure how it was working when nothing had changed, unless Microsoft changed something in Office365.
Thank you very much for your help
Guy
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Guy,

I'm going to guess the working URL is https://.

There is a big push on the internet to start using https as standard so it's possible Microsoft deprecated version.

Thanks
Tony
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony, sorry, should have said, yes it was "s"
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post