undefined function: send()

Edwin Culp eculp@MexComUSA.Net
Wed, 03 Jan 2001 09:28:47 -0800


Unfortunately, I upgraded php cvs, php.ini and horde for the first time
yesterday since about Dec. 15.  Everything works until I try to send an
email.  I now get the following error.

Fatal error: Call to undefined function: send() in
/usr/local/share/apache/htdocs/horde/imp/compose.php on line 700

I receive mail fine and Options, folders, etc. are all ok.  I'm sure I
have probably not configured something obvious, if not I would have
probably found it by now.


Thanks,

ed



>From chuck@horde.org Date: Wed,  3 Jan 2001 13:00:22 -0500
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 46102 invoked from network); 3 Jan 2001 18:01:10 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 3 Jan 2001 18:01:10 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 046433975; Wed,  3 Jan 2001 13:00:22 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  3 Jan 2001 13:00:22 -0500
Message-ID: <978544822.3a5368b6ec85b@marina.horde.org>
Date: Wed,  3 Jan 2001 13:00:22 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <3A53614E.8EA321A@MexComUSA.Net>
In-Reply-To: <3A53614E.8EA321A@MexComUSA.Net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] undefined function: send()

Quoting Edwin Culp <eculp@MexComUSA.Net>:

> Unfortunately, I upgraded php cvs, php.ini and horde for the first time
> yesterday since about Dec. 15.  Everything works until I try to send an
> email.  I now get the following error.
> 
> Fatal error: Call to undefined function: send() in
> /usr/local/share/apache/htdocs/horde/imp/compose.php on line 700

Make sure you install the latest PEAR, also.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From anil@recoil.org Date: Wed,  3 Jan 2001 18:37:38 +0000
Return-Path: <anil@recoil.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 48598 invoked from network); 3 Jan 2001 18:37:40 -0000
Received: from total.recoil.org (212.25.240.40)
  by horde.org with SMTP; 3 Jan 2001 18:37:40 -0000
Received: (qmail 2381 invoked by uid 99); 3 Jan 2001 18:37:38 -0000
Received: from m2-mp1-cvx1a.lis.ntl.com ( [m2-mp1-cvx1a.lis.ntl.com])
	as user avsm@localhost by horde.recoil.org with HTTP;
	Wed,  3 Jan 2001 18:37:38 +0000
Message-ID: <978547058.3a5371729be1c@horde.recoil.org>
Date: Wed,  3 Jan 2001 18:37:38 +0000
From: Anil Madhavapeddy <anil@recoil.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org>
In-Reply-To: <20010103183221.47713.qmail@horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting chuck@horde.org:

> chuck       2001/01/03 10:32:21 PST
> 
>   Modified files:
>     docs                 CHANGES 
>     lib                  Mime.php 
>   Log:
>   use Mail_rfc822::parseAddressList().
>   

Does this need the changes you just committed to PEAR as well?

Just asking since I don't want to CVS update my horde tree right
now if that's the case.

-- 
Anil Madhavapeddy, <anil@recoil.org>


>From chuck@horde.org Date: Wed,  3 Jan 2001 13:38:09 -0500
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 48777 invoked from network); 3 Jan 2001 18:38:57 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 3 Jan 2001 18:38:57 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 98E9139AB; Wed,  3 Jan 2001 13:38:09 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  3 Jan 2001 13:38:09 -0500
Message-ID: <978547089.3a5371918e76a@marina.horde.org>
Date: Wed,  3 Jan 2001 13:38:09 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org>
In-Reply-To: <978547058.3a5371729be1c@horde.recoil.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Anil Madhavapeddy <anil@recoil.org>:

> Does this need the changes you just committed to PEAR as well?

Yes.

> Just asking since I don't want to CVS update my horde tree right
> now if that's the case.

? (curious)

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From anil@recoil.org Date: Wed,  3 Jan 2001 18:43:27 +0000
Return-Path: <anil@recoil.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 49122 invoked from network); 3 Jan 2001 18:43:28 -0000
Received: from total.recoil.org (212.25.240.40)
  by horde.org with SMTP; 3 Jan 2001 18:43:28 -0000
Received: (qmail 2612 invoked by uid 99); 3 Jan 2001 18:43:27 -0000
Received: from m2-mp1-cvx1a.lis.ntl.com ( [m2-mp1-cvx1a.lis.ntl.com])
	as user avsm@localhost by horde.recoil.org with HTTP;
	Wed,  3 Jan 2001 18:43:27 +0000
Message-ID: <978547407.3a5372cf35555@horde.recoil.org>
Date: Wed,  3 Jan 2001 18:43:27 +0000
From: Anil Madhavapeddy <anil@recoil.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org>
In-Reply-To: <978547089.3a5371918e76a@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Anil Madhavapeddy <anil@recoil.org>:
> 
> > Just asking since I don't want to CVS update my horde tree right
> > now if that's the case.
> 
> ? (curious)
> 

php-4.0.5-dev is broken for me atm, and I'm kneedeep in creating
OpenBSD libedit patches, so updating my Horde tree would leave me
with an unusable one until I fix PHP, and I'm hoping PHP will fix 
itself :) 

-- 
Anil Madhavapeddy, <anil@recoil.org>


>From chuck@horde.org Date: Wed,  3 Jan 2001 13:47:18 -0500
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 51085 invoked from network); 3 Jan 2001 18:48:09 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 3 Jan 2001 18:48:09 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 8314B39AB; Wed,  3 Jan 2001 13:47:18 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  3 Jan 2001 13:47:18 -0500
Message-ID: <978547638.3a5373b678356@marina.horde.org>
Date: Wed,  3 Jan 2001 13:47:18 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org>
In-Reply-To: <978547407.3a5372cf35555@horde.recoil.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Anil Madhavapeddy <anil@recoil.org>:

> php-4.0.5-dev is broken for me atm, and I'm kneedeep in creating
> OpenBSD libedit patches, so updating my Horde tree would leave me
> with an unusable one until I fix PHP, and I'm hoping PHP will fix 
> itself :) 

Well, there's nothing you can't just update pear. =) But I was just curious.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From anil@recoil.org Date: Wed,  3 Jan 2001 18:58:21 +0000
Return-Path: <anil@recoil.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 52164 invoked from network); 3 Jan 2001 18:58:22 -0000
Received: from total.recoil.org (212.25.240.40)
  by horde.org with SMTP; 3 Jan 2001 18:58:22 -0000
Received: (qmail 3103 invoked by uid 99); 3 Jan 2001 18:58:21 -0000
Received: from m640-mp1-cvx1b.lis.ntl.com ( [m640-mp1-cvx1b.lis.ntl.com])
	as user avsm@localhost by horde.recoil.org with HTTP;
	Wed,  3 Jan 2001 18:58:21 +0000
Message-ID: <978548301.3a53764d159ae@horde.recoil.org>
Date: Wed,  3 Jan 2001 18:58:21 +0000
From: Anil Madhavapeddy <anil@recoil.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org> <978547638.3a5373b678356@marina.horde.org>
In-Reply-To: <978547638.3a5373b678356@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Chuck Hagenbuch <chuck@horde.org>:
> 
> Well, there's nothing you can't just update pear. =) But I was just curious.
> 

It would be lovely if PEAR didn't depend on PHP, and could be
updated separately - I've seen rumblings fly by on the PEAR list, 
started by that crowd-rouser Jon :)

Right now the dependency for tracking php-current for any of these
changes is a bit of a pain (and PEAR does occasionally break if it
gets out of sync, when new language constructs are used, although
that last happened a while back)

-- 
Anil Madhavapeddy, <anil@recoil.org>


>From chuck@horde.org Date: Wed,  3 Jan 2001 14:06:12 -0500
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 53792 invoked from network); 3 Jan 2001 19:06:59 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 3 Jan 2001 19:06:59 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 0F97739A2; Wed,  3 Jan 2001 14:06:12 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  3 Jan 2001 14:06:11 -0500
Message-ID: <978548771.3a537824027a6@marina.horde.org>
Date: Wed,  3 Jan 2001 14:06:12 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org> <978547638.3a5373b678356@marina.horde.org> <978548301.3a53764d159ae@horde.recoil.org>
In-Reply-To: <978548301.3a53764d159ae@horde.recoil.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Anil Madhavapeddy <anil@recoil.org>:

> It would be lovely if PEAR didn't depend on PHP, and could be
> updated separately - I've seen rumblings fly by on the PEAR list, 
> started by that crowd-rouser Jon :)

You can always just update the pear directory of php4... I feel like I'm 
missing something...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From anil@recoil.org Date: Wed,  3 Jan 2001 19:13:16 +0000
Return-Path: <anil@recoil.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 54731 invoked from network); 3 Jan 2001 19:13:18 -0000
Received: from total.recoil.org (212.25.240.40)
  by horde.org with SMTP; 3 Jan 2001 19:13:18 -0000
Received: (qmail 3759 invoked by uid 99); 3 Jan 2001 19:13:16 -0000
Received: from m640-mp1-cvx1b.lis.ntl.com ( [m640-mp1-cvx1b.lis.ntl.com])
	as user avsm@localhost by horde.recoil.org with HTTP;
	Wed,  3 Jan 2001 19:13:16 +0000
Message-ID: <978549196.3a5379ccbf07a@horde.recoil.org>
Date: Wed,  3 Jan 2001 19:13:16 +0000
From: Anil Madhavapeddy <anil@recoil.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org> <978547638.3a5373b678356@marina.horde.org> <978548301.3a53764d159ae@horde.recoil.org> <978548771.3a537824027a6@marina.horde.org>
In-Reply-To: <978548771.3a537824027a6@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Anil Madhavapeddy <anil@recoil.org>:
> 
> > It would be lovely if PEAR didn't depend on PHP, and could be
> > updated separately - I've seen rumblings fly by on the PEAR list, 
> > started by that crowd-rouser Jon :)
> 
> You can always just update the pear directory of php4... I feel like I'm 
> missing something...
> 

It breaks if PEAR uses new language constructs or other features
of -current.  This doesn't happen very often (only once or twice
so far), but it took ages to track down.

-- 
Anil Madhavapeddy, <anil@recoil.org>


>From chuck@horde.org Date: Wed,  3 Jan 2001 14:14:23 -0500
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 54882 invoked from network); 3 Jan 2001 19:15:11 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 3 Jan 2001 19:15:11 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id D109639A2; Wed,  3 Jan 2001 14:14:23 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Wed,  3 Jan 2001 14:14:23 -0500
Message-ID: <978549263.3a537a0fc5aee@marina.horde.org>
Date: Wed,  3 Jan 2001 14:14:23 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org> <978547638.3a5373b678356@marina.horde.org> <978548301.3a53764d159ae@horde.recoil.org> <978548771.3a537824027a6@marina.horde.org> <978549196.3a5379ccbf07a@horde.recoil.org>
In-Reply-To: <978549196.3a5379ccbf07a@horde.recoil.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Anil Madhavapeddy <anil@recoil.org>:

> It breaks if PEAR uses new language constructs or other features
> of -current.  This doesn't happen very often (only once or twice
> so far), but it took ages to track down.

Okay, that's true. For the record, these particular changes don't - I'm running 
a 4.0.5-dev compiled on december 11th, for what it's worth.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From anil@recoil.org Date: Wed,  3 Jan 2001 19:16:42 +0000
Return-Path: <anil@recoil.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 55024 invoked from network); 3 Jan 2001 19:16:44 -0000
Received: from total.recoil.org (212.25.240.40)
  by horde.org with SMTP; 3 Jan 2001 19:16:44 -0000
Received: (qmail 3882 invoked by uid 99); 3 Jan 2001 19:16:42 -0000
Received: from m640-mp1-cvx1b.lis.ntl.com ( [m640-mp1-cvx1b.lis.ntl.com])
	as user avsm@localhost by horde.recoil.org with HTTP;
	Wed,  3 Jan 2001 19:16:42 +0000
Message-ID: <978549402.3a537a9a86ef0@horde.recoil.org>
Date: Wed,  3 Jan 2001 19:16:42 +0000
From: Anil Madhavapeddy <anil@recoil.org>
To: dev@lists.horde.org
References: <20010103183221.47713.qmail@horde.org> <978547058.3a5371729be1c@horde.recoil.org> <978547089.3a5371918e76a@marina.horde.org> <978547407.3a5372cf35555@horde.recoil.org> <978547638.3a5373b678356@marina.horde.org> <978548301.3a53764d159ae@horde.recoil.org> <978548771.3a537824027a6@marina.horde.org> <978549196.3a5379ccbf07a@horde.recoil.org>
In-Reply-To: <978549196.3a5379ccbf07a@horde.recoil.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Re: [cvs] commit: horde/docs CHANGES horde/lib Mime.php

Quoting Anil Madhavapeddy <anil@recoil.org>:

> Quoting Chuck Hagenbuch <chuck@horde.org>:
> 
> > Quoting Anil Madhavapeddy <anil@recoil.org>:
> > 
> > > It would be lovely if PEAR didn't depend on PHP, and could be
> > > updated separately - I've seen rumblings fly by on the PEAR list, 
> > > started by that crowd-rouser Jon :)
> > 
> > You can always just update the pear directory of php4... I feel like I'm 
> > missing something...
> > 
> 
> It breaks if PEAR uses new language constructs or other features
> of -current.  This doesn't happen very often (only once or twice
> so far), but it took ages to track down.
> 

PS: Yeah, I know about @since, but I was at the wrong stage of a 
-current branch, so the functions weren't there.  Cured by tracking
php-dev|cvs|pear now, but that's YAML to keep tabs on.

-- 
Anil Madhavapeddy, <anil@recoil.org>