|
From: Felix B. (Mailinglist) <fb...@lt...> - 2011-06-07 17:09:16
|
Some more information... I have enabled freebusy debugging by adding the following line to my configuration file: '$c->dbg["freebusy"] = true;'. Now the following gets logged: davical: DBG: freebusy: User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 davical: DBG: freebusy:Unhandled request method >>PROPFIND<< PHP Notice: Undefined variable: raw_headers in /usr/share/davical/htdocs/freebusy.php on line 81 davical: DBG: freebusy:HEADERS: array is not set, or is not an array! davical: DBG: freebusy:_SERVER: >>HTTPS<< = >>on<< ... So the 'wrong' request method is 'PROPFIND' (instead of 'GET'). There is definitely something wrong here... A probably important although understood note: when creating a new calendar in Lightning (no matter if it should display all data about events or just free/busy information) I use 'CalDAV' format _not_ 'iCalendar (ICS)'. If I use ICS format instead (which I think is wrong) free/busy information for my friend gets displayed correctly if I use 'caldav.php'; if I use 'freebusy.php' (still with the wrong format ICS) Lightning does not show the exclamation mark (which is fine) but the entries are still not displayed (see my initial post about 'VEVENT' versus 'FREEBUSY'). I hope that this analysis is neither too detailed nor too confusing, Felix On 07.06.2011 16:13, Felix Brack (Mailinglist) wrote: > After checking once more all access levels, things still do not work > (using 'freebusy.php') but: looking at the apache error log I found this: > > PHP Notice: Undefined variable: raw_headers in > /usr/share/davical/htdocs/freebusy.php on line 82 > PHP Notice: Undefined variable: raw_post in > /usr/share/davical/htdocs/freebusy.php on line 85 > > A look into 'freebusy.php' now shows me why nothing is returned to > lightning: the 'switch' statement on line 60 jumps to case 'default' > instead of 'GET'. 'default' however does not return any http data -> QED! > > What are these variables '$raw_headers' and '$raw_post' and where are > they declared (part of PHP?)? > > Why does 'freebusy.php' take the 'default' path in that switch? > > Felix > > On 06.06.2011 16:46, Andrew McMillan wrote: >> On Mon, 2011-06-06 at 10:36 +0200, Felix Brack wrote: >>> Hello, >>> >>> Please ignore my post from some minutes ago, I pressed the wrong button! >>> >>> I am using DaviCAL 0.9.9.3 on a Debian squeeze system as calendar >>> server. The client I'm using is Thunderbird 3.1.9 with the Lightning >>> extension version 1.0b2. >>> >>> I have been trying many configurations to get free/busy information from >>> a calendar owned by a friend but non of them did work. >>> >>> Maybe my problem is related to the following: >>> http://davical-general.89287.n3.nabble.com/Davical-general-CalDAV-Unexpected-status-403-while-querying-options-td2784308.html. >> >> There are two ways, and that only affects the second way :-) >> >> In general Lightning should know how to find the free-busy information >> for another user, by using the e-mail address you enter when scheduling >> a meeting to look up the record in DAViCal. You must configure the >> DAViCal accounts e-mail address for this to work. >> >> >> For the second way... >> >> There is no option to display the calendar as free/busy, however, and >> there is a bug in Mozilla (i.e. the one above) which means that it wants >> a minimum access level to the *principal* before you can access any >> calendars for that principal. >> >> The access level you need to grant, in that case, is the "read current >> user privileges" access (from the principal, usually you would grant >> this access to everyone as it does not really lead to information loss) >> and then you need to grant free-busy access at the collection level. >> >> >> I hope this helps, >> Andrew. >> >> >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> >> >> >> _______________________________________________ >> Davical-general mailing list >> Dav...@li... >> https://lists.sourceforge.net/lists/listinfo/davical-general > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Davical-general mailing list > Dav...@li... > https://lists.sourceforge.net/lists/listinfo/davical-general |