NYCPHP Meetup

NYPHP.org

[nycphp-talk] Pear:Mail error confusion

Stephen Musgrave stephen at musgrave.org
Wed Jun 30 11:07:21 EDT 2004


A bit more searching revealed that this was a problem with PHP 4 (to be
addressed in PHP 5) when calling classes statically.  The solution?  Add a @
on the front-end of the line and everything works fine.

@$mail =& Mail::factory('mail');

<shrug>

Stephen


On 6/29/04 6:01 PM, "Stephen Musgrave" <stephen at musgrave.org> wrote:

> 
> All -
> 
> I am having some weird issues with Pear Mail.  I've used it several times
> before but I have never had a problem like this.
> 
> When instantiating the object:
> 
> $mail =& Mail::factory('mail');
> 
> This is the error I get:
> 
> "Warning: Problem with method call - please report this bug in.."
> 
> I did a search for this and found that this error is common amongst other
> object classes.  I did a search for this string within the PEAR code base
> that I have and didn't find it.
> 
> <shrug>
> 
> Thanks,
> 
> Stephen
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> 


>From hans not junk at nyphp.com  Wed Jun 30 11:07:41 2004
Return-Path: <hans not junk at nyphp.com>
Received: from smtp11.intermedia.net (smtp11.intermedia.net [64.78.21.10])
	by virtu.nyphp.org (Postfix) with ESMTP id 96C22A87EB
	for <talk at lists.nyphp.org>; Wed, 30 Jun 2004 11:07:41 -0400 (EDT)
Received: from ehost011-1.exch011.intermedia.net ([64.78.21.3]) by
	smtp11.intermedia.net with Microsoft SMTPSVC(6.0.3790.0); 
	Wed, 30 Jun 2004 07:59:31 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] OT: Need help with XP and HP LaserJet 2200
Date: Wed, 30 Jun 2004 08:07:38 -0700
Message-ID: <41EE526EC2D3C74286415780D3BA9F8702D2537A at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] OT: Need help with XP and HP LaserJet 2200
Thread-Index: AcRes6PnkyHiIojPRg+0akK6c4jY/AAADLOQ
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-OriginalArrivalTime: 30 Jun 2004 14:59:31.0972 (UTC)
	FILETIME=[D9841C40:01C45EB2]
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jun 2004 15:07:42 -0000


> > Please explain "signal-to-noise" that expression is Greek to me.
>=20
> Hans, will you PLEASE boot this guy from the mailing list already?

The best way to end a thread is to ignore it, which I had intended to
do.

Now this thread is dead... explicitly.  No more posts on it.

H



More information about the talk mailing list