R: [imp] I can't change my default addressbook

Paolo Cavicchini p.cavicchini at ifinet.it
Tue Dec 17 08:55:47 PST 2002


Hello,
I'm using the last version of all: Horda, IMP, Turba, Mnemo, Monolith, Nag.
The error I can see in the contact listbox when I try to open the Address
Book from the compose window is:

"Warning: Uninitialized string offset:0 in
/var/www/html/mail/horde/imp/templates/contacts.inc on line 45"

If I open the "From" listbox in the same address book window, I can't see my
contacts, but only the number 1, 1024 and this string:

"The method contacts/sources is not defined in Horde Registry"

I checked the regsitry and the method is registered:

$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

/* mail: Handler for sending mail. */
$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';

/* contacts: Handler for contacts management. */
$this->registry['contacts']['search'] = 'turba';
$this->registry['contacts']['add'] = 'turba';
$this->registry['contacts']['sources'] = 'turba';
$this->registry['contacts']['fields'] = 'turba';

/* Ho dovuto aggiungerlo io --> calendar: Handler for Calendar. */
$this->registry['contacts']['search'] = 'kronolith';
$this->registry['contacts']['add'] = 'kronolith';
$this->registry['contacts']['sources'] = 'kronolith';
$this->registry['contacts']['fields'] = 'kronolith';

/* memos: Handler for memos/notepad. */
$this->registry['memos']['search'] = 'mnemo';
$this->registry['memos']['list'] = 'mnemo';
$this->registry['memos']['show'] = 'mnemo';
$this->registry['memos']['add'] = 'mnemo';

/* tasks: Handler for todo lists. */
$this->registry['tasks']['search'] = 'nag';
$this->registry['tasks']['list'] = 'nag';
$this->registry['tasks']['show'] = 'nag';
$this->registry['tasks']['add'] = 'nag';

Again:

$this->services['turba']['contacts']['search'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaExpandAddresses',
    'args' => array('addresses', 'addressbooks', 'fields'),
    'type' => 'array'
);
$this->services['turba']['contacts']['add'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaAddAddress',
    'args' => array('name', 'address', 'addressbook'),
    'type' => 'boolean'
);
$this->services['turba']['contacts']['sources'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetSources',
    'args' => array('writeable'),
    'type' => 'array'
);
$this->services['turba']['contacts']['fields'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetFields',
    'args' => array('addressbook'),
    'type' => 'array'
);

Where is the problem?

Thank you
Paolo

-----Messaggio originale-----
Da: imp-bounces@lists.horde.org [mailto:imp-bounces@lists.horde.org]Per
conto di Chuck Hagenbuch
Inviato: lunedì 16 dicembre 2002 23.42
A: imp@lists.horde.org
Oggetto: Re: [imp] I can't change my default addressbook


Quoting Paolo Cavicchini <p.cavicchini@ifinet.it>:

> IMP -> Options -> Other Options -> Addressbooks
> I can't see any Address book to select.

This might indicate a registry problem. Please say what version of
everything you're using; otherwise we can't tell you what to check.

> I think this problme is related to another problem I have: when I try =
to
> open the Address Book from the "compose" window in IMP, I get an =
error
> about a source not defined.

Unless you tell us the actual error message, we can't help you.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers

-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org


More information about the imp mailing list