Weird error

Rodrigo Borges Pereira rbp@netcanvas.com
Sat, 2 Jun 2001 19:33:08 +0100


Hello all!

Just got latest CVS and installed.

I get this weird error in the inbox screen if the mailbox doesn't have any
mail:

Warning: Wrong datatype in ksort() call in
/var/www/html/horde/imp/mailbox.php on line 502

Warning: Invalid argument supplied for foreach() in
/var/www/html/horde/imp/mailbox.php on line 506

Is this a bug or am i missing something?

TIA

Rodrigo



>From chuck@horde.org Date: Sat,  2 Jun 2001 15:07:20 -0400
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 99384 invoked from network); 2 Jun 2001 19:08:40 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jun 2001 19:08:40 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 8A582397C; Sat,  2 Jun 2001 15:07:20 -0400 (EDT)
Received: from 192.168.0.103 ( [192.168.0.103])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sat,  2 Jun 2001 15:07:20 -0400
Message-ID: <991508840.3b1939684eb43@marina.horde.org>
Date: Sat,  2 Jun 2001 15:07:20 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <991499350.3b1914562658d@agheli.vasel.com>
In-Reply-To: <991499350.3b1914562658d@agheli.vasel.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] dbm_file

Quoting maagheli@vasel.com:

> What is $dbm_file in phplib/ct_dbm.inc ???

The filename of the db database being used.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.


>From chuck@horde.org Date: Sat,  2 Jun 2001 15:09:12 -0400
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 477 invoked from network); 2 Jun 2001 19:10:32 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jun 2001 19:10:32 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id D1E82397C; Sat,  2 Jun 2001 15:09:12 -0400 (EDT)
Received: from 192.168.0.103 ( [192.168.0.103])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sat,  2 Jun 2001 15:09:12 -0400
Message-ID: <991508952.3b1939d8b992d@marina.horde.org>
Date: Sat,  2 Jun 2001 15:09:12 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <NCEMLCJBJDBDADHPBAEPEEALCPAA.rbp@netcanvas.com>
In-Reply-To: <NCEMLCJBJDBDADHPBAEPEEALCPAA.rbp@netcanvas.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Weird error

Quoting Rodrigo Borges Pereira <rbp@netcanvas.com>:

> Warning: Wrong datatype in ksort() call in
> /var/www/html/horde/imp/mailbox.php on line 502
>
> Is this a bug or am i missing something?

It's a bug; I just fixed it.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.