[horde] HEAD 3.0 LOGIN - Return to login screen

Phil Petersen philpetersen at philpetersen.com
Tue Mar 25 16:56:26 PST 2003


I have a great working horde  2.2 running -- it's a personal site
running on my own webserver and doesn't produce anything (but headaches)
so i thought I'd join the 'cutting edge' crowd and try to start bringing
in 3.0. Instead of trying to 'upgrade' -- I did a load from a snapshot
and configured the /horde/conf/conf.php and /horde/conf/registry.php
created the mySQL tables, etc. I pass all the tests on /horde/test.php.
Right now, I have no horde apps running except the framework (one step
at a time!). When I log-in as 'admin', (I pass the 'auth' routine) I
would expect to get a menu bar with at least log-out on it - instead I
am returned to a new login screen with no menu items, (even though I am
designated an admin).  So here are some of the important conf.php
settings:
 
$conf['use_ssl'] = 0;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/horde';
$conf['sql']['phptype'] = 'mysql';
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['port'] = 3306;
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'blahblahblah';
$conf['sql']['database'] = 'webdb';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['auth']['admins'] = array(admin);
$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['maxsize'] = null;
$conf['category']['driver'] = 'sql';
$conf['links']['driver'] = 'sql';
$conf['links']['params'] = array();
$conf['sessionhandler']['type'] = 'none';
$conf['problems']['email'] =  <mailto:'administrator at philpetersen.com'>
'administrator at philpetersen.com';
$conf['menu']['display'] = true;
$conf['programs']['file'] = '';
$conf['hooks']['username'] = false;

Right now, I only have thes entries in registry.php
 
$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/horde.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'status' => 'active',
    'templates' => dirname(__FILE__) . '/../templates',
    'provides' => 'horde'
);
$this->applications['myaccount'] = array(
    'icon' => $this->applications['horde']['webroot'] .
'/graphics/myaccount.gif',
    'name' => _("My Account"),
    'status' => 'heading',
);
$this->applications['accounts'] = array(
    'fileroot' => dirname(__FILE__) . '/../accounts',
    'webroot' => $this->applications['horde']['webroot'] . '/accounts',
    'icon' => $this->applications['horde']['webroot'] .
'/accounts/graphics/accounts.gif',
    'name' => _("My Account"),
    'allow_guests' => false,
    'status' => 'active',
    'menu_parent' => 'myaccount'
);
$this->applications['logout'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => $this->applications['horde']['webroot'],
    'initial_page' => 'login.php?reason=logout',
    'icon' => $this->applications['horde']['webroot'] .
'/graphics/logout.gif',
    'name' => _("Logout"),
    'allow_guests' => false,
    'status' => 'notoolbar'
);
 
Any help would be greatly appreciated. 
 
Phil Petersen
"You call me bitch, like it's a bad thing!"
 


More information about the horde mailing list