[turba] Another addressbook listing problem
Tô
chaloupe at free.fr
Sat Nov 11 05:15:04 PST 2006
Hi Marc,
I have also an LDAP addressbook (read-only) that I can browse without
any problem.
I can't remember any warnings in my logs (must be confirmed...two horde
installs, two sets of users, several modules and...a new born child that
make me loose lots of arguments ;o)
Marc Sluiter a écrit :
> Hi, I have the same(?) problem, search and browse gives several
> warnings on the page:
>
> Warning: Invalid argument supplied for foreach() in
> /home/slintes/www/wm/horde/turba/lib/ListView.php on line 304
>
> Warning: Invalid argument supplied for foreach() in
> /home/slintes/www/wm/horde/turba/lib/ListView.php on line 337
>
> I'm using yesterday's snapshots horde, framework, imp, dimp,
> kronolith, turba, nag and mnemo.
>
> Regards, Marc
>
>
> Tô schrieb am 11.11.2006 12:11:
>> Hi all,
>>
>> First of all, here is my Horde's configuration :
>> (kronolith) H3 (2.1.2)
>> (turba) H3 (2.1.2)
>> (imp) H3 (4.1.3)
>> Horde (horde) 3.1.3
>> Notes (mnemo) H3 (2.1)
>> ------------
>> PHP 4.3.11
>> MySQL 3.23
>> And a Kolab server 2.0.3
>>
>> My problem :
>> I can't browse (whatever the account is) the SQL addressbook.
>> I can add contacts that appear in turba_objects table, but not list
>> or search them.
>>
>> I know that I always must double-check my sources.php
>> I did it but can't see nothing I can doubt about. Here it is :
>>
>> $cfgSources['localsql'] = array(
>> 'title' => _("Mon carnet d_adresses (SQL prive)"),
>> 'type' => 'sql',
>> 'params' => array_merge($conf['sql'], array('table' =>
>> 'turba_objects')),
>> 'map' => array(
>> '__key' => 'object_id',
>> '__owner' => 'owner_id',
>> '__type' => 'object_type',
>> '__members' => 'object_members',
>> '__uid' => 'object_uid',
>> 'name' => 'object_name',
>> 'email' => 'object_email',
>> 'alias' => 'object_alias',
>> 'homeAddress' => 'object_homeaddress',
>> 'workAddress' => 'object_workaddress',
>> 'homePhone' => 'object_homephone',
>> 'workPhone' => 'object_workphone',
>> 'cellPhone' => 'object_cellphone',
>> 'fax' => 'object_fax',
>> 'title' => 'object_title',
>> 'company' => 'object_company',
>> 'notes' => 'object_notes',
>> 'pgpPublicKey' => 'object_pgppublickey',
>> 'smimePublicKey' => 'object_smimepublickey',
>> 'freebusyUrl' => 'object_freebusyurl'
>> ),
>> 'search' => array(
>> 'name',
>> 'email'
>> ),
>> 'strict' => array(
>> 'object_id',
>> 'owner_id',
>> 'object_type'
>> ),
>> 'export' => true,
>> 'browse' => true,
>> 'use_shares' => true
>> );
>>
>> Then, the turba configuration :
>> clients : localsql
>> shares : localsql
>> comments : yes
>> VFS : horde default
>>
>> Something strange in Turba's options :
>> I can't see any columns in options that I can (or not) display for
>> this SQL addressbook.
>>
>> Does somebody have any idea about what my problem comes from ?
>>
>> Thanks in advance,
>>
>> Christophe
More information about the turba
mailing list