CodeIgniter Forums

Full Version: CI 1.7 - session with database requires active record
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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:
$active_record = TRUE;