Configuring Turba

Hanser, Kevin kevin@merchantinternetgroup.com
Fri, 23 Feb 2001 17:57:55 -0500


Whew!  I think I've finally got IMP 2.3 working on my system... and I'm
getting there w/Turba.  I click on contacts in IMP, and it brings up the
turba window, but if I click on the Add link, I get this error:
Warning: Undefined index: protocol in DB/pgsql.php on line 95

hmmm... pgsql.php  - would that be PostGresQL?  If so... I'm wondering why
it's trying to use postgres....  I'm using a mysql backend.
I've looked @ the conf.php file, and I'm not sure exactly what to fill in...
In the preference section, I've pretty much copied what I had for IMP:
$conf['prefs']['driver'] = 'sql';

// Any parameters that the preferences driver needs. This includes
// database or ldap server, username/password to connect with, etc.
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'hordemgr';
$conf['prefs']['params']['password'] = 'hordepass';
$conf['prefs']['params']['database'] = 'horde';

I'm not sure what to put in the 
$conf['prefs']['params']['table'] = 

part though... I looked in the docs dir for turba, and found the turba.sql
file, and created the tables specified therein... and so I thought "hmm,
maybe I should point it to the Turba_Objects table.  But that didn't seem to
do much... I'm still getting the same error (above).

Ideas?

Thanx

Kevin Hanser
System Administrator
Merchant Internet Group
kevin@MerchantInternetGroup.com