[turba] Turba2 blank contacts.php window in imp

juan carlos juanca2711 at hotmail.com
Wed Mar 7 04:04:54 UTC 2007


Hi,

I've installed the horde3 with turba2. 
When i'm composing a message and hit the address book button, i get a blank 
html window (contacts.php from imp is rendering a blank page), but when i'm 
browse the address book from turba/browse.php is perfectly working.  How can I 
fix this problem?

This is my configuration:

turba/config/sources.php
$cfgSources['localsql'] = array(
    'title' => _("My Addressbook"),
    'type' => 'sql',
    'params' => array_merge($conf['sql'], array('table' => 'turba_objects')),
    'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        '__uid' => 'object_uid',
        'name' => 'object_name',
        'email' => 'object_email',
        'alias' => 'object_alias',
        'homeAddress' => 'object_homeaddress',
        'workAddress' => 'object_workaddress',
        'homePhone' => 'object_homephone',
        'workPhone' => 'object_workphone',
        'cellPhone' => 'object_cellphone',
        'fax' => 'object_fax',
        'title' => 'object_title',
        'company' => 'object_company',
        'notes' => 'object_notes',
        'pgpPublicKey' => 'object_pgppublickey',
        'smimePublicKey' => 'object_smimepublickey',
        'freebusyUrl' => 'object_freebusyurl'
    ),
    'search' => array(
        'name',
        'email'
    ),
    'strict' => array(
        'object_id',
        'owner_id',
        'object_type',
    ),
    'public' => false,
    'readonly' => false,
    'admin' => array(),
    'export' => true
);


imp/config/prefs.php
$_prefs['auto_expand'] = array(
    'value' => 0,
    'locked' => false,
    'shared' => false,
    'type' => 'checkbox',
    'desc' => _("Expand names in the compose window automatically in the backgr$
$_prefs['display_contact'] = array(
    'value' => 1,
    'locked' => false,
    'shared' => true,
    'type' => 'checkbox',
    'desc' => _("List all contacts when loading the contacts screen? (if disabl$
$_prefs['search_sources'] = array(
    'value' => 'localsql',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit');
$_prefs['search_fields'] = array(
    'value' => 'localsql\tname\temail',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit');
$_prefs['add_source'] = array(
    'value' => 'localsql',
    'locked' => false,
    'shared' => true,
    'type' => 'implicit');

Thanks in advance




More information about the turba mailing list