Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-16-2008, 06:51 AM
opusmyhero opusmyhero is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
opusmyhero is on a distinguished road
Thumbs up [SOLVED]Zimbra Can't/Won't recognize .ics file as valid

Well DUH . . . if you have events with no times right at the beginning of the list of events . . of COURSE the entire .ics file is going to fail . . . . remove broken events and everything is just fine . . . note to self -- pay closer attention!

Howdy . . . having a problem getting zimbra to recognize (guessing it is more a can't than won't ) an .ics file as a valid calendar . . . . the .ics is created dynamically (coldfusion/oracle) based on a user profile. . . . the error message rec'd is:

Appointments could not be retrieved. Make sure the following URL is a valid ICAL feed: http://cfdevws01.imt.uwm.edu/employe...1-mabraham.ics

Any assistance would be greatly appreciated!

oh yeah. . .whoops . . forgot to include the code that creates the file content . . sheesh . . . . here it is:

<cfsavecontent variable="calendar">BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:Zimbra-Calendar-Provider
<cfoutput query="everyprofileevents">BEGIN:VEVENT
SEQUENCE:1
UID:#url.personid#-#eventid#-mydev.uwm.edu
SUMMARY:#eventtitle#
LOCATION:#eventlocation#
DTSTART:#dateformat(realdate,'yyyymmdd')#T#timefor mat(starts,'HHmmss')#
DTEND:#dateformat(realdate,'yyyymmdd')#T#timeforma t(end,'HHmmss')#
STATUS:CONFIRMED
CLASS:PUBLIC
URL:http://mydevelopment.uwm.edu/longvie...ntid=#eventid#
END:VEVENT
</cfoutput>END:VCALENDAR
</cfsavecontent>

<cflock name="calendar_#url.personid#" timeout="20">

<!--- and then here .. generate scheduled task to auto update the calendar -- daily/weekly . .whatever the answer ends up being from S Premeau ---><cffile action="write"
file="/var/www/html/employeedev/calendars/#url.personid#-#myprofile.username#.ics"
output="#calendar#">

</cflock>

Thank you!

Last edited by opusmyhero : 05-21-2008 at 11:23 AM. Reason: SOLVED
Reply With Quote
  #2 (permalink)  
Old 05-21-2008, 10:05 AM
Bill Brock Bill Brock is offline
Elite Member
 
Join Date: May 2007
Location: Oklahoma
ZCS Version: 5.0.6_GA_2313.openSUSE_10.2_20080522133539 openSUSE_10.2 FOSS
Posts: 394
Bill Brock is on a distinguished road
Default

The file will manually import into a Zimbra calendar. This indicates to me that the .ics file is valid.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
slapd message error smoke Administrators 7 04-27-2008 03:23 PM
admin consol blank after 5.0.3 upgarde maumar Administrators 6 03-21-2008 05:16 AM
[SOLVED] Zimbra 5.0.2_GA_1975_RHEL setup CentOS 5.1 problem evolus Installation 12 02-25-2008 06:28 PM
How to install Zimbra Debian 3.1 binaries on Debian Etch 4.0 [Workaround] xtin Installation 31 12-15-2007 08:05 PM
Can't start Zimbra! zibra Administrators 5 03-22-2007 11:34 AM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0