Re: Problem executing query in mysqli
| From: | Joshua J. Kugler | Date: | Mon, 14 Sep 2009 17:52:15 +0000 |
| Subject: | Re: Problem executing query in mysqli | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30042@lists.php.net to get a copy of this message | ||
Brett, thanks for your reply.
> > MDB2 version: 1.292
> > mysqli version: 1.162
>
> Hmmm. This doesn't look like a valid MDB2 version number. MDB2 only
> has versions that begin with 2.
>
> http://pear.php.net/package/MDB2/download/
Well, this is the version from the MDB2.php file. Downloading from
here: http://download.pear.php.net/package/MDB2-2.4.1.tgz
gives me an
archive with an MDB2.php in the top level directory that has this line:
// $Id: MDB2.php,v 1.292 2007/04/25 09:31:01 quipo Exp $
Where should I find the *real* version of the installed package? Ah,
found it:
function apiVersion()
{
return '2.4.1';
}
The same as the function in the MDB2.php that I have installed.
And the 1.4.1 tar.gz for the mysqli driver has this line in
MDB2/Driver/mysqli.php:
// $Id: mysqli.php,v 1.162 2007/05/02 22:00:08 quipo Exp $
That is VERY confusing. The version numbers need be updated on those
lines so you know what version you're actually dealing with.
> I would make sure you're using the latest version of the package, and
> driver. To be sure, you can just run the upgrade command for those
> packages -
>
> pear upgrade MDB2 MDB2_Driver_mysqli
>
> and if you're still having problems I would file a bug report with
> the full details.
Yup, well it appears I have the latest versions (they were pulled
directly from the pear site by the Bluehost (yeah, it's shared hosting)
configuration scripts.
Thanks! I may end up filing a bug report.
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0x14EA086E