My DB_DataObject subclasses are always returning 1 on insert()
| From: | Mike Zornek | Date: | Tue, 18 May 2004 20:48:39 +0000 |
| Subject: | My DB_DataObject subclasses are always returning 1 on insert() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12580@lists.php.net to get a copy of this message | ||
I'm trying to debug an issue with all of my DataObject classes where they
are returning 1 for every insert. I'm on Mac OS X 10.3.3 with PHP 4.3.4 /
MySQL 4.0.18-standard / on a dual 1.8 G5.
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Console_Getopt 1.0 stable
DB 1.6.2 stable
DB_DataObject 1.5.3 stable
Date 1.4.2 stable
HTML_Common 1.2.1 stable
HTML_QuickForm 3.2.2 stable
HTTP 1.2.1 stable
Mail 1.1.1 stable
Net_SMTP 1.2.3 stable
Net_Socket 1.0.1 stable
PEAR 1.3b3 beta
PHPUnit 0.6.2 stable
Validate 0.4.1 alpha
XML_Parser 1.0.1 stable
XML_RPC 1.0.4 stable
According to the docs I should be getting the mysql_next_id value:
http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.i
nsert.php
Any troubleshooting recommendations?
~ Mike
--
Mike Zornek | mailto:zornek@asmp.org
Director of Technology
American Society of Media Photographers
http://asmp.org