Welcome Guest, Not a member yet? Register   Sign In
Oci8 Active Record
#1

[eluser]Unknown[/eluser]
Hi guys!,
Well, I need to connect my application in codeigniter with oracle, but I don't know how to connect.

I have this connection....

Code:
$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost/XE';
$db['default']['username'] = 'root';
$db['default']['password'] = 'root';
$db['default']['database'] = '';
$db['default']['dbdriver'] = 'oci8';

and, my application don't have any error when run... but if I do the query...
this query for example...
Code:
$this->db->select('*');
$this->db->where('NOMBRE',$usuario);
$this->db->where('CLAVE',$clave);
return $this->db->get('USUARIOS');

My Firebug, or the similar program says...

Code:
Fatal error:  Declaration of CI_DB_oci8_result::_fetch_assoc()
must be compatible with that of CI_DB_result::_fetch_assoc()
in C:\AppServ\www\Application\system\database\drivers\oci8\oci8_result.php
on line 245

Well, it's obvious, I'm active the oci8 in AppServ.

Please guys, your help me it would really important.

#2

[eluser]oldrock[/eluser]
Hi Guys ,

Me too facing the same issue as above

Fatal error: Declaration of CI_DB_oci8_result::_fetch_assoc()
must be compatible with that of CI_DB_result::_fetch_assoc()
in \Application\system\database\drivers\oci8\oci8_result.php
on line 245

Please somebody can suggest me a solution for the above problem.




Theme © iAndrew 2016 - Forum software by © MyBB