[kronolith] Free/Busy Retrieve Error
akulick@backup.corp.eoscene.com
akulick at backup.corp.eoscene.com
Wed Jun 29 18:44:10 PDT 2005
There appears to be an error in Free/Busy check in which the URL is
determined correctly, but the data retrieval is failing. Specifically,
placing an "echo $url;" spits out the correct URL. Retrieval via http
works correctly. However, the function returns nothing, echo $data
returns no meaningful data and fails if ($data).
I am unfortunately not smart enough to understand where
@file_get_contents calls too, but it would appear it is not operating
correctly.
Any help would be appreciated, even a pointer to the file_get_data function and I could try to get to the bottom of it and produce a diff/patch.
kronolith/lib/Kronolith.php line 850:
// Check if we can retrieve a VFB from the Free/Busy URL, if
// one is set.
$url = Kronolith::getFreeBusyUrl($email);
if (is_a($url, 'PEAR_Error')) {
return $url;
}
if (!empty($url)) {
$data = @file_get_contents($url);
if ($data) {
$vCal = &new Horde_iCalendar();
$vCal->parsevCalendar($data);
$vFb = &$vCal->findComponent('VFREEBUSY');
if ($vFb !== false) {
return $vFb;
}
}
}
More information about the kronolith
mailing list