Error messages in Apache error_log.

Christopher Crowley ccrowley@tulane.edu
Mon, 3 Dec 2001 15:20:55 -0600


I have updated my CVS installation of turba.  It is not currently
functioning.  I see these error messages in the apache/logs/error_log file.
When I browse to turba, I see a text version of prefs.php instead of the
search page. This was working before the CVS update. I tried copying
prefs.php.dist to prefs.php, but his made no difference.

Thank you in advance for any suggestions / trouble shooting advice that you
might make.

---- Error Log -----


[Mon Dec  3 15:09:53 2001] [error] PHP Warning:  Invalid argument supplied
for foreach() in /space/local/apache_php2/htdocs/horde/horde/lib/Prefs.php
on line 190
[Mon Dec  3 15:09:53 2001] [error] PHP Warning:  Cannot add header
information - headers already sent by (output started at
/space/local/apache_php2/htdocs/horde/horde/turba/config/prefs.php:11) in
/space/local/apache_php2/htdocs/horde/horde/turba/index.php on line 31


----- Config Information -----

Solaris 8 box, Apache 1.3.19, OpenSSL 0.9.6a, PHP 4.2.0-dev, PEAR from horde
site,

Apache  Loaded Modulesmod_php4, mod_ssl, mod_setenvif, mod_so, mod_auth,
mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis,
mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation,
mod_mime, mod_log_config, mod_env, http_core



>From dan@acucore.com Date: Mon,  3 Dec 2001 15:28:20 -0700
Return-Path: <dan@acucore.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 14701 invoked from network); 3 Dec 2001 22:27:36 -0000
Received: from softdnserror (HELO corellia.acucore.com) (65.204.194.42)
  by clark.horde.org with SMTP; 3 Dec 2001 22:27:36 -0000
Received: (from nobody@localhost)
	by corellia.acucore.com (8.11.2/8.11.2) id fB3MSL902472
	for imp@lists.horde.org; Mon, 3 Dec 2001 15:28:21 -0700
Received: from 207.135.57.76 ( [207.135.57.76])
	as user killroyboy@pop.mail.yahoo.com by  with HTTP;
	Mon,  3 Dec 2001 15:28:20 -0700
Message-ID: <1007418500.3c0bfc84e4857@>
Date: Mon,  3 Dec 2001 15:28:20 -0700
From: Dan Wilson <dan@acucore.com>
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
Subject: HTML in-line optional

I found the following in the archives:

Is there anyway to make the inline display of HTML optional?  Either in the imp 
config or in each user's preferences.

I would prefer the latter, but will be happy with the former.

If nobody wants to put forth the effort on this, I can build it if someone 
points me in the right direction.

-Dan

------------------------------------------------------------
On Mon, Aug 13, 2001 at 03:31:36PM -0500, Craig M. Dupree 
(cdupree@csr.utexas.edu) wrote:
> On Mon, 13 Aug 2001, Rich Lafferty wrote:
> 
> > Yep, it's a MUST according to section 4 of RFC 2045. A message without
> > the MIME-Version header is not a MIME message, and is thus rendered as
> > plain text -- that is, the Content-Type header isn't meaningful
> > because non-MIME messages don't have MIME types. :-)
> 
> Well, at least I have something to work with now.
> 
> On a related note, what is the impact of having HTML displayed in-line.

We try to clean up as much as possible, but it is to an extent a
contest between our filtering out active content (Javascript, for
instance) and malevolent sorts finding new ways to hide it. 2.2.6
fixed a way to hide it, for instance. 

HTML-inline mail also lets senders know that recipients read their
mail, by putting an "image bug" in -- they see the hit for the image,
they know the message was opened.

There's a few other problems along those lines. Putting the HTML in an
attachment doesn't /solve/ them, but it does mean that you can open
the message without triggering them.

  -Rich




>From chuck@horde.org Date: Mon,  3 Dec 2001 17:32:14 -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 15926 invoked from network); 3 Dec 2001 22:32:53 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Dec 2001 22:32:53 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id EFEBE39EB; Mon,  3 Dec 2001 17:32:14 -0500 (EST)
Received: from 192.168.0.115 ( [192.168.0.115])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  3 Dec 2001 17:32:14 -0500
Message-ID: <1007418734.3c0bfd6ec6056@marina.horde.org>
Date: Mon,  3 Dec 2001 17:32:14 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1007418500.3c0bfc84e4857@>
In-Reply-To: <1007418500.3c0bfc84e4857@>
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] HTML in-line optional

Quoting Dan Wilson <dan@acucore.com>:

> Is there anyway to make the inline display of HTML optional?  Either in the 
> imp config or in each user's preferences.

You don't say what version you're talking about. For IMP 3.0, edit 
imp/config/mime_drivers.php.

-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 chuck@horde.org Date: Mon,  3 Dec 2001 17:33: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 16682 invoked from network); 3 Dec 2001 22:34:29 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Dec 2001 22:34:29 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id B312939EB; Mon,  3 Dec 2001 17:33:51 -0500 (EST)
Received: from 192.168.0.115 ( [192.168.0.115])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  3 Dec 2001 17:33:51 -0500
Message-ID: <1007418831.3c0bfdcf8ca25@marina.horde.org>
Date: Mon,  3 Dec 2001 17:33:51 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1006185586.3bf92c72d6ebd@www.inbox.lv> <1006186889.3bf931892ccf0@jan.dip.ammma.net> <1006188023.3bf935f72c069@test.inbox.lv> <1006188589.3bf9382dd2d2f@jan.dip.ammma.net> <000401c171af$5f3970e0$170810ac@NICK> <1006253888.3bfa3740d68ee@jan.dip.ammma.net> <000f01c171ba$4ce004d0$170810ac@NICK> <1007411710.3c0be1fe86a98@marina.horde.org> <1a6e01c17c40$8c88eee0$19775181@netview>
In-Reply-To: <1a6e01c17c40$8c88eee0$19775181@netview>
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] Error messages in Apache error_log.

Quoting Christopher Crowley <ccrowley@tulane.edu>:

> I have updated my CVS installation of turba.  It is not currently
> functioning.  I see these error messages in the apache/logs/error_log file.
> When I browse to turba, I see a text version of prefs.php instead of the
> search page. This was working before the CVS update. I tried copying
> prefs.php.dist to prefs.php, but his made no difference.

What does prefs.php look like?

-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 dan@acucore.com Date: Mon,  3 Dec 2001 16:56:09 -0700
Return-Path: <dan@acucore.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 19695 invoked from network); 3 Dec 2001 23:55:25 -0000
Received: from softdnserror (HELO corellia.acucore.com) (65.204.194.42)
  by clark.horde.org with SMTP; 3 Dec 2001 23:55:25 -0000
Received: (from nobody@localhost)
	by corellia.acucore.com (8.11.2/8.11.2) id fB3Nu9502885
	for imp@lists.horde.org; Mon, 3 Dec 2001 16:56:09 -0700
Received: from 207.135.57.76 ( [207.135.57.76])
	as user killroyboy@pop.mail.yahoo.com by  with HTTP;
	Mon,  3 Dec 2001 16:56:09 -0700
Message-ID: <1007423769.3c0c111996658@>
Date: Mon,  3 Dec 2001 16:56:09 -0700
From: Dan Wilson <dan@acucore.com>
To: imp@lists.horde.org
References: <1007418500.3c0bfc84e4857@> <1007418734.3c0bfd6ec6056@marina.horde.org>
In-Reply-To: <1007418734.3c0bfd6ec6056@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) 4.0-cvs
Subject: Re: [imp] HTML in-line optional

I'm using the cvs version... and I must have just skipped over that setting.  
Thanks... working as desired now.

-Dan

PS.  Just updated today and it looks like my quote_prefix isn't working 
anymore... is there a reason it was taken out?

Quoting Chuck Hagenbuch <chuck@horde.org>:

 Quoting Dan Wilson <dan@acucore.com>:
 
 > Is there anyway to make the inline display of HTML optional?  Either in the
 
 > imp config or in each user's preferences.
 
 You don't say what version you're talking about. For IMP 3.0, edit 
 imp/config/mime_drivers.php.
 
 -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
 
 -- 
 IMP mailing list: http://horde.org/imp/
 Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
 Frequently Asked Questions: http://horde.org/faq/
 To unsubscribe, mail: imp-unsubscribe@lists.horde.org