Welcome Guest, Not a member yet? Register   Sign In
MySQL Connection Problem
#2

[eluser]Mareshal[/eluser]
error fixed:

$db['elite']['db_debug'] = FALSE;

but now I have another problem:

Fatal error: Call to a member function num_rows() on a non-object in /home/*****/public_html/elite/dev/libraries/E_db.php on line 18

e_db is my library

Code:
function check($table, $where){
        $query = $this->ci->db->get_where($table, $where);
        return $query-> num_rows();
    }

this is the code

I tried affected_rows or return $this->ci->db->count_all_results(); but nothing

Fatal error: Call to a member function num_rows() on a non-object in /home/*****/public_html/elite/system/database/DB_active_rec.php on line 1080

in logs I see same error


Messages In This Thread
MySQL Connection Problem - by El Forum - 09-05-2009, 07:44 AM
MySQL Connection Problem - by El Forum - 09-05-2009, 07:56 AM
MySQL Connection Problem - by El Forum - 09-07-2009, 09:02 PM
MySQL Connection Problem - by El Forum - 09-08-2009, 08:05 AM
MySQL Connection Problem - by El Forum - 09-08-2009, 08:22 AM
MySQL Connection Problem - by El Forum - 09-08-2009, 08:36 AM
MySQL Connection Problem - by El Forum - 09-08-2009, 02:45 PM
MySQL Connection Problem - by El Forum - 09-09-2009, 09:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB