PHP4 to PHP5 issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
=-=-=-=-=-=-=-=-=-=

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux