I went around all the obsolete errors and warnings using MDB2 and PHP 5.3, but I have some really weird errors on MDB2, so it’s interesting what’s under the hood. My environment is CentOS, PHP 5.3, MDB2-2.4.1, MySQL 5.0.77
Anytime I use autoExecute 2x in a php file, the second one is unsuccessful (the same thing happens if I try to use prepare and then execute). I registered in the MySQL query log, and while a successful INSERT shows the values, a failed INSERT will always only have placeholders. i.e.: values (?,?,?,?). And MDB2_Error will always mention RECURSION
lastInsertID () never worked with MySQL tables and auto-increment fields (with the mysqli driver) I did enough debugging on it, delving into the call stack, and the result was so complete in Object that you can’t say what it is until the very end . I would like to use MDB2 more, but actually I had to go back to direct mysql, many times because of these problems. Perhaps Lucas or other developers can shed light on this topic or point us in the right direction.
Robert Sep 23 2018-11-11T00: 00Z
source share