[turba] Localsql not listed

Patrick Boutilier boutilpj at ednet.ns.ca
Sat Mar 31 12:55:14 UTC 2012


On 03/30/2012 01:28 PM, Jan Schneider wrote:
>
> Zitat von Francine.Bolduc at ti.csaffluents.qc.ca:
>
>> Hi !
>>
>> I have 3 actives address book in /turba/config/backends.php.
>>
>> In Horde, I see "ldapEmpl" and "ldapEle" but not "localsql". Why ?
>>
>> backend.php :
>>
>> $cfgSources['localsql'] = array(
>> 'disabled' => false,
>> 'title' => "Mon carnet personnel",
>> 'type' => 'sql',
>> 'params' => array(
>> 'sql' => array(
>> 'phptype' => 'pgsql',
>> 'hostspec' => 'localhost',
>> 'username' => 'horde',
>> 'password' => '<my_password>',
>> 'database' => 'horde',
>> 'charset' => 'utf-8'
>> ),
>> 'table' => 'turba_objects'
>> ),
>> 'map' => array( .... etc...
>> );
>
> "etc" is actually the important point. If you use shares, "localsql" is
> not a valid address book name.

Do you mean using

'use_shares' => true,

with

$cfgSources['localsql'] = array(

?


If so, that is what is in the example in backends.php . Should the 
source be called something other than localsql ?





<snip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <http://lists.horde.org/archives/turba/attachments/20120331/44178356/attachment.vcf>


More information about the turba mailing list