[turba] My tuba cann't work!

wang hu kongyishi at hotmail.com
Thu Feb 27 13:37:12 PST 2003


Dear,
My OS is RedHat 8.0,and I have installed the latest horde tar ball  and the 
latest imp tar ball successfully with mysql and imap carried by redhat 
8.0.Horde and imp work properly.

I have installed the turba.sql successfully,because when I "show tables from 
horde" I can see "turba_objects".Here is all the configuration in horde and 
turba for turba.

In horde/config/registry.php...........................................

/* contacts: Handler for contacts management. */
$this->registry['contacts']['search'] = 'turba';
$this->registry['contacts']['add'] = 'turba';
$this->registry['contacts']['sources'] = 'turba';
$this->registry['contacts']['fields'] = 'turba';
/* These handlers are available with Turba 2.1.1 */
$this->registry['contacts']['add_field'] = 'turba';
$this->registry['contacts']['delete_field'] = 'turba';
$this->registry['contacts']['get_field'] = 'turba';
$this->registry['contacts']['list_field'] = 'turba';
$this->registry['contacts']['import_vcard'] = 'turba';

$this->applications['turba'] = array(
    'fileroot' => dirname(__FILE__) . '/../turba',
    'webroot' => $this->applications['horde']['webroot'] . '/turba',
    'icon' => $this->applications['horde']['webroot'] . 
'/turba/graphics/turba.gif',
    'name' => _("Address Book"),
    'allow_guests' => false,
    'status' => 'inactive'
);


In horde/turba/config/sources.php..........................

$cfgSources['localsql'] = array(
    'title' => 'My Addressbook',
    'type' => 'sql',
    'params' => array(
        'phptype' => 'mysql',
        'hostspec' => 'localhost',
        'username' => 'horde',
        'password' => 'horde',
        'database' => 'horde',
        'table' => 'turba_objects'
    ),


when  I visit http://www.example.com/horde/turba/search.php

The titile bar of the Mozilla  shows the title of this page as <?= 
$page_title ?> -Mozilla

the first line in the window is ':"?>
Then,the next two lines are the icons and the associated url,they are  
Browse ,Add,Search,Advanced Search  and so on.

the next line is a blank line

the last line is a listbox control (with no item in it) followed by a text 
control(the text property of this control is <?= $val ?> ),which followed by 
a listbox which is the same as the first list box,then ,followed by a 
button,the text property of the button is <?= _(
the last part of this line is three charactors " / >

I have saved this page and attatched this page in this email.

Can you help me out?








_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


More information about the turba mailing list