By hockeyMan on Friday, 11 September 2020
Replies 5
Likes 0
Views 1.1K
Votes 0
I have a problem with ical import on our live site - I am logged into our front end with an authorised user but when i click on import ical events i get a 404 - COM_JEVENTS_UNKNOWN_TASK error. This used to be super smooth and worked on previous versions of jevents.

The link details (when I hover over "Import iCal Event(s)") is:

javascript:jevImportPopup('/index.php/2013-07-27-15-05-20/this-week/icals.importform/-?tmpl=component');

I can add events from the frontend as normal.

Any help/guidance much appreciated as I need to use this feature to import hundred of fixtures for our sports club.

Many thanks
Hi there, thanks for the info - I have updated to 3.6.5 and successfully imported my iCal files.

The URL I provided was taken by hovering over the iCal import option on a "This week" calendar screen rather than a site URL - i.e. to execute the JavaScript pop-up on the page.

Our site is http://www.newenthockeyclub.co.uk

As I only have one userid authorised to do iCal imports I can't give you access to the live site and my development site is hosted locally with no remote access.

Many thanks for the prompt fix and for providing such a great tool. This is the first time in 7 years I've had an issue with it.

Kind regards, Pete
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Please make sure you are using JEvents 3.6.5 - it should work ok there

On the other hand your URL looks rather strange - is there a URL we can look at?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I've updated to 3.6.5, the ical file is downloading now, but the year filtering seems not to work, I can only import all the years.


**edit**
and the ical (with all the years) file seems to be broken - google calendar can not process it
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
krzysiek

Thanks for highlighting this issue - if you change line 228 of components/com_jevents/controllers/icals.php from


$years = explode(",", $input->getCmd('years', ''));

to

// already fetched and sanitised
$years = explode(",", $years);


it will resolve this issue.

The correction will be in version 3.6.6
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Seems to work ok now. Thanks for the fix.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post