Problem executing query in mysqli
| From: | Joshua J. Kugler | Date: | Sat, 12 Sep 2009 01:27:11 +0000 |
| Subject: | Problem executing query in mysqli | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30037@lists.php.net to get a copy of this message | ||
I am trying to execute a query using the MDB2 mysqli driver.
MDB2 version: 1.292
mysqli version: 1.162
When I ->execute() the query, I get this error in the logs:
PHP Fatal error: Call to a member function mapPrepareDatatype() on a
non-object in /home/blueeuro/php/MDB2/Driver/mysqli.php on line 1514
I only found one reference this error on google, it was in Russian, with
the PostgreSQL driver, and eand they didn't solve the problem (I had a
friend translate).
The line of code referenced in the error is this one:
$parameters[1].= $this->db->datatype->mapPrepareDatatype($type);
I do not know enough about MDB2 to know where datatype is supposed to be
defined, nor how it is being undefined.
Anyone have any pointers?
Thanks!
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0x14EA086E