![]() |
Problem with PDO and Session library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Problem with PDO and Session library (/showthread.php?tid=57642) |
Problem with PDO and Session library - El Forum - 03-29-2013 [eluser]MarkoM[/eluser] Hello! I'm using PDO driver to access MySQL database. Everything is working OK on that part. My database.php looks like this: Code: $active_group = 'default'; I don't use Active Record, I'm using stored procedures to get/alter my data. The problem occurred when I auto-loaded session library and set it to use database. I created table in my database, and on first visit to site, a record gets inserted into session table. No problem there. An error occurs on subsequent visits to the site. I'm getting following: Quote:Fatal error: Call to undefined method CI_DB_pdo_driver::where() in P:\Git\TengWebsite\system\libraries\Session.php on line 201 I'm using latest of 2.1 branch downloaded from GitHub. What to do? Thank you! Marko Problem with PDO and Session library - El Forum - 09-15-2013 [eluser]Unknown[/eluser] I'm having the same problem. Do not have the solution? |