Welcome Guest, Not a member yet? Register   Sign In
Oracle issues
#4

[eluser]Weblizard[/eluser]
Well I don't want to dig this up but :
both db_connect AND db_pconnect method of oci8_driver missed 4th parameter (charset) and if you are using Oracle 9.2+ you MUST set charset to something sensible so here is my 2 cents
edit CI_root/database/drivers/oci8/oci8_drive.php
around line 73 change this:
Code:
return @ocilogon($this->username, $this->password, $this->hostname);
to this
Code:
return @ocilogon($this->username, $this->password, $this->hostname, $this->char_set);
and the same for db_pconnect method

Now you can set your NLS lang under CI_root/config/database.php
something like this for utf8
Code:
$db['default']['char_set'] = "al32utf8";


Messages In This Thread
Oracle issues - by El Forum - 04-03-2008, 07:49 AM
Oracle issues - by El Forum - 04-03-2008, 03:59 PM
Oracle issues - by El Forum - 04-07-2008, 12:08 PM
Oracle issues - by El Forum - 05-30-2008, 09:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB