[imp] Problem im Auth.php

Mike A. Oligny pandaro@freebsd.schema.ca
Sat, 8 Dec 2001 01:33:47 -0700


---------------------- multipart/signed attachment
Chuck Hagenbuch (chuck@horde.org) wrote:

> Quoting Stefan Schleifer <gnut@odn.de>:
>=20
> > i still receive the "Warning: unserialize() failed at offset
> > 0 of 35 bytes in /path-to_server/horde/lib/Auth.php on line
> > 227"-Error when logging in to horde/imp. I have installed IMP
> > and Kronolith, horde configured to authorize with imp. Most
> > times login works, but sometimes after logging in i get a
> > second window with the error above and a split screen below
> > there with saying "login to mail" and Calender on the right.
> >=20
> > Is this a horde-problem (so i'd go to the other list :-) ) or
> > something with imp?!?
>=20
> It probably belongs on the horde list. I can't reproduce this,
> and no one else has reported it - has anyone else seen it? Can
> you find any way to consistently reproduce it?
>=20
> -chuck

This is happening to me now--only when using webmail.blah.com
instead of blah.com/horde.=20

	Warning: unserialize() failed at offset 0 of 36
	bytes in /usr/local/www/data.default/ ...=20
	horde/lib/Auth.php on line 227


(cvs/head - two hours ago)

I had a fairly long e-mail in the making and just realized that
it is an intermittent problem... well, the opposite; it goes away
occasionally.  :) Seems worse when I uncomment the two lines in
registry.php to deal with the double login. =20

Guess before I spend any more time, has anyone fixed this? =20

-Mike

---------------------- multipart/signed attachment
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 540 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/96b3af29/attachment.bin

---------------------- multipart/signed attachment--


>From jan@horde.org Date: Sat,  8 Dec 2001 11:49:22 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 88741 invoked from network); 8 Dec 2001 10:57:48 -0000
Received: from mailout03.sul.t-online.com (HELO mailout03.sul.t-online.de) (194.25.134.81)
  by clark.horde.org with SMTP; 8 Dec 2001 10:57:48 -0000
Received: from fwd03.sul.t-online.de 
	by mailout03.sul.t-online.de with smtp 
	id 16CfAw-0008Ow-0B; Sat, 08 Dec 2001 11:57:46 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.216.142]) by fmrl03.sul.t-online.com
	with esmtp id 16CfAr-2C03hAC; Sat, 8 Dec 2001 11:57:41 +0100
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 fB8AnNk14559
	for <imp@lists.horde.org>; Sat, 8 Dec 2001 11:49:23 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Sat,  8 Dec 2001 11:49:22 +0100
Message-ID: <1007808562.3c11f03271051@linux.wg.de>
Date: Sat,  8 Dec 2001 11:49:22 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <5.0.2.1.2.20011202000137.00a24540@pop.odn.de> <1007248453.3c09644545418@marina.horde.org> <20011208013347.A47808@freebsd.schema.ca>
In-Reply-To: <20011208013347.A47808@freebsd.schema.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Problem im Auth.php

Zitat von "Mike A. Oligny" <pandaro@freebsd.schema.ca>:

> Chuck Hagenbuch (chuck@horde.org) wrote:
> 
> > Quoting Stefan Schleifer <gnut@odn.de>:
> > 
> > > i still receive the "Warning: unserialize() failed at offset
> > > 0 of 35 bytes in /path-to_server/horde/lib/Auth.php on line
> > > 227"-Error when logging in to horde/imp. I have installed IMP
> > > and Kronolith, horde configured to authorize with imp. Most
> > > times login works, but sometimes after logging in i get a
> > > second window with the error above and a split screen below
> > > there with saying "login to mail" and Calender on the right.
> > > 
> > > Is this a horde-problem (so i'd go to the other list :-) ) or
> > > something with imp?!?
> > 
> > It probably belongs on the horde list. I can't reproduce this,
> > and no one else has reported it - has anyone else seen it? Can
> > you find any way to consistently reproduce it?
> > 
> > -chuck
> 
> This is happening to me now--only when using webmail.blah.com
> instead of blah.com/horde. 
> 
> 	Warning: unserialize() failed at offset 0 of 36
> 	bytes in /usr/local/www/data.default/ ... 
> 	horde/lib/Auth.php on line 227
> 
> 
> (cvs/head - two hours ago)
> 
> I had a fairly long e-mail in the making and just realized that
> it is an intermittent problem... well, the opposite; it goes away
> occasionally.  :) Seems worse when I uncomment the two lines in
> registry.php to deal with the double login.  
> 
> Guess before I spend any more time, has anyone fixed this?  

Did you make sure to change the cookie path also? The auth credentials that 
are processed in these lines are stored as session cookies.

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


>From pandaro@freebsd.schema.ca Date: Sat,  8 Dec 2001 04:10:33 -0700
Return-Path: <pandaro@freebsd.schema.ca>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 90227 invoked from network); 8 Dec 2001 11:10:31 -0000
Received: from s142-59-253-48.ab.hsia.telus.net (HELO freebsd.schema.ca) (142.59.253.48)
  by clark.horde.org with SMTP; 8 Dec 2001 11:10:31 -0000
Received: (from nobody@localhost)
	by freebsd.schema.ca (8.11.3/8.11.3) id fB8BAXY49061
	for imp@lists.horde.org; Sat, 8 Dec 2001 04:10:33 -0700 (MST)
	(envelope-from pandaro@freebsd.schema.ca)
From: "Mike A. Oligny" <pandaro@freebsd.schema.ca>
X-Authentication-Warning: freebsd.schema.ca: nobody set sender to pandaro@freebsd.schema.ca using -f
Received: from 142.173.240.133 ( [142.173.240.133])
	as user pandaro@192.168.0.101 by webmail.schema.ca with HTTP;
	Sat,  8 Dec 2001 04:10:33 -0700
Message-ID: <1007809833.3c11f529590fe@webmail.schema.ca>
Date: Sat,  8 Dec 2001 04:10:33 -0700
To: imp@lists.horde.org
References: <5.0.2.1.2.20011202000137.00a24540@pop.odn.de> <1007248453.3c09644545418@marina.horde.org> <20011208013347.A47808@freebsd.schema.ca> <1007808562.3c11f03271051@linux.wg.de>
In-Reply-To: <1007808562.3c11f03271051@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 142.173.240.133
Subject: Re: [imp] Problem im Auth.php

> Did you make sure to change the cookie path also? The auth credentials that
> are processed in these lines are stored as session cookies.
> Jan.

I think we could probably use some more variables somewhere to take
care of this [globally] - I changed the webroot for imp and it works 
perfectly now.  Is this what you were talking about?  

I can reproduce it every time, so worst case I think it might be worth 
putting in some slightly more graceful error handling?

Also - this leads me to believe I should remove the horde prefix for 
all modules...

Perhaps we could have something like:

$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
    'webroot' => $webroot . '/imp',
    'icon' => $webroot . '/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => true,
    'show' => true
);

-Mike



>From pandaro@freebsd.schema.ca Date: Sat,  8 Dec 2001 04:20:00 -0700
Return-Path: <pandaro@freebsd.schema.ca>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 91248 invoked from network); 8 Dec 2001 11:19:59 -0000
Received: from s142-59-253-48.ab.hsia.telus.net (HELO freebsd.schema.ca) (142.59.253.48)
  by clark.horde.org with SMTP; 8 Dec 2001 11:19:59 -0000
Received: (from nobody@localhost)
	by freebsd.schema.ca (8.11.3/8.11.3) id fB8BK0x49178
	for imp@lists.horde.org; Sat, 8 Dec 2001 04:20:00 -0700 (MST)
	(envelope-from pandaro@freebsd.schema.ca)
From: "Mike A. Oligny" <pandaro@freebsd.schema.ca>
X-Authentication-Warning: freebsd.schema.ca: nobody set sender to pandaro@freebsd.schema.ca using -f
Received: from 142.173.240.133 ( [142.173.240.133])
	as user pandaro@192.168.0.101 by webmail.schema.ca with HTTP;
	Sat,  8 Dec 2001 04:20:00 -0700
Message-ID: <1007810400.3c11f760a9483@webmail.schema.ca>
Date: Sat,  8 Dec 2001 04:20:00 -0700
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 142.173.240.133
Subject: Outgoing Mail

I was under the impression that outgoing mail generally should not 
have lines exceeding ~72 characters.

All of the e-mails I get from the horde/imp crew are always in
dire need of reformatting...

is this my fault, or is this IMP or...  ideas?  :)

-Mike


>From pandaro@freebsd.schema.ca Date: Sat,  8 Dec 2001 04:22:22 -0700
Return-Path: <pandaro@freebsd.schema.ca>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 92176 invoked from network); 8 Dec 2001 11:22:20 -0000
Received: from s142-59-253-48.ab.hsia.telus.net (HELO freebsd.schema.ca) (142.59.253.48)
  by clark.horde.org with SMTP; 8 Dec 2001 11:22:20 -0000
Received: (from nobody@localhost)
	by freebsd.schema.ca (8.11.3/8.11.3) id fB8BMMw51339
	for imp@lists.horde.org; Sat, 8 Dec 2001 04:22:22 -0700 (MST)
	(envelope-from pandaro@freebsd.schema.ca)
From: "Mike A. Oligny" <pandaro@freebsd.schema.ca>
X-Authentication-Warning: freebsd.schema.ca: nobody set sender to pandaro@freebsd.schema.ca using -f
Received: from 142.173.240.133 ( [142.173.240.133])
	as user pandaro@192.168.0.101 by webmail.schema.ca with HTTP;
	Sat,  8 Dec 2001 04:22:22 -0700
Message-ID: <1007810542.3c11f7eea008a@webmail.schema.ca>
Date: Sat,  8 Dec 2001 04:22:22 -0700
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 142.173.240.133
Subject: Line Widths

I was under the impression that outgoing e-mail should not have lines
exceeding ~72 characters.  Pretty much everything I have ever received
from the Horde/IMP crew has been in dire need of reformatting.

Thoughts?