[turba] Localsql not listed

Francine.Bolduc at ti.csaffluents.qc.ca Francine.Bolduc at ti.csaffluents.qc.ca
Fri Apr 13 19:44:40 UTC 2012


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
        // information here - for example,
        //'sql' => array(
        //    'persistent' => false,
        //    'username' => 'horde',
        //    'password' => 'secret',
        //    'socket' => '/var/run/mysqld/mysqld.sock',
        //    'protocol' => 'unix',
        //    'database' => 'horde',
        //    'charset' => 'utf-8',
        //    'ssl' => false,
        //    'splitread' => false,
        //    'phptype' => 'mysql'
        //),
        'sql' => array(
        'phptype' => 'pgsql',
        //'hostspec' => 'bdcsa8dev.csaffluents.qc.ca',
        'server' => 'bdcsa84dev.csaffluents.qc.ca',
        'username' => 'horde',
        'password' => 'c98f1706',
        'database' => 'horde',
        'charset' => 'utf-8'
        ),
        'table' => 'turba_objects'
    ),


and I removed " 'use_shares' => true " and the Address book work. 

Thanks

Francine



More information about the turba mailing list