JEvents 1.5 (No longer actively supported)

SOLVED - ICS url import from Zimbra doesn't work

JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

Postby yguerin » Fri Dec 23, 2011 6:16 pm

Hello,

First of all, my configuration:

* PHP version 5.2.17
* Joomla! version 1.5.22
* JEvents version 1.5.5
* Web Server software Apache
* Server Operating system Debian
* Web browser Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0

I've a problem when trying to import a calendar from an URL. I know that i don't have last version of Joomla! and Jevent but curiously, if I download the ICS and try to manually upload it, no problem!

I also tried to update to Jevent 1.5.6 without success (same problem in backend + problem displaying the frontend).

The error displayed is :

Not a valid VCALENDAR data file: http://webmail.web4all.fr/home/webmestr ... Public.ics

0 iCal events processed
ICS FILE IMPORTED

The URL is public, so no problem.
The server that generates the ICS is Zimbra OSE.

Following is an extract :

BEGIN:VCALENDAR
X-WR-CALNAME:Calendrier du territoire Public
X-WR-CALID:d63f38fd-9df3-4834-918e-96dce8974193:570
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Brussels
BEGIN:STANDARD
DTSTART:19710101T030000
TZOFFSETTO:+0100
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
TZNAME:CET
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:+0200
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
TZNAME:CEST
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:6f5cda69-4c4a-4a7b-a80a-9fca7e763d75
SUMMARY:Conseil Territorial
X-ALT-DESC;FMTTYPE=text/html:<html><body></body></html>
ORGANIZER;CN=Webmestre Lyon Levant:mailto:webmestre@sgdf-lyonlevant.fr
DTSTART;TZID="Europe/Brussels":20111125T190000
DTEND;TZID="Europe/Brussels":20111125T210000
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20111021T113313Z
DTSTAMP:20111021T113313Z
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:44c8095f-233d-49b9-a103-73511502f851
SUMMARY:Fête des Lumières
X-ALT-DESC;FMTTYPE=text/html:<html><body></body></html>
ORGANIZER;CN=Webmestre Lyon Levant:mailto:webmestre@sgdf-lyonlevant.fr
DTSTART;VALUE=DATE:20111208
DTEND;VALUE=DATE:20111209
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20111021T113739Z
DTSTAMP:20111021T113739Z
SEQUENCE:1
END:VEVENT

Yannick
yguerin
 
Posts: 5
Joined: Fri Dec 23, 2011 12:22 pm

Postby carcam » Sat Dec 24, 2011 12:29 am

I think the white space in the file name is making the system to not get the the file properly. Will it be possible for you to test with an ics file without white spaces?
¿Sabías que tenemos soporte en español para los miembros del Club de JEvents? ¡ÚNETE AHORA!
User avatar
carcam
Team Staff
 
Posts: 7111
Joined: Wed Aug 06, 2008 7:50 pm
Location: Almería

Postby Geraint » Mon Dec 26, 2011 10:31 am

The problem is that this URL has htaccess login requirements - JEvents doesn't know how to handle these credentials. Can you generate a public URL instead
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby yguerin » Tue Dec 27, 2011 6:48 am

Hello,

And thank you both for your answer.

I first tried an URL whithout any white space (for this I changed the orginal URL, thus giving this pseudo htacess error, the file is no more published at this URL), but changed nothing. The new url is below:

http://webmail.web4all.fr/home/webmestr ... ire_Public

Perhaps can you test the URL with one of your Jevent installation?

Thank you again,

Yannick

ps: is there a way to edit a post? I would delete the urls as soon as the problem is solved so that these ressources dont get indexed (url is pulic but the frontend should be Jevent).
yguerin
 
Posts: 5
Joined: Fri Dec 23, 2011 12:22 pm

Postby yguerin » Wed Jan 04, 2012 1:10 pm

Hello,

Here is another test: I can import the calendar above in Google without any problem.

yannick
yguerin
 
Posts: 5
Joined: Fri Dec 23, 2011 12:22 pm

Postby Geraint » Wed Jan 04, 2012 1:13 pm

the Zimbra TZID values have double quotes around them - I suspect that is the cause of your problems.
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby yguerin » Wed Jan 04, 2012 1:31 pm

Ok,

What's next? Curiously, the bug doesn't appear if I download the ICS file and then import it manually.

Should I file in a bug for Zimbra? I mean, are these double quotes not normal?

Or should I join the club, so I'll have better chances to get this fixed in Jevents?

Thank you for your support,
Cheers,
yguerin
 
Posts: 5
Joined: Fri Dec 23, 2011 12:22 pm

Postby yguerin » Tue Jan 31, 2012 2:41 pm

Hello,

I finally manage to get it working. I created a small php script that download the ics file from Zimbra.

the script then copy this file to a location accessible from the web.

I configured jevents to get the ICS from this location.

With this setup, i'm able to sync Zimbra and Jevents.

Thank you for your help.
yguerin
 
Posts: 5
Joined: Fri Dec 23, 2011 12:22 pm


Return to JEvents 1.5 (No longer actively supported)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users