[imp] newbie questions

Brent J. Nordquist bjn@horde.org
Wed, 7 Feb 2001 15:37:44 -0600 (CST)


On Wed, 7 Feb 2001, Malek Hadj-Ali <lekma@chello.nl> wrote:

> newbie to imp i'm meeting these days those errors below.
> it seems that i'm not the first one... but even by browsing and searching the archieved mailing list i didn't find out yet.
>
> i hope someone will waste a bit time to help me...

We will need a lot more information, starting with what platform you're
using, Horde/IMP versions, versions of the supporting software (Apache,
PHP, IMAP, etc.).

> Warning: Constant no_action already defined in ./lib/imp.lib on line 23
> Warning: Constant send_message already defined in ./lib/imp.lib on line 42
> Warning: Constant mailto already defined in ./lib/imp.lib on line 52

This is the actual problem; these are just a consequence:

> Warning: Cannot add header information - headers already sent by (output started at ./lib/imp.lib:23) in session.inc on line 407
> Warning: Cannot add header information - headers already sent by (output started at ./lib/imp.lib:23) in session.inc on line 120
> Warning: Cannot add header information - headers already sent by (output started at ./lib/imp.lib:23) in session.inc on line 416

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942



>From chuck@horde.org Date: Wed,  7 Feb 2001 16:40:51 -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 75218 invoked from network); 7 Feb 2001 21:41:45 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 7 Feb 2001 21:41:45 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 2374C3CAA; Wed,  7 Feb 2001 16:40:51 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  7 Feb 2001 16:40:51 -0500
Message-ID: <981582051.3a81c0e309443@marina.horde.org>
Date: Wed,  7 Feb 2001 16:40:51 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
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] Installing PHP questions are offtopic

Quoting Christopher Stein <stein@eecs.harvard.edu>:

> Nope, I am using Horde 2.2.4 w/ php-3.0.18.

Doh. My bad. Sorry.

> Yes, it seems to work.. displayed in the browser window:
> 
> object(5) { string(4) "Date" string(36) "Wed, 7 Feb 2001 12:54:45 -0500
> (EST)" string(6) "Driver" string(4) "imap" string(7) "Mailbox"
> string(53) "{orvieto.eecs.harvard.edu:143/imap/user="stein"}INBOX" string(5)
> "Nmsgs" int(36) string(6) "Recent" int(30) } 

Okay, that looks right... I guess the next thing to check would be to go into 
the ImpSession class in horde.lib and see what values you're actually passing 
to the imap_open() call there. If those are right, then I'm really confused; if 
they're corrupted there, then we at least have something to go on.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me