Folders broken ? (or intermittent)

Mike Lewis cajun@clearcom.com
Thu, 6 Dec 2001 13:07:52 -0800


When I am viewing my inbox and I click folders, several times it has
displayed the the errors below. A couple of times it has actually displayed
the folders though. 

Horde-2.0-RC3
Imp-3.0-RC3

Warning: Undefined offset: -1 in
/usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 327

Warning: Undefined offset: -1 in
/usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 320

Warning: Undefined offset: -1 in
/usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 320

Warning: Undefined offset: -1 in
/usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 320

Warning: Undefined offset: -1 in
/usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 320

Warning: Cannot add header information - headers already sent by (output
started at /usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php:327) in
/usr/share/php/HTTP/Compress.php on line 75

Warning: Cannot add header information - headers already sent by (output
started at /usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php:327) in
/usr/share/php/HTTP/Compress.php on line 76

Warning: Cannot add header information - headers already sent by (output
started at /usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php:327) in
/usr/share/php/HTTP/Compress.php on line 86

Warning: Cannot add header information - headers already sent by (output
started at /usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php:327) in
/usr/share/php/HTTP/Compress.php on line 100


>From chuck@horde.org Date: Thu,  6 Dec 2001 16:28:59 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 23904 invoked from network); 6 Dec 2001 21:29:37 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 6 Dec 2001 21:29:37 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 78B7D39B4; Thu,  6 Dec 2001 16:28:59 -0500 (EST)
Received: from 192.168.0.102 ( [192.168.0.102])
	as user chuck@localhost by marina.horde.org with HTTP;
	Thu,  6 Dec 2001 16:28:59 -0500
Message-ID: <1007674139.3c0fe31b4f181@marina.horde.org>
Date: Thu,  6 Dec 2001 16:28:59 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <EDDA3A9B9FC2FF478A29B7883FEC44D0745A@mail.slave.clearcom.com>
In-Reply-To: <EDDA3A9B9FC2FF478A29B7883FEC44D0745A@mail.slave.clearcom.com>
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
Subject: Re: [imp] Folders broken ? (or intermittent)

Quoting Mike Lewis <cajun@clearcom.com>:

> When I am viewing my inbox and I click folders, several times it has
> displayed the the errors below. A couple of times it has actually displayed
> the folders though. 
> 
> Horde-2.0-RC3
> Imp-3.0-RC3
> 
> Warning: Undefined offset: -1 in
> /usr/local/bin/horde-2.0/imp-3.0/lib/Tree.php on line 327

This error is the only significant one. We aren't going to be able to do 
anything about this without knowing what your IMAP server is, what folder 
structure you have, whether you use subscriptions, and probably without knowing 
exactly when it happens and when it doesn't.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin


>From liamr@umich.edu Date: Thu,  6 Dec 2001 16:32:18 -0500
Return-Path: <liamr@umich.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 24857 invoked from network); 6 Dec 2001 21:32:20 -0000
Received: from donkeykong.gpcc.itd.umich.edu (smtp@141.211.2.163)
  by clark.horde.org with SMTP; 6 Dec 2001 21:32:20 -0000
Received: from esperanto.web.itd.umich.edu (smtp@esperanto.web.itd.umich.edu [141.213.231.69])
        by donkeykong.gpcc.itd.umich.edu (8.8.8/4.3-mailhub) with ESMTP id QAA24577
        for <imp@lists.horde.org>; Thu, 6 Dec 2001 16:32:19 -0500 (EST)
Received: (from nobody@localhost)
	by esperanto.web.itd.umich.edu (8.8.8/4.9.1-cyrus) id QAA13671
	for imp@lists.horde.org; Thu, 6 Dec 2001 16:32:19 -0500 (EST)
X-Authentication-Warning: esperanto.web.itd.umich.edu: nobody set sender to liamr@umich.edu using -f
Received: from 141.213.231.63 ( [141.213.231.63])
	as user liamr@l.imap.itd.umich.edu by mail-test.www.umich.edu with HTTP;
	Thu,  6 Dec 2001 16:32:18 -0500
Message-ID: <1007674338.3c0fe3e2ce9d0@mail-test.www.umich.edu>
Date: Thu,  6 Dec 2001 16:32:18 -0500
From: Liam Hoekenga <liamr@umich.edu>
To: imp@lists.horde.org
References: <1007672250.3c0fdbba85c33@mail-test.www.umich.edu> <1007672670.3c0fdd5e3c6a0@marina.horde.org>
In-Reply-To: <1007672670.3c0fdd5e3c6a0@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 141.213.231.63
Subject: $conf['user']['redirect_on_logout'] urls getting appened w/ ?reason=logout

> use $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']
> 
> -chuck

You rock.

On the other side of things, I'm also trying to define
$conf['user']['redirect_on_logout'], and it's appending "?reason=logout" to
anything I put there.. which is kind of problematic.

I see the message where this was committed in 3.0RC2 (28 Nov 2001) - would it be
possible to make passing the HORDE reasons to custom login and logout pages
optional?  The CGI I'm redirecting my logout to is a little unhappy with the
extra argument.

Liam


>From chuck@horde.org Date: Thu,  6 Dec 2001 16:35:09 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 25895 invoked from network); 6 Dec 2001 21:35:47 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 6 Dec 2001 21:35:47 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 6D1B239B4; Thu,  6 Dec 2001 16:35:09 -0500 (EST)
Received: from 192.168.0.102 ( [192.168.0.102])
	as user chuck@localhost by marina.horde.org with HTTP;
	Thu,  6 Dec 2001 16:35:09 -0500
Message-ID: <1007674509.3c0fe48d4653b@marina.horde.org>
Date: Thu,  6 Dec 2001 16:35:09 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1007672250.3c0fdbba85c33@mail-test.www.umich.edu> <1007672670.3c0fdd5e3c6a0@marina.horde.org> <1007674338.3c0fe3e2ce9d0@mail-test.www.umich.edu>
In-Reply-To: <1007674338.3c0fe3e2ce9d0@mail-test.www.umich.edu>
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
Subject: Re: [imp] $conf['user']['redirect_on_logout'] urls getting appened w/ ?reason=logout

Quoting Liam Hoekenga <liamr@umich.edu>:

> On the other side of things, I'm also trying to define
> $conf['user']['redirect_on_logout'], and it's appending "?reason=logout" to
> anything I put there.. which is kind of problematic.
> 
> I see the message where this was committed in 3.0RC2 (28 Nov 2001) - would it
> be possible to make passing the HORDE reasons to custom login and logout pages
> optional?  The CGI I'm redirecting my logout to is a little unhappy with
> the extra argument.

There are times when it just doesn't make sense to me to have something 
configurable, and this is one of them. I don't really care, but it made sense 
to me to pass the reason (which might also be session or failed) along. And 
having an option for it just seems gratuitous and smells like bloat to me.

Your CGI really just doesn't like an extra GET parameter?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin