Welcome Guest, Not a member yet? Register   Sign In
Codeigniter CI_DB_mysqli_result Problem
#1

[eluser]adhardy213[/eluser]
Ok

I'm on a cpanel host and it may be a problem there but has anyone come across this problem:

Code:
Fatal error: Class 'CI_DB_mysqli_result' not found in /home/XXXXXX/public_html/system/database/DB_driver.php on line 367

its being triggered from a line in a model like this:
Code:
$this->db->select("userid");
        $query = $this->db->get_where('user',array('username'=>$name,'password'=>$pass));

I think it may be to do with my connection config which is something like (private details (XX'd out)
Code:
$active_group = "default";

<tumbleweed></tumbleweed>
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "XXXXXX_XXXXX";
$db['default']['password'] = "XXXXXXX";
$db['default']['database'] = "XXXXXX_XXXXX";
$db['default']['dbdriver'] = "mysqli";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

Strangely if I select mysql over mysqli I cant connect. But phpmyadmin is reporting use of mysql not mysqli. Is this something to do with it.

Am I missing something simple, should I contact my host?

Any help much appreciated


Messages In This Thread
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-11-2010, 01:11 PM
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-11-2010, 03:58 PM
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-11-2010, 04:45 PM
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-11-2010, 11:38 PM
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-12-2010, 02:00 AM
Codeigniter CI_DB_mysqli_result Problem - by El Forum - 10-12-2010, 08:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB