By g5seventy on Saturday, 07 April 2018
Replies 8
Likes 0
Views 1.6K
Votes 0
Hello. I'm unable to add Google Calendar as an iCal source.
It's the No. 1 Reason why my org is unable to switch away from Google iCal Reader until now.

I tried both the Google public iCal link (readonly) as well as the secret iCal link (read and write)

I'm running Firefox 59 on Windows 10.
When trying to add the calendar I get the following JavaScript errors:

TypeError: form.catid is undefined[Learn More] index.php:338:1
submitbutton https://g5seventyjoomla.de/administrator/index.php:338:1
onclick https://g5seventyjoomla.de/administrator/index.php:1:99

TypeError: document.adminForm.allDayEvent is undefined[Learn More] editicalJQ.js:485:6
toggleAllDayEvent https://g5seventyjoomla.de/components/com_jevents/assets/js/editicalJQ.js:485:6
<anonymous> https://g5seventyjoomla.de/components/com_jevents/assets/js/editicalJQ.js:1108:2
dispatch https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:12392
add/r.handle https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:9156
trigger https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:11571
a.event.trigger https://g5seventyjoomla.de/media/jui/js/jquery-migrate.min.js:2:8273
triggerHandler https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:19064
ready https://g5seventyjoomla.de/media/jui/js/jquery.min.js:2:30047
K https://g5seventyjoomla.de/media/jui/js/jquery.min.js:2:30366

Firefox Console Output

--

This seems to be a problem with JEvents and/or my Joomla! Instance.
Can you help me?

--

Support Info:
PHP Version : 7.0.27
MySQL Version : 5.7.21
Server Information : Linux g5seventyserver 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Joomla : 3.8.6
component_com_jevents : 3.4.46
component_com_jce : 2.6.26
module_mod_jevents_cal : 3.4.46
module_mod_jevents_custom : 3.4.46
module_mod_jevents_filter : 3.4.46
module_mod_jevents_latest : 3.4.46
module_mod_jevents_legend : 3.4.46
module_mod_jevents_switchview : 3.4.46
plugin_content_jevents : 3.4.46
plugin_finder_jevents : 3.4.46 (not enabled)
plugin_installer_jeventsinstaller : 3.4.46
plugin_search_eventsearch : 3.4.46
plugin_system_gwejson : 3.4.46


--

All mentioned URLs and hostnames are anonymized
I marked this as Critical as it's the No. 1 Reason why we haven't switched away from Google iCal Reader until now.
Hope this is ok
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

That's fine :-) It was the weekend here though hence our delayed response.

Please try the attached JEvents version.

Many thanks
Tony
·
6 years ago
·
0 Likes
·
1 Votes
·
0 Comments
·
Thanks tonyp for the fast reply.
There's now a debug message available (yay, progress!)



The info messages advises to use fsocksopen. I'm not sure if that's something I can do or if it's just a debug message of yours.

TypeError: document.adminForm.allDayEvent is undefined[Learn More] editicalJQ.js:485:6
toggleAllDayEvent https://g5seventyjoomla.de/components/com_jevents/assets/js/editicalJQ.js:485:6
<anonymous> https://g5seventyjoomla.de/components/com_jevents/assets/js/editicalJQ.js:1108:2
dispatch https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:12392
add/r.handle https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:9156
trigger https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:11571
a.event.trigger https://g5seventyjoomla.de/media/jui/js/jquery-migrate.min.js:2:8273
triggerHandler https://g5seventyjoomla.de/media/jui/js/jquery.min.js:3:19064
ready https://g5seventyjoomla.de/media/jui/js/jquery.min.js:2:30047
K https://g5seventyjoomla.de/media/jui/js/jquery.min.js:2:30366

Support Info

I created an example Google Calendar and put the information, including secret iCal in the private site details of this response. Hopefully this will help you to debug this problem.
·
6 years ago
·
0 Likes
·
1 Votes
·
0 Comments
·
Can you check if Curl/Fsock is enabled in your PHP Configuration?

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
allow_url_fopen = On


plus I'm able to cURL outside of the network
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

It sounds as though the https cert might not be validating. Does the Joomla! Updater work and can you install from web on the Joomla! Installation manger?

Can you just confirm what Joomla and jevents version you are on.

Many thanks
Tony
·
6 years ago
·
0 Likes
·
1 Votes
·
0 Comments
·
Ah yes, the current SSL cert is self-signed. We will use a proper one later.
In fact updating and installing plugins worked flawless even with this self-signed cert.
Joomla : 3.8.6
module_mod_jevents_cal : 3.4.46

You're right that we need to update our joomla. Ugh :/
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you let us know if it works once you have a valid SSL or try doing it over non-ssl? All is working fine here, it's usually a URL or server configuration issue.

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post