[horde] Still having problems logging in
Jan Schneider
jan at horde.org
Wed Jan 30 09:29:42 PST 2002
Zitat von Anthony Ryan Mattke <tony at iphere.com>:
> Actually.. it isn't working, I get the login screen.. but I cant get
> past it.. I try to go to admin/user.php and I cant get in. I have
> already created a user by hand in MySQL using MD5'ing the passwd.
>
> I did var_dump several things from login.php including
> var_dump($conf['auth']['params']);
> var_dump($conf['auth']['admins']);
>
> which both were conclusive in giving
> NULL NULL
>
> From admin/user.php I var_dump'd
> var_dump($conf['auth']['params']);
> var_dump($conf['auth']['admins']);
>
> And all three returned evidence pointing towards the fact that I am not
> getting horde.php included.
>
>
> bool(false) NULL NULL there are no administrators. user administration
> is disabled.
>
> An admin account is provided as
> $conf['auth']['admins'] = 'tonhe';
>
> and sql backend configuration is provided as per the presetup horde sql
> pref example.
>
> Anyone have any idea what is going on ?
First of all you didn't do what I asked you to. It's hard to help locating
the problem if you don't do what we advise.
Secondly the 'admins' entry expects an array not a single string (as
documented in horde.php). So the line should be:
$conf['auth']['admins'] = array('tonhe');
>
> Tony
>
> -----Original Message-----
> From: Jan Schneider [mailto:jan at horde.org]
> Sent: Wednesday, January 30, 2002 6:57 AM
> To: horde at lists.horde.org
> Subject: RE: [horde] Still having problems logging in
>
> Zitat von Anthony Ryan Mattke <tony at iphere.com>:
>
> > Ok, So I tried some debugging in the admin/user.php file
> >
> > I don't know much about php or horde, so I'm not sure where to see
> > where
> > these variables are actually included into the project at, But this
> is
> > what I've found out.
> >
> > I added this to admin/user.php
> >
> > var_dump(@is_array($conf['auth']['admins']));
> > print "." . $conf['auth']['admins'] . ".";
> > var_dump($conf['auth']['driver']);
> >
> > And what I get back is conclusive that my settings don't get loaded
> at
> > all from my horde.php file.. But menu.php does reflect changes in my
> > registry.php file (IE I see the IMP mail link at the bottom when I'm
> > logging into horde)
> >
> > So where does it actually load the config from horde.php and why
> isn't
> > it doing it. ??
>
> If it wouldn't load horde.php it would stop from working completely.
> var_dump($conf['auth']['admins']) should give you the array pretty
> printed
> that contains your admins.
>
> But thats not your problem, your problem is that you can't login at
> all,
>
> right? A starting point may be lib/Auth/sql.php. Try to find out where
> in
> the authenticate() method which value is returned.
>
> Jan.
Jan.
--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::
More information about the horde
mailing list