question about CVS version of Turba : editobject.php
Ronald Bootsman
ronald@bootsman.net
Fri, 16 Mar 2001 16:21:24 +0100
I added the option edit in the Turba menu in the menu.php
when I hit the button the edit a contact I get these errors:
Warning: Undefined index: source in
/usr/local/www/horde/turba/editobject.php on line 22
Warning: Undefined index: in /usr/local/www/horde/turba/editobject.php on
line 24
etc
In the editobject the $source variable does not get a value. Do these lines
need configuration ?
$source = $HTTP_GET_VARS['source'];
$driver = new Turba_Source($source,
$cfgSources[$source]['title'], etc, etc
The config/sources.php is filled with these values:
$cfgSources = array();
$cfgSources['localsql'] = array(
'title' => 'Local SQL',
'type' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'userid',
'password' => 'pass',
'database' => 'horde',
'options' => '',
'tty' => '',
'port' => '3306',
'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
);
Can somebody help me out ?
Ronald Bootsman
Email Ronald@BootsmanNet
ICQ 101266921