2.3.7 installation (login-problem)

Stephan Wentz wentz@clicktivities.net
Fri, 1 Jun 2001 13:19:25 +0200


hi,

yesterday i installed the cvs-version of horde and imp,
now i tried to get it working - without success!

horde's test.php works fine, and i get no errors.

i can see the imp-login-screen, but whenever i try to
login to my imap-server i only get a
"Login failed for some reason. Most likely your username or password was
entered incorrectly."-error

that's what /tmp/imp.log says:
Jun 01 13:33:40 IMP [info] 213.61.250.156 login
Jun 01 13:33:44 IMP [notice] 213.61.250.156 login success for temp
{temporary.de:143}
Jun 01 13:33:44 IMP [info] 213.61.250.156 failed

/var/log/maillog says the same, the user is successfully
authenticated, the problem can't be there...

so i search through the code, and found out that the
problem is here: (mailbox.php, line 93)

if (!(IMP::setupSession() &&
      IMP::authenticate())) {
    header('Location: ' .
Horde::applicationUrl(IMP::logoutUrl('login.php?reason=failed&bla=1'),
true));
    exit;
}

so i tried both setupSession() and authenticate(), authenticate()
returns true, but setupSession() returns false, because these session-
variables aren't set: (from IMP.php, line 201)

	if (!isset($GLOBALS['HTTP_SESSION_VARS']['imp']) ||
      !is_array($GLOBALS['HTTP_SESSION_VARS']['imp']) ||
      !isset($GLOBALS['HTTP_SESSION_VARS']['imp']['user'])) {

but test.php says that the sessions are working, can someone help me
could it be a mis-configuration of php?

cya, stephan



>From janmailing@gmx.de Date: Fri,  1 Jun 2001 13:34:05 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 16391 invoked from network); 1 Jun 2001 11:36:46 -0000
Received: from mailout05.sul.t-online.com (HELO mailout05.sul.t-online.de) (194.25.134.82)
  by horde.org with SMTP; 1 Jun 2001 11:36:46 -0000
Received: from fwd03.sul.t-online.de 
	by mailout05.sul.t-online.de with smtp 
	id 155nEZ-0000sj-0G; Fri, 01 Jun 2001 13:36:51 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.156.220]) by fmrl03.sul.t-online.com
	with esmtp id 155nER-06pTJgC; Fri, 1 Jun 2001 13:36:43 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f51BY5R12210
	for <imp@lists.horde.org>; Fri, 1 Jun 2001 13:34:05 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Fri,  1 Jun 2001 13:34:05 +0200
Message-ID: <991395245.3b177dad62cd2@linux.wg.de>
Date: Fri,  1 Jun 2001 13:34:05 +0200
From: Jan Schneider <janmailing@gmx.de>
To: imp@lists.horde.org
References: <3B17949E.30084.1E9FFBE3@localhost>
In-Reply-To: <3B17949E.30084.1E9FFBE3@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] 2.3.7 Installation

That's a good idea.
You may also copy your cvsed imp dir into horde, but then you have to cvs 
update horde and imp on their own.

Jan.

Zitat von "Warwick Chapman (Budgee)" <budgee@glenwoodhighschool.co.za>:

> Howdy
> 
> I haven't done that. Should I CVS the Horde directory down, the cd 
> into it and CVS the IMP directory down into the horde dir?
> 
> Thanks
> Budgee
> 
> On 1 Jun 2001, at 13:00, Jan Schneider wrote:
> 
> > Hi,
> > 
> > some links and file references in horde and imp are hardcoded. So far as I
> know 
> > imp works only if the imp directory is a subdirectory of the horde
> directory.
> > 
> > Jan.
> > 
> > Zitat von "Warwick Chapman (Budgee)" <budgee@glenwoodhighschool.co.za>:
> > 
> > > Howdy
> > > 
> > > Battling to get 2.3.x to run.
> > > 
> > > Have the CVS versions of Horde and IMP in /var/cvs. Added an 
> > > Apache alias to the IMP cvs directory.
> > > 
> > > I seem to have been able to point IMP to Horde at ../horde - but it 
> > > gives me:
> > > 
> > > Some of IMP's configuration files are missing: 
> > > horde.php This is the main IMP configuration file. It contains paths 
> > > and options for the IMP scripts. 
> > > 
> > > Internet Messaging Program (IMP) 2.3.7-cvs 
> > > 
> > > Any ideas?
> > > 
> > > Warwick Chapman (Glenwood 1999)
> > > http://www.boatrace.co.za
> > > Assistant IT Manager
> > > Glenwood High School, Durban, South Africa
> > > 031 2055241
> > > 083 7797094
> > > http://www.glenwoodhighschool.co.za
> > > 
> > > -- 
> > > IMP mailing list: http://horde.org/imp/
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > > 
> > > 
> > 
> > 
> > ::::::::::::::::::::::::::::::::::::::::
> > 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
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > 
> > -- 
> > IMP mailing list: http://horde.org/imp/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
> 
> 
> 
> Warwick Chapman (Glenwood 1999)
> http://www.boatrace.co.za
> Assistant IT Manager
> Glenwood High School, Durban, South Africa
> 031 2055241
> 083 7797094
> http://www.glenwoodhighschool.co.za
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


::::::::::::::::::::::::::::::::::::::::
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
::::::::::::::::::::::::::::::::::::::::::::::