[imp] Invalid address book : localsql
Michael J Rubinsky
mrubinsk at horde.org
Wed Sep 4 19:43:49 UTC 2013
Quoting Francine Bolduc <francine.bolduc at ti.csaffluents.qc.ca>:
> 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.
Sure, because you haven't defined an address book for the user to use
as the add_source.
> 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?
Users need to select their add_source pref using the UI, just like any
other preference.
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2200 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/imp/attachments/20130904/a501e99e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/imp/attachments/20130904/a501e99e/attachment-0003.bin>
More information about the imp
mailing list