Re: PHP4 to PHP5 issue

From: Date: Mon, 05 Feb 2007 18:31:15 +0000
Subject: Re: PHP4 to PHP5 issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-248368@lists.php.net to get a copy of this message
Hi, It look like your system cannot init adodb library. It may SQL setup problem... On Monday 05 February 2007 19:58, Skip Evans wrote: > Hey all, > > I installed a new FreeBSD 6.0 server here in the > office with PHP5. I moved over several sites we > developed under PHP4, and all of those seem to be > functioning perfectly, but I am getting an error > on to sites, on PostNuke based and our dotProject > system. > > Both errors are the same, and here is the one from > dotProject: > > Fatal error: Call to a member function Execute() > on a non-object in > /usr/home/dotproject/public_html/classes/query.class.php > on line 589 > > And the code: > > $this->_query_id = $db->Execute($q); > > Where $q is a pretty typical SQL statement. > > What I'm wondering if there is an easy way to > convert $q to an object type rather than a string > to satisfy Execute? Or some other straightforward fix? > > Thanks! > > > Skip Evans > Big Sky Penguin, LLC > 61 W Broadway > Butte, Montana 59701 > 406-782-2240 > http://bigskypenguin.com > =-=-=-=-=-=-=-=-=-=

« previous php.general (#248368) next »