[kronolith] Error retrieving free/busy information for ... : Not found

gui gui at function.com
Fri Oct 21 18:05:16 PDT 2005


Hi All

It seems that  $data = @file_get_contents($url);   in getFreebusy 
function of Kronolith.php
is returning nothing.     The $url is correct.    
So there is problem getting the data from the FreeBusyUrl
http://home.function.com/horde/kronolith/fb.php?u=abc%40example.com
(note I'm using realm and so the username has domain appended to it, but 
I don't think this matters).

Anybody has any ideas?

Thank you.

Gui

========

Hi All

I found that the error was generated here in lib/Kronolith.php's  
getFreeBusy   function
<< // Check storage driver.
        global $conf;
        require_once KRONOLITH_BASE . '/lib/Storage.php';
        $storage = &Kronolith_Storage::singleton();
        $res = $storage->search($email);
        if (!is_a($res, 'PEAR_Error') || $res->getCode() == 
KRONOLITH_ERROR_FB_NOT_FOUND) {
            return $res;
        }
 >>
The $res object is an error.   

I checked the kronolith_storage table and found that it was empty and 
didn't have a primary key defined.
Is this normal?

In my configuration, I used  SQL for  Free/Busy driver  and Horde 
Defaults for driver configuration.

Can anybody help?

Thank you.

Gui

----------

Hi Jan and All

Oops, it was my mistake.    I didn't install Turba addressbook properly 
(didn't run the sql script to create the table).

But now, I am getting the

Error retrieving free/busy information for abc at example.com: Not found   

error when I click on Edit Attendees.

I've read the mailing list and did what was recommended -
set my default identity, set my FreeBusy calendar in Calendar options,
created an entry in my address book with my email and the email of another user in it,
and with the freebusy url 
  http://horde.example.com/horde/kronolith/fb.php?u=abc%40example.com  in the entries.

Before I did all these, I got the No freebusyUrl entry found for .. error.
After I did the abovementioned, the error became 'Error retrieving free/busy information for abc at example.com: Not found'

I've read Kevin M. Myer's post but don't quite understand it.

Has anybody gotten the Freebusy thing working???

Thank you very much in anticipation.


Gui 





Jan Schneider wrote:

> Zitat von gui <gui at function.com>:
>
>> But I didn't configure any addressbook, and there also isn't any 
>> entry in any addressbook.
>
>
> I can't tell you more than that this error message *only* is returned 
> if the contacts API finds more than one f/b url for the provide email 
> address.
>
>> I also tried to use a external email address like abc at yahoo.com, and 
>> also got the
>> same error messsage.   Maybe it is supposed to give a 'address not 
>> found' message instead?
>> Something to do with the getFreeBusy function in Kronolith.php?
>> Is the 'More than 1 entry' error generated by PEAR?
>> Or is my addressbook module not installed or configured properly?
>>
>>
>> Regards
>>
>> gui
>>
>>
>> Jan Schneider wrote:
>>
>>> Zitat von gui at function.com:
>>>
>>>
>>>> In Add Event, when I click Edit Attendees, enter email addresses in 
>>>> Add
>>>> Attendees, and then click Save Attendees, I get this error message:
>>>>
>>>> " Error retrieving free/busy information for aaa at example.com : More 
>>>> than 1 entry
>>>> found"
>>>>
>>>> for each of the email addresses I entered.
>>>>
>>>
>>> You have the email address in more than one address book.
>>>
>>> Jan.
>>>
>>>
>>
>>
>
>
>
> Jan.
>

-- 
Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org

-- 
Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org



More information about the kronolith mailing list