CI 1.7 - session with database requires active record

#1
[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;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.