[horde] Undefined index: params in turba/lib/Driver.php

Bob Montz bmontz at gmail.com
Thu Nov 6 23:58:51 UTC 2008


Hi All,

I have a brand new installation and I'm getting the following error in the upper
left hand corner after logging in:  Notice: Undefined index: params in
/usr/share/horde3/turba/lib/Driver.php on line 1110

That file has the following (line 1110 is the $driver = &new
$class($config['params']); line):

     function &factory($name, $config)
    {
        $class = basename($config['type']);
        include_once dirname(__FILE__) . '/Driver/' . $class . '.php';
        $class = 'Turba_Driver_' . $class;
        if (class_exists($class)) {
            $driver = &new $class($config['params']);
        } else {
            $driver = PEAR::raiseError(sprintf(_("Unable to load the definition
of %s."), $class));
            return $driver;
        }

        $result = $driver->_init();
        if (is_a($result, 'PEAR_Error')) {
            return $result;
        }

This is on a Ubuntu 8.04 LTS desktop (32-bit) installation.  I'm running Horde
3.1.7 and Turba 2.1.7.  Installation was done by downloading the debian packages
(apt) and not compiled locally.

My ..../turba/config/conf.php file contains:

$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array();
$conf['client']['addressbook'] = 'localsql';
$conf['comments']['allow'] = true;
$conf['documents']['params']['vfsroot'] = '/tmp';
$conf['documents']['type'] = 'file';

Any suggestions on how to correct this would be greatly appreciated.

Thanks,

Bob



More information about the horde mailing list