[horde] trouble with mysql db and php w/IMP

Eric Ekong ekonge@cuaa.edu
Mon Oct 1 07:11:26 PDT 2001


At the time I was using the latest. That might not be true anymore.
I just checked the version number of php and it is 4.0.6

Eric
* Jesse Wolff <jesse_wolff@yahoo.com> [010927 16:10]:
> 
> Are you using the latest PEAR from the PHP cvs? 
> 
> Jesse. 
> 
> Quoting Eric Ekong <eric@unixtechs.org>:
> 
> > Can anyone tell me where these errors are coming from?
> > 
> > ing: Undefined property: connection in /usr/local/lib/php/DB/mysql.php
> > on line 437
> > 
> > Warning: Supplied argument is not a valid MySQL-Link resource in
> > /usr/local/lib/php/DB/mysql.php on line 437
> > 
> > Warning: Undefined index: in /usr/local/lib/php/DB/common.php on line
> > 126
> > 
> > Warning: Undefined property: connection in
> > /usr/local/lib/php/DB/mysql.php on line 440
> > 
> > Warning: Supplied argument is not a valid MySQL-Link resource in
> > /usr/local/lib/php/DB/mysql.php on line 440
> > 
> > Fatal error: Call to undefined function: disconnect() in
> > /usr/local/apache/htdocs/horde/lib/Prefs/sql.php on line 276
> > 
> > I have the latest cvs installed as of about 3 weeks ago?  I also have
> > PHP 6.0.4 installed.  Any ideas?
> > 
> > Eric
> > -- 
> > Uptime: 
> >  5 days, 14:30
> > 
> > -- 
> > Horde mailing list: http://horde.org/horde/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe@lists.horde.org
> > 
> 
> 
> 
> -- 
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe@lists.horde.org

-- 
                           ///
                          (. .)
=======================oOO-(_)-OOo===========================
Eric I. Ekong           Internet Software Systems Engineer I
                        Dial Systems Ops
                        UUNet, a WorldCom Company
880 Technlogy Drive
Ann Arbor, MI 48108-8910
erice@uu.net or ekonge@ccaa.edu
office phone: 734-214-7435                            
pager:1-888-806-8347
=============================================================

Uptime: 
 2:09AM  up 6 days, 13:10, 3 users, load averages: 0.03, 0.52, 0.79


>From wolff@yahoo.com Date: Mon,  1 Oct 2001 02:30:51 -0700
Return-Path: <jesse_wolff@yahoo.com>
Mailing-List: contact horde-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list horde@lists.horde.org
Received: (qmail 32451 invoked from network); 1 Oct 2001 09:35:28 -0000
Received: from adsl-63-196-6-8.dsl.snfc21.pacbell.net (HELO tiny.crankybear.com) (63.196.6.8)
  by clark.horde.org with SMTP; 1 Oct 2001 09:35:28 -0000
Received: (from nobody@localhost)
	by tiny.crankybear.com (8.11.6/8.11.2) id f919Urd06352
	for horde@lists.horde.org; Mon, 1 Oct 2001 02:30:53 -0700
X-Authentication-Warning: tiny.crankybear.com: nobody set sender to jesse_wolff@yahoo.com using -f
Received: from 192.168.10.2 ( [192.168.10.2])
	as user jesse@localhost by www.crankybear.com with HTTP;
	Mon,  1 Oct 2001 02:30:51 -0700
Message-ID: <1001928651.3bb837cb6046d@www.crankybear.com>
Date: Mon,  1 Oct 2001 02:30:51 -0700
From: Jesse Wolff <jesse_wolff@yahoo.com>
To: horde@lists.horde.org
References: <20010927134305.C6376@ericekong.unixtechs.org> <1001621422.3bb387ae1bd3a@www.crankybear.com> <20011001021126.A86724@eric.unixtechs.org>
In-Reply-To: <20011001021126.A86724@eric.unixtechs.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [horde] trouble with mysql db and  php w/IMP

I'm not sure if it's a PEAR related issue but if it is...

The PEAR that's included with the latest php distributions isn't current 
enough. This is mentioned on the website 
http://www.horde.org/imp/2.3/supported.php. You'll need the CVS version. Here 
are a few steps to update PEAR.

Unzip your php distribution (php-4.0.6.tar.gz)
tar xvf php-4.0.6.tar.gz

Change to the distribution directory and remove the pear directory.
cd php-4.0.6
rm -rf pear

Login to the PHP CVS repository. Use phpfi as the password.
cvs -d :pserver:cvsread@cvs.php.net:/repository login

Get the latest pear CVS tree.
cvs -d :pserver:cvsread@cvs.php.net:/repository co pear

Now set your configuration options and compile.


Quoting Eric Ekong <ekonge@cuaa.edu>:

> At the time I was using the latest. That might not be true anymore.
> I just checked the version number of php and it is 4.0.6
> 
> Eric
> * Jesse Wolff <jesse_wolff@yahoo.com> [010927 16:10]:
> > 
> > Are you using the latest PEAR from the PHP cvs? 
> > 
> > Jesse. 
> > 
> > Quoting Eric Ekong <eric@unixtechs.org>:
> > 
> > > Can anyone tell me where these errors are coming from?
> > > 
> > > ing: Undefined property: connection in /usr/local/lib/php/DB/mysql.php
> > > on line 437
> > > 
> > > Warning: Supplied argument is not a valid MySQL-Link resource in
> > > /usr/local/lib/php/DB/mysql.php on line 437
> > > 
> > > Warning: Undefined index: in /usr/local/lib/php/DB/common.php on line
> > > 126
> > > 
> > > Warning: Undefined property: connection in
> > > /usr/local/lib/php/DB/mysql.php on line 440
> > > 
> > > Warning: Supplied argument is not a valid MySQL-Link resource in
> > > /usr/local/lib/php/DB/mysql.php on line 440
> > > 
> > > Fatal error: Call to undefined function: disconnect() in
> > > /usr/local/apache/htdocs/horde/lib/Prefs/sql.php on line 276
> > > 
> > > I have the latest cvs installed as of about 3 weeks ago?  I also have
> > > PHP 6.0.4 installed.  Any ideas?
> > > 
> > > Eric
> > > -- 
> > > Uptime: 
> > >  5 days, 14:30
> > > 
> > > -- 
> > > Horde mailing list: http://horde.org/horde/
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: horde-unsubscribe@lists.horde.org
> > > 
> > 
> > 
> > 
> > -- 
> > Horde mailing list: http://horde.org/horde/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe@lists.horde.org
> 
> -- 
>                            ///
>                           (. .)
> =======================oOO-(_)-OOo===========================
> Eric I. Ekong           Internet Software Systems Engineer I
>                         Dial Systems Ops
>                         UUNet, a WorldCom Company
> 880 Technlogy Drive
> Ann Arbor, MI 48108-8910
> erice@uu.net or ekonge@ccaa.edu
> office phone: 734-214-7435                            
> pager:1-888-806-8347
> =============================================================
> 
> Uptime: 
>  2:09AM  up 6 days, 13:10, 3 users, load averages: 0.03, 0.52, 0.79
> 
> -- 
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe@lists.horde.org
> 






More information about the horde mailing list