
September 10th, 2005, 01:16 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
insert error: object id#
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 P:wwwrootmlangevirtuelleweltcommunityincludespearD BDataObject.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
|