As I have an Oracle 10g, I use the Easy Connect Syntax, instead of annoying with tnsnames.ora.
For that, I've modified the db.inc.php :
case "ORACLE":
$DB_LINK_DATABASE = $DB_SERVER.':'.$DB_PORT.'/'.$DB_DATABASE;
$DB = OCILogon($DB_USER, $DB_PASSWORD, $DB_LINK_DATABASE);
if(!$DB)
{
$error = "Error connecting to database";
$result = false;
}
break;
And it works !
I really encourage those who have the Oracle connection problems with the PHPfrontends to follow this Oracle note :
Bye !
For that, I've modified the db.inc.php :
case "ORACLE":
$DB_LINK_DATABASE = $DB_SERVER.':'.$DB_PORT.'/'.$DB_DATABASE;
$DB = OCILogon($DB_USER, $DB_PASSWORD, $DB_LINK_DATABASE);
if(!$DB)
{
$error = "Error connecting to database";
$result = false;
}
break;
And it works !
I really encourage those who have the Oracle connection problems with the PHPfrontends to follow this Oracle note :
Bye !
Comment