Re: [Linux+Oracle] Sugar is case sensitive

Originally Posted by
tom_v
Fixes, sort of:
1. Add line to config.php
'oracle_enable_ci' => 'true',
We then got errors (really oracle warnings) which made searches break for non-admin users. Our (ugly) fix was:
2. Edit include/database/OracleManager.php, function checkOCIerror
private function checkOCIerror(
$obj
)
{
$err = oci_error($obj);
if ($err != false){
//////TV TOM_V 10-20-2011 Fix for the bogus error (that is just a warning)
// Added if ($err["code"] != 24347) (and related "}" ) below.
if ($err["code"] != 24347)
{
$result = false;
$GLOBALS['log']->fatal("OCI error:".var_export($err, true));
return true;
}
}
return false;
}
Can you detail what that error code is in Oracle, and what the ramifications of ignoring that error are?
John Mertic
Sugar Community Manager
Bookmarks