• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal error: Call to undefined method CI_DB_mysql_driver::get_where()

#1
[eluser]plainas[/eluser]
I have no idea what can be triggering this error:

Quote:Fatal error: Call to undefined method CI_DB_mysql_driver::get_where()

Fatal error: Call to undefined method CI_DB_mysql_driver::get_where()

Here's the code where the error occurs:
Code:
$sqldata = array('tag' => $tag);
$query = $this->db->get_where('tags', $sqldata);

$tag is a string.

Can anybody give me a hint?

#2
[eluser]Unknown[/eluser]
Make sure you have active record turned on in your database config.

Code:
// system/application/config/database.php
$active_record = TRUE;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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