![]() |
CI 1.7 - session with database requires active record - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI 1.7 - session with database requires active record (/showthread.php?tid=15125) |
CI 1.7 - session with database requires active record - El Forum - 01-27-2009 [eluser]nunomira[/eluser] I haven't seen this mentioned... so if anyone comes across this problem... I'm using a database along with the Session Class and I had active record turned off in the database.php file. I was getting this error: Quote:Call to undefined method CI_DB_mysql_driver It turns out that you need active record enabled: Code: $active_record = TRUE; |