[imp] Invalid address book : localsql

Francine Bolduc francine.bolduc at ti.csaffluents.qc.ca
Wed Sep 4 19:21:27 UTC 2013


Michael J Rubinsky <mrubinsk <at> horde.org> writes:

> 
> 
> Quoting Francine.Bolduc <at> ti.csaffluents.qc.ca:
> 
> > Hi !
> >
> > Horde 5 and IMP 6 work good but I have always a little problem. Impossible
> > to save the sender's address in the personal address book. The message is
> > : "Invalide address book : localsql".
> >
> > If I go to the options of IMP and save the parameters of "Address book",
> > there is not problem anymore
> >
> >
> > Here is a part of imp/prefs.local.php :
> >
> > $_prefs['search_sources']['value'] = json_encode(array(
> >         'localsql',
> >         'ldapEmpl',
> >         'ldapEle',
> >         'csaSympa'));
> >
> > $_prefs['search_fields']['value'] =  json_encode(array(
> >         'localsql' => array('name', 'firstname', 'email'),
> >         'ldapEmpl' => array('name', 'firstname', 'email'),
> >         'ldapEle' => array('name', 'firstname', 'email'),
> >         'csaSympa' => array('name', 'firstname', 'email')));
> >
> > $_prefs['add_source']['value'] = 'localsql';
> 
> 'localsql' is obviously not a valid value for this preference in your  
> installation. This won't work if you are using shares in Turba.

Ok but if I don't set the value (I leave the default value), I have the same
message. 

And if the preference "add_source" is set for a user in the table
"horde_prefs", it is working (no error message). Is there another parameter
to set in order to fix my problem?

If I do use Turba shares, how should I configure all this so that users can
add contact directly from a message?

Thanks





More information about the imp mailing list