[imp] RE: imp index error

Frederic Trudeau ftrudeau@CAM.ORG
Thu, 4 Oct 2001 16:47:51 -0400 (EDT)



well, not if you make a backup of it first =)


Frederic Trudeau


[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet -> http://www.cam.org

"My God ! It's full of stars"

On Thu, 4 Oct 2001, Andre Castanheira wrote:

> Thanks Frederic,
> But if I move my installation to horde2 I will loose my old one.
> Correct me if I'm wrong.
>
>
>



>From jan@horde.org Date: Thu,  4 Oct 2001 23:55:22 +0200
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 52038 invoked from network); 4 Oct 2001 22:04:36 -0000
Received: from mailout03.sul.t-online.com (HELO mailout03.sul.t-online.de) (194.25.134.81)
  by clark.horde.org with SMTP; 4 Oct 2001 22:04:36 -0000
Received: from fwd06.sul.t-online.de 
	by mailout03.sul.t-online.de with smtp 
	id 15pGbb-0003Wp-02; Fri, 05 Oct 2001 00:04:35 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.25]) by fmrl06.sul.t-online.com
	with esmtp id 15pGbM-1lqlKzC; Fri, 5 Oct 2001 00:04:20 +0200
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 f94LtNc18647
	for <imp@lists.horde.org>; Thu, 4 Oct 2001 23:55:23 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Thu,  4 Oct 2001 23:55:22 +0200
Message-ID: <1002232522.3bbcdaca40620@linux.wg.de>
Date: Thu,  4 Oct 2001 23:55:22 +0200
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <001401c14cfb$121edf80$070101c0@cariocaengenharia.com.br>
In-Reply-To: <001401c14cfb$121edf80$070101c0@cariocaengenharia.com.br>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] index.php error

I think the error message tells you what goes wrong. You have setup php in safe 
mode and there are actions that need php not to be in safe mode.

Either disable safe mode or do at least:
1) Add the environment variable LANG to the allowed list for safe mode.
2) Comment out the set_time_limit() function call in imp/lib/base.php

But be warned: If you do the latter there will probably come more error 
messages and disabling the set_time_limit will cause horde/imp to stop if it 
has to do long lasting actions.

Jan.

Zitat von Andre Castanheira <aocastanheira@cariocaengenharia.com.br>:

> Hi,
> I've installed horde and imp from CVS.
> I have another version 2.2.5 of imp on the same machine.
> Now I've installed CVS in horde2/
> I've made the tasks in horde2/docs/INSTALL
> 
> Checked http://mysite.com.br/horde2/test.php
> 
> 
> Horde Versions
> Horde: 1.3.5-cvs
> IMP: 2.3.7-cvs
> PHP Version
> View phpinfo() screen
> PHP Version: 4.0.6
> PHP Major Version: 4.0
> PHP Minor Version: 6
> PHP Version Classification: release
> You are running a supported version of PHP.
> PHP Module Capabilities
> FTP Support: Yes
> Gettext Support: Yes
> IMAP Support: Yes
> LDAP Support: No
> MCAL Support: No
> Mcrypt Support: No
> MySQL Support: Yes
> PostgreSQL Support: No
> XML Support: Yes
> Miscellaneous PHP Settings
> magic_quotes_runtime set to Off: Yes
> PHP Sessions
> Session counter: 1
> To unregister the session: click here
> PEAR
> PEAR - Yes
> Mail::RFC822 - Yes
> Log - Yes
> DB - Yes
> 
> Now, when I run horde2/imp/index.php it shows :
> 
> Warning: Safe Mode: Cannot set environment variable 'LANG' - it's not in the
> all
> owed list in /usr/src/web/cvs/horde/lib/Registry.php on line 112
> 
> Warning: Cannot set time limit in safe mode in
> /usr/src/web/cvs/horde/imp/lib/ba
> se.php on line 27
> 
> Warning: Cannot add header information - headers already sent by (output
> started
>  at /usr/src/web/cvs/horde/lib/Registry.php:112) in
> /usr/src/web/cvs/horde/imp/i
> ndex.php on line 29
> 
> Any ideas ??
> 
> 


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