insert error: object id#

From: Date: Sun, 11 Sep 2005 14:56:06 +0000
Subject: insert error: object id#
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20899@lists.php.net to get a copy of this message
Hi all, hope somebody of you can help me with a problem I have a long time. I working with a System (developed by my antecessor) that now moved to a php5 server. It use different pear modules, like db, forms and DB_DataObject. After the move I had a lot of problems, because the system was not compatable with php5. After some package updates its now working, safe one problem. One Insert is not working. The system create a new ID (autoincrement) with a database-select. This works, Im able to print the ID (for example with echo $this->user_id) and it also works fine with other inserts. But in the final Insert is written: "... VALUES ( Object id #163 , ..." this is really bad, because in this position should be the right ID. The only error message is: Notice: Object of class DB_Error to string conversion in xxxx\pear\DB\DataObject.php on line 950 But I dont know what to do with this. I hope somebody can help me or have a good idea? Thank you surf

« previous php.pear.general (#20899) next »