[horde] help with function error

Ilya mail at krel.org
Sat Aug 23 22:28:47 PDT 2003


Hi guys, Ive just upgraded from ancient HEAD to HEAD. Still working out
differences and making changes. One thing i got stuck on.
I am using composite driver, and when i go to root of horde to login the page is
white, an after login (which works fine) it is white (background) as well, no colors are being loaded.
If i switch from composite to imap, then everything is ok.
In php.log i see this error:
[24-Aug-2003 01:20:15] PHP Fatal error:  Cannot redeclare
_horde_select_loginscreen() (previously declared in /usr/local/www/h
orde/config/conf.php:240) in /usr/local/www/horde/config/conf.php on line 239


Any suggestions at where to look? thx alot

here is my driver, exactly taking from my working installation...
$conf['auth']['driver'] = 'composite';
$conf['auth']['params'] = array();
$conf['auth']['params']['drivers'] = array();
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['params']['drivers']['imp'] = array();
$conf['auth']['params']['drivers']['imp']['driver'] = 'application';
$conf['auth']['params']['drivers']['imp']['params'] = array();
$conf['auth']['params']['drivers']['imp']['params']['app'] = 'imp';
$conf['auth']['params']['drivers']['cyrsql'] = array();
$conf['auth']['params']['drivers']['cyrsql']['driver'] = 'cyrsql';
$conf['auth']['params']['drivers']['cyrsql']['params'] = array();
$conf['auth']['params']['drivers']['cyrsql']['params']['phptype'] = 'mysql';
$conf['auth']['params']['drivers']['cyrsql']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['drivers']['cyrsql']['params']['protocol'] = 'tcp';
$conf['auth']['params']['drivers']['cyrsql']['params']['username'] = 'user';
$conf['auth']['params']['drivers']['cyrsql']['params']['password'] = 'password';
$conf['auth']['params']['drivers']['cyrsql']['params']['database'] = 'database';
$conf['auth']['params']['drivers']['cyrsql']['params']['table'] = 'users';
$conf['auth']['params']['drivers']['cyrsql']['params']['username_field'] = 'user';
$conf['auth']['params']['drivers']['cyrsql']['params']['password_field'] = 'password';
$conf['auth']['params']['drivers']['cyrsql']['params']['domain_field'] = 'domain';
$conf['auth']['params']['drivers']['cyrsql']['params']['cyradmin'] = 'admin at localhost';
$conf['auth']['params']['drivers']['cyrsql']['params']['cyrpass'] = 'password';
$conf['auth']['params']['drivers']['cyrsql']['params']['imap_dsn'] = '{localhost:993/imap/ssl/novalidate-cert}';
$conf['auth']['params']['drivers']['cyrsql']['params']['folders'] = array();
$conf['auth']['params']['drivers']['cyrsql']['params']['folders']['0'] = 'saved';
$conf['auth']['params']['drivers']['cyrsql']['params']['folders']['1'] = 'sent-mail';
$conf['auth']['params']['drivers']['cyrsql']['params']['folders']['2'] = 'trash';
$conf['auth']['params']['drivers']['cyrsql']['params']['folders']['3'] = 'drafts';
$conf['auth']['params']['admin_driver'] = 'cyrsql';
$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
$conf['auth']['params']['drivers']['cyrsql']['loginscreen_switch'] = '_horde_select_loginscreen';

function _horde_select_loginscreen() {
    return 'imp';
}




More information about the horde mailing list