Connecting to Oracle Database

#1
[eluser]imorris[/eluser]
I need some assistance getting connected to an Oracle database. I have the Oracle 10g client installed on my machine and have been able to connect to the database in other projects (like VB Scripting). I get an error when the page loads that looks like this:

Code:
A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS'

Filename: database/DB.php

Line Number: 133

Here is my dbconfig.

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

$db['default']['hostname'] = "server:port/instance";
$db['default']['username'] = "username";
$db['default']['password'] = "password";
$db['default']['database'] = ""; //Do I need to specify a database name here?
$db['default']['dbdriver'] = "oci8";
$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";


Messages In This Thread
Connecting to Oracle Database - by El Forum - 09-23-2010, 07:54 AM
Connecting to Oracle Database - by El Forum - 09-23-2010, 08:00 AM
Connecting to Oracle Database - by El Forum - 09-23-2010, 08:28 AM
Connecting to Oracle Database - by El Forum - 09-23-2010, 09:40 AM
Connecting to Oracle Database - by El Forum - 09-23-2010, 01:17 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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