By Guest on Tuesday, 22 November 2016
Replies 7
Likes 0
Views 1.8K
Votes 0
Hello, I am using JEVENTS in combination with google calendar and ical Sync. Now I have big problems.
I have a few categories which I sync with ical from google. Everytime I want to use the update link I recieve just text and the update will not complete all events. Some google calendar are working but not all. I can not figure out what the problem is.

I already tried following:
- create new google calendar, copy the events from the old one in the new one and sync again
- create new jevents category and tried to sync.
- the calendar with copies from the events from google.
- changed import url from https to http
- delete old calendar entries
- have the same problem with other categories and calendars too.

I only see a text like this:

Importing events from ical file https://calendar.google.com/calendar/ical/7i07e2ojp02j923htrl6p3d4l0%40group.calendar.google.com/public/basic.ics
I hope this is a URL!!
icaldate = 20160808T180000 imported date=2016-08-08 18:00:00
icaldate = 20160808T190000 imported date=2016-08-08 19:00:00
icaldate = 20150329T170000 imported date=2015-03-29 17:00:00
icaldate = 20150329T193000 imported date=2015-03-29 19:30:00
icaldate = 20150906T170000 imported date=2015-09-06 17:00:00
icaldate = 20150830T170000 imported date=2015-08-30 17:00:00
icaldate = 20150823T170000 imported date=2015-08-23 17:00:00
icaldate = 20150816T170000 imported date=2015-08-16 17:00:00



For instance this ical reload give me the result above:
URL: http://sc-schoningen.de/neu/index.php?option=com_jevents&icsid=4&task=icals.reload


can you help me?

thank you and best regards


Timo



my club subscription is maybe one or two years old.
Hello,

The link to reload seems to hang a lot on your site.

Can you narrow down the google feed which is causing the issue? Do you have a lot of events in a single feed?

Many thanks
Tony
·
Tuesday, 22 November 2016 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tony,

I have two or three google calendars with recurring events. Some of them startet in 2012 and therefore the calendar is a little bigger than others but the ics file size is less than 50kb.

I have no idea how easily shrink the size of the ics file because there are some events in the past. I think jevents should ignore old events when importing to joomla when there are performance issues like this?

best regards
Timo
·
Wednesday, 23 November 2016 08:18
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm wondering if your problem is due to the old version of the managed locations addon you have, during the import - are you matching and creating locations?

I couldn't login to check since the password didn't work.

Try disabling all the JEvents club addons temporarily and trying an import again - does it work? If it does then try enabling them one at a time to find the problem.

The size of the iCal import is not an issue - you should be ok with one over 1MB in size.
·
Wednesday, 23 November 2016 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I disabled the club addons yester but same effect. I figured out as the result of this long load procedure I get a memory leak.

I had to insert increase memory limit with a htaccess file in folder:
/libraries/joomla/database/driver
.htaccess -> php_value memory_limit 1024M

now it still takes very long but it can finished the import.

I think this is just a work around. I would like to find the best solution for this problem.

I attached the user credentials for the site.

What happened if you try to load the ICAL in your environment?

best regards
Timo
·
Wednesday, 23 November 2016 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
I think I may have found the issue - but can't confirm it since the login details don't give me backend access to check your JEvents config.
·
Wednesday, 23 November 2016 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
I maintained the user in site details of this post. with the credentials you should be able to log in.

best regards
Timo
·
Wednesday, 23 November 2016 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
The problem was related to what I suspected - you had set the option "Last Year to Display in Calendar or Years Before Now" on the first tab of the JEvents config to the year 2999 so when you had a weekly event with no end date for the repeats it would create over 50,000 repeats ( 983 years x 52 weeks). So you would run out of memory (as you discovered).

I changed this to 2056 (to allow up to 50 years of events) and now the import works - I would suggest that 2026 would be fine for most sites!
·
Wednesday, 23 November 2016 13:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post