Opened 10 years ago

Closed 10 years ago

#538 closed defect (fixed)

error in mime.php

Reported by: mortonda@… Owned by: dmorton
Priority: high Milestone: 1.0.3
Component: PHP scripts Version: 1.0.2 Devel
Severity: normal Keywords:
Cc:

Description

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/mortonda/maia/php/mime.php  on line 98

generated when viewing the decoded:

Received: from mx1.hub.org (mx1.hub.org [200.46.208.106])
	by freedom.dgrmm.net (Postfix) with ESMTP id 9ECF811C225
	for <psql@dgrmm.net>; Fri, 29 Jan 2010 11:34:54 -0600 (CST)
Received: from postgresql.org (mail.postgresql.org [200.46.204.86])
	by mx1.hub.org (Postfix) with ESMTP id 1F8173263A19;
	Fri, 29 Jan 2010 13:34:51 -0400 (AST)
Received: from maia.hub.org (unknown [200.46.208.211])
	by mail.postgresql.org (Postfix) with ESMTP id 6501463356B
	for <pgsql-general-postgresql.org@mail.postgresql.org>; Fri, 29 Jan
2010 13:34:37 -0400 (AST)
Received: from mail.postgresql.org ([200.46.204.86])
 by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port
10024)
 with ESMTP id 94838-01
 for <pgsql-general-postgresql.org@mail.postgresql.org>;
 Fri, 29 Jan 2010 17:34:25 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from zql.com (3a.1f.de.static.xlhost.com [206.222.31.58])
	by mail.postgresql.org (Postfix) with ESMTP id AE9656322B0
	for <pgsql-general@postgresql.org>; Fri, 29 Jan 2010 13:34:26 -0400
(AST)
Received: from localhost ([127.0.0.1])
	by zql.com with smtp (Exim 4.68)
	(envelope-from <greg@turnstep.com>)
	id 1Naujh-00042w-Tq; Fri, 29 Jan 2010 12:34:25 -0500
From: "Greg Sabino Mullane" <greg@turnstep.com>
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Versions RSS page is missing version(s)
X-PGP-Key: 2529 DF6A B8F7 9407 E944  45B4 BC9B 9067 1496 4AC8
X-Request-PGP:
http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
In-Reply-To:
<9837222c1001290651p3c9d9137w5f64a47494bac138@mail.gmail.com>
Date: Fri, 29 Jan 2010 17:34:25 -0000
X-Mailer: JoyMail 2.4.0
Message-ID: <687cbce25d9daa9479fe816fd16138c7@biglumber.com>
X-Virus-Scanned: Maia Mailguard 1.0.1
X-Spam-Status: No, hits=-2.461 tagged_above=-10 required=5
tests=AWL=0.138,
 BAYES_00=-2.599
X-Spam-Level: 
X-Mailing-List: pgsql-general
List-Archive: <http://archives.postgresql.org/pgsql-general>
List-Help: <mailto:majordomo@postgresql.org?body=help>
List-ID: <pgsql-general.postgresql.org>
List-Owner: <mailto:pgsql-general-owner@postgresql.org>
List-Post: <mailto:pgsql-general@postgresql.org>
List-Subscribe:
<mailto:majordomo@postgresql.org?body=sub%20pgsql-general>
List-Unsubscribe:
<mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Precedence: bulk
Sender: pgsql-general-owner@postgresql.org


-----BEGIN PGP SIGNED MESSAGE-----                              
Hash: RIPEMD160                                                 


>> yet, so that page should be listing 7.4.27. Further, shouldn't we
be keeping
>> even 'unsupported' versions on this page, so (e.g. case of
check_postgres.pl)
>> clients can check if they have the latest revision, even if the
major/minor
>> combo is super old?

> No, I don't think we should. We should list supported versions
only.
> And check_postgres could be advised to throw a warning at least if
> you're running an unsupported version ;)

I'm not sure how useful that is. Surely while we encourage people to
run
a recent major version, we also want to encourage people who will not
or cannot upgrade to at least be running the latest revision of a
branch,
no matter how old it is?

How about a compromise? We add a new field to that XML so we can
state
that it is unsupported, but leave it in there. That way, programs
such
as check_postgres can not only distinguish between old but valid
versions
and invalid versions (e.g. "7.typo.oops") but can act in a more
intelligent
way for unsupported versions. Heck, maybe an estimated end-of-life
date
field for all versions as well?

Either way, please add 7.4 back in. :)

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201001291229
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAktjHAoACgkQvJuQZxSWSsgCVQCguBaAiZQLoH9Q5nE4UEDymyp0
SQcAn1pf1rgEKDH6LrmmngBPtxketfA0
=XJcP
-----END PGP SIGNATURE-----



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Change History (1)

comment:1 Changed 10 years ago by mortonda@…

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [1451]

Note: See TracTickets for help on using tickets.