Welcome Guest, Not a member yet? Register   Sign In
Mysqli, Model Destructors, PHP 5.16 and You
#1

[eluser]beseku[/eluser]
Just a little bug report - its more likely to be in this version of PHP, (5.1.6) as I don't get it locally, but thought people might get it anyway ...

If you are using an active record database function, (we use inserts for logging) in a model's destructor, (__destruct), the MYSQLI driver falls over and throws warnings - it basically won't work. It turns out that this has something to do with MYSQLI specifically, since it works fine using MYSQL drivers.

I tried commenting out the _close function in the driver, and the close() call in Codeigniter.php and it didn't work.




Theme © iAndrew 2016 - Forum software by © MyBB