Francine.Bolduc | 11 Apr 2012 15:01
Picon

Localsql not listed

> Hi !
>
> I have 3 actives address book in /turba/config/backends.php.
>
> In Horde, I see "ldapEmpl" and "ldapEle" but not "localsql". Why ?
>
> /turba/config/backend.local.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(
>         '__key' => 'object_id',
>         '__owner' => 'owner_id',
>         '__type' => 'object_type',
>         '__members' => 'object_members',
>         '__uid' => 'object_uid',
>         'name' => 'object_name',
(Continue reading)

Francine.Bolduc | 13 Apr 2012 21:44
Picon

Localsql not listed

Finally, the problem is probably in this part of the code : 

> $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'
>     ),

I replaced the configuration of my "localsql" by that "backends.php.dist" 
file :

$cfgSources['localsql'] = array(
    'disabled' => false,
    'title' => _("Shared Address Books"),
    'type' => 'sql',
    'params' => array(
        // The default connection details are pulled from the Horde-wide 
SQL
        // connection configuration.
        // To use another DB connection, you must provide configuration
(Continue reading)


Gmane