Problems installing turba with IMP
Leonardo Rodrigues Magalhães
coelho@persogo.com.br
Wed, 15 Aug 2001 16:09:00 -0300
Hello Guys,
I'm running horde and imp perfectly well ( both from cvs this morning ). Altough, I'm having troubles configuring turba to interact with IMP ( I've also updated DB/common.php for quoteString problem )
on turba/config, I copied all .php.dist files to .php ones.
Edited conf.php and replace line
$conf['menu']['apps'] = array();
for
$conf['menu']['apps'] = array('imp');
I also edited sources.php, and it looks like:
#####################
<?php
// $Horde: turba/config/sources.php.dist,v 1.18 2001/06/02 23:11:52 jon Exp $
$cfgSources = array();
$cfgSources['localsql'] = array(
'title' => 'Local SQL',
'type' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'horde',
'password' => '******',
'database' => 'horde',
'options' => '',
'tty' => '',
'port' => '3306',
'protocol' => 'unix',
'table' => 'Turba_Objects'
),
'map' => array(
'__key' => 'object_ID',
'__owner' => 'owner_ID',
'name' => 'name',
'email' => 'email',
'homeAddress' => 'homeAddress',
'workAddress' => 'workAddress',
'homePhone' => 'homePhone',
'workPhone' => 'workPhone',
'cellPhone' => 'cellPhone',
'fax' => 'fax',
'title' => 'title',
'company' => 'company',
'notes' => 'notes'
),
'public' => false,
'readonly' => false
);
?>
#####################
horde/config/registry.php contains ( default, I didnt change anything )...
$this->registry['contacts']['search'] = 'turba';
$this->registry['contacts']['add'] = 'turba';
$this->registry['contacts']['sources'] = 'turba';
and some $this->applications[´turba´] values ....
I also created the Turba_Objects on the selected database at MySQL. The supplied user/password has all grant on that table.
Altough, I cannot get it working. On Options page, when I click on Addressbook, it asks me to login ( is this right ? ). Also, Expand Names gets me to a login page ...
What I doing wrong ???
Hope hearing from you soon,
Leonardo Rodrigues
Persocom Network