[imp] Login (horde auth = 'imp') always returns "Login failed for some reason..."

James Nikolich jnikolic@compeuphoria.com
Sun, 28 Oct 2001 17:16:45 -0500 (EST)


On Sun, 28 Oct 2001, Chuck Hagenbuch wrote:

> Quoting James Nikolich <jnikolic@compeuphoria.com>:
> 
> > I am running with the current HEAD tags of both Horde and IMP as of
> > Saturday the 27th @ 11:30pm EDT.  I have PHP 4.0.5, and have
> > downloaded/installed the Pear 4.0.7RC3 from the Horde FTP site.  
> > (Incidentally, the latest test.php seems to be a bit misleading, because
> > it _still_ complains about PEAR after the new tarball is installed -
> > because it's only checking the minor # for PHP...).
> > 
> > When I try to log in, I get the "Welcome to Mail" screen.  When I fill out
> > the appropriate login information, I get the dreaded "Login has failed for
> > some reason.  Most likely...".
> 
> What is your cookie_path set to in horde/config/registry.php? Where is horde
> living in your webroot?

'cookie_path => '/horde'

My document root is /var/www/html.  Horde is a symlink 
'/var/www/html/horde' that points to Horde's real home, /opt/horde.  I've 
also tried removing the symlink and placing the horde directory right in 
my document root instead;  no change.  In either case, imp is a 
subdirectory under horde.



> > 24.141.87.20 - - [28/Oct/2001:01:04:39 -0500] "GET 
> > /horde/imp/redirect.php?=473888c46d493d666443b43b1fd71b18 HTTP/1.1" 302 5 
> > "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917"
> > 24.141.87.20 - - [28/Oct/2001:01:04:39 -0500] "GET 
> 
> These are rather strange; do you by chance have the session name set to '' in
> horde/config/horde.php?

$conf['session_name'] = 'Horde';



> > Incidentally, I also cannot get Horde's logging facility to work (either 
> > with the 'file' or 'syslog' drivers).  No output is generated.  This is 
> > what initially led me to believe that my PEAR was outdated, but I'm pretty 
> > sure I've installed 4.0.7RC3 correctly (directory diff's would seem to 
> > confirm that) so I'm doubtful that's the cause.
> 
> Can you be more specific than "can't get it to work"? Error messages?
> Configurations you've tried? Etc...

No error messages; just no output.  I've used both of the following 
configs:

$conf['log']['enabled'] = true;
$conf['log']['type'] = 'syslog';
$conf['log']['name'] = LOG_LOCAL0;
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();

   and

$conf['log']['enabled'] = true;
$conf['log']['type'] = 'file';
$conf['log']['name'] = '/var/log/horde.log';
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();

(In the latter case, I also touched '/var/log/horde.log' and then chmod'ed 
it to 666.)


Thanks,

Jim