[dev] Fwd: [PHP-DEV] PHP 4.0.7
Cynic
cynic@mail.cz
Wed, 08 Aug 2001 23:05:03 +0200
---------------------- multipart/mixed attachment
At 22:47 8/8/2001, Jon Parise wrote the following:
--------------------------------------------------------------
>On Wed, Aug 08, 2001 at 10:48:56PM +0200, Cynic wrote:
>> +All Horde code should work with error_reporting = E_ALL. Failure to do so would
>> +result in ugly output, error logs getting filled with lots of warning messages,
>> +or even downright broken scripts.
>
>Looks fine.
Looks like I don't have write access to the horde module.
The patch is included.
---------------------- multipart/mixed attachment
Index: CODING_STANDARDS
===================================================================
RCS file: /cvs/horde/horde/docs/CODING_STANDARDS,v
retrieving revision 1.29
diff -u -b -r1.29 CODING_STANDARDS
--- CODING_STANDARDS 2001/05/09 22:22:51 1.29
+++ CODING_STANDARDS 2001/08/08 20:54:50
@@ -201,6 +201,10 @@
$HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SESSION_VARS,
$HTTP_SERVER_VARS, and $HTTP_ENV_VARS to access all get, post, cookie,
session, server, and environment data, respectively.
+
+All Horde code should work with error_reporting = E_ALL. Failure to do so would
+result in ugly output, error logs getting filled with lots of warning messages,
+or even downright broken scripts.
All Horde code should work regardless of the setting of magic_quotes_gpc.
Form data should be passed through Horde::dispelMagicQuotes(), which will
---------------------- multipart/mixed attachment
cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7
---------------------- multipart/mixed attachment--
>From chuck@horde.org Date: Wed, 8 Aug 2001 16:59:11 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 18598 invoked from network); 8 Aug 2001 21:01:06 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
by horde.org with SMTP; 8 Aug 2001 21:01:06 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 5A96539F6; Wed, 8 Aug 2001 16:59:11 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
as user chuck@localhost by marina.horde.org with HTTP;
Wed, 8 Aug 2001 16:59:11 -0400
Message-ID: <997304351.3b71a81f163ff@marina.horde.org>
Date: Wed, 8 Aug 2001 16:59:11 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <997273020.3b712dbcdea99@webmail.lauwerscollege.nl>
In-Reply-To: <997273020.3b712dbcdea99@webmail.lauwerscollege.nl>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Languagedetection/cookie problems
Quoting Jan Kuipers <jrkuipers@lauwerscollege.nl>:
> I discovered some problems with the language detection in
> /horde/lib/Lang.php. When a LL_CC (gettext) language notation is used in
> /horde/config/lang.php the proper language can't be detected, because
> the browser returns a two-letter languagecode. In that case the
> defaultlanguage should be used, but the $conf variable is NOT set in
> this stage!! In this case a cookie will NOT be set!
This should all be fixed now.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.
>From jrkuipers@lauwerscollege.nl Date: Thu, 9 Aug 2001 12:52:41 +0200
Return-Path: <jrkuipers@lauwerscollege.nl>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 42187 invoked from network); 9 Aug 2001 10:57:09 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
by horde.org with SMTP; 9 Aug 2001 10:57:09 -0000
Received: (from www@localhost)
by linux.lauwerscollege.nl (8.9.3/8.8.7) id MAA03874
for dev@lists.horde.org; Thu, 9 Aug 2001 12:52:42 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
as user jrkuipers@localhost by webmail.lauwerscollege.nl with HTTP;
Thu, 9 Aug 2001 12:52:41 +0200
Message-ID: <997354361.3b726b79e1b41@webmail.lauwerscollege.nl>
Date: Thu, 9 Aug 2001 12:52:41 +0200
From: Jan Kuipers <jrkuipers@lauwerscollege.nl>
To: dev@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: Errormessages from IMP.php and MIME.php
Hello,
When I try to read a message I get the following error:
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 736
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 741
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 62
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 76
I get the following error when trying to open some mailfolders
Fatal error: Call to a member function on a non-object
in /usr/local/apache/htdocs/hordenew/horde/lib/MIME.php on line 187
Any ideas what's causing this?
--
Jan Kuipers,
Systeembeheer Lauwers College
>From jrkuipers@lauwerscollege.nl Date: Thu, 9 Aug 2001 12:56:03 +0200
Return-Path: <jrkuipers@lauwerscollege.nl>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 42188 invoked from network); 9 Aug 2001 10:57:10 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
by horde.org with SMTP; 9 Aug 2001 10:57:10 -0000
Received: (from www@localhost)
by linux.lauwerscollege.nl (8.9.3/8.8.7) id MAA03911
for dev@lists.horde.org; Thu, 9 Aug 2001 12:56:03 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
as user jrkuipers@localhost by webmail.lauwerscollege.nl with HTTP;
Thu, 9 Aug 2001 12:56:03 +0200
Message-ID: <997354563.3b726c436a7ba@webmail.lauwerscollege.nl>
Date: Thu, 9 Aug 2001 12:56:03 +0200
From: Jan Kuipers <jrkuipers@lauwerscollege.nl>
To: dev@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: Errormessages from IMP.php and MIME.php
Hello,
When I try to read a message I get the following error:
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 736
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 741
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 62
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 76
I get the following error when trying to open some mailfolders
Fatal error: Call to a member function on a non-object
in /usr/local/apache/htdocs/hordenew/horde/lib/MIME.php on line 187
Any ideas what's causing this?
--
Jan Kuipers,
Systeembeheer Lauwers College
>From jrkuipers@lauwerscollege.nl Date: Thu, 9 Aug 2001 12:58:16 +0200
Return-Path: <jrkuipers@lauwerscollege.nl>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 42549 invoked from network); 9 Aug 2001 10:58:47 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
by horde.org with SMTP; 9 Aug 2001 10:58:47 -0000
Received: (from www@localhost)
by linux.lauwerscollege.nl (8.9.3/8.8.7) id MAA03952
for dev@lists.horde.org; Thu, 9 Aug 2001 12:58:16 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
as user jrkuipers@localhost by webmail.lauwerscollege.nl with HTTP;
Thu, 9 Aug 2001 12:58:16 +0200
Message-ID: <997354696.3b726cc83ecef@webmail.lauwerscollege.nl>
Date: Thu, 9 Aug 2001 12:58:16 +0200
From: Jan Kuipers <jrkuipers@lauwerscollege.nl>
To: dev@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: Errormessages from IMP.php and MIME.php
Hello,
When I try to read a message I get the following error:
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 736
Warning: Undefined index: lang
in /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php on line 741
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 62
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/apache/htdocs/hordenew/horde/imp/lib/IMP.php:736)
in /usr/local/lib/php/HTTP/Compress.php on line 76
I get the following error when trying to open some mailfolders
Fatal error: Call to a member function on a non-object
in /usr/local/apache/htdocs/hordenew/horde/lib/MIME.php on line 187
Any ideas what's causing this?
--
Jan Kuipers,
Systeembeheer Lauwers College
>From jrkuipers@lauwerscollege.nl Date: Thu, 9 Aug 2001 13:00:39 +0200
Return-Path: <jrkuipers@lauwerscollege.nl>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 43651 invoked from network); 9 Aug 2001 11:01:10 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
by horde.org with SMTP; 9 Aug 2001 11:01:10 -0000
Received: (from www@localhost)
by linux.lauwerscollege.nl (8.9.3/8.8.7) id NAA03983
for dev@lists.horde.org; Thu, 9 Aug 2001 13:00:39 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
as user jrkuipers@localhost by webmail.lauwerscollege.nl with HTTP;
Thu, 9 Aug 2001 13:00:39 +0200
Message-ID: <997354839.3b726d572b8a8@webmail.lauwerscollege.nl>
Date: Thu, 9 Aug 2001 13:00:39 +0200
From: Jan Kuipers <jrkuipers@lauwerscollege.nl>
To: dev@lists.horde.org
References: <997354696.3b726cc83ecef@webmail.lauwerscollege.nl>
In-Reply-To: <997354696.3b726cc83ecef@webmail.lauwerscollege.nl>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Errormessages from IMP.php and MIME.php
Sorry for the multiple posts :(
--
Jan Kuipers,
Systeembeheer Lauwers College