By Guest on Sunday, 26 August 2018
Replies 3
Likes 0
Views 1.5K
Votes 0
Creating new calendar from URL fails

I try to create a new calender from this URL:

https://www.eifelverein-eupen.be/index.php?option=com_jevents&task=icals.export&format=ical&catids=0&years=0&k=38f31bbc7bff3bce9137ac0e5a56adc2

It fails with the messages:


Hinweis
file_get_contents() failed, try fsockopen


and


Fehler
Not a valid VCALENDAR data file: httpshttp://www.eifelverein-eupen.beindex.phpoptioncom_jeventstaskicals.exportformaticalcatids0years0k38f31bbc7bff3bce9137ac0e5a56adc2


Downloading the .ics file and creating the calendar from it works like a charm.

We are running:


PHP Version : 7.0.30
MySQL Version : 5.5.56-MariaDB
Server Information : Linux srv28755.managed-pleskserver.de 3.10.0-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 2000
Club code set? : Yes
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Joomla : 3.8.11
component_com_jevents : 3.4.47
component_com_jce : 2.6.23
module_mod_jevents_cal : 3.4.47
module_mod_jevents_custom : 3.4.47
module_mod_jevents_filter : 3.4.47
module_mod_jevents_latest : 3.4.47
module_mod_jevents_legend : 3.4.47
module_mod_jevents_switchview : 3.4.47
plugin_content_jevents : 3.4.47
plugin_finder_jevents : 3.4.47
plugin_installer_jeventsinstaller : 3.4.47 (not enabled)
plugin_search_eventsearch : 3.4.47
plugin_system_gwejson : 3.4.44
Hello,

You will need to create the calendar again.

Many thanks
Tony
·
Friday, 31 August 2018 09:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I am sorry about this, please see:
https://github.com/JEvents/JEvents/pull/436/commits/6d983d904c13a6a895d18f5762a38c35346476f5

Apply that change and all will be ok again.

It is in:

/administrator/components/com_jevents/controllers/icals.php

Many thanks
Tony
·
Monday, 27 August 2018 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the quick response. I applied your change


$uploadURL = $jinput->getString('uploadURL','' );


with no avail. Same error message as before.
·
Thursday, 30 August 2018 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post