Open jotazuz opened 5 months ago
@jotazuz I will release the bugfix soon. Thank you for your hint.
Otherwise i think i found another bug in the connection function at the DSN.
Can you tell me, how do you call the connect
function?
Do you connect via an dsn-string or via the connection ds paramter-array, like
$dsn['phptype'] = "oci8"; $dsn['hostspec'] = "localhost"; $dsn['database'] = "XEPDB1"; $dsn['port'] = 1521; $dsn['username'] = "SYSTEM"; $dsn['password'] = "MySystemPassword";
?
@jotazuz did you read my last comment? can you give me a quick response, please?
@schengawegga sorry, didn't get your last post. I connect via dsn string, something like this:
oci8://user:pass@(DESCRIPTION = (CONNECT_TIMEOUT=1)(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxx)(PORT = 11521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = xxxx)(FAILOVER_MODE = (TYPE = SELECT)(ME
THOD = BASIC)(RETRIES = 2)(DELAY = 2))))/database
method fetchInfo (line 379 of oci8.php) doesn't work because it's calling oci_fetch_array with wrong parameters (is using the same parameters for the deprecated function OciFetchInto)