PHP 7.3.33
Connect Failed
ADODB_Exception Object
(
[dbms] => oci8po
[fn] => CONNECT
[sql] =>
[params] =>
[host] => localhost
[database] => sherkhan
[message:protected] => oci8po error: [0: Missing extension for oci8] in CONNECT(localhost, 'scott', '****', sherkhan)
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/medweight/public_html/chartphp/lib/inc/adodb/adodb-exceptions.inc.php
[line:protected] => 80
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/medweight/public_html/chartphp/lib/inc/adodb/adodb.inc.php
[line] => 685
[function] => adodb_throw
[args] => Array
(
[0] => oci8po
[1] => CONNECT
[2] => 0
[3] => Missing extension for oci8
[4] => localhost
[5] => sherkhan
[6] => ADODB_oci8po Object
(
[databaseType] => oci8po
[dataProvider] => oci8
[metaColumnsSQL] => select lower(cname),coltype,width, SCALE, PRECISION, NULLS, DEFAULTVAL from col where tname='%s' order by colno
[metaTablesSQL] => select lower(table_name),table_type from cat where table_type in ('TABLE','VIEW')
[replaceQuote] => ''
[concat_operator] => ||
[sysDate] => TRUNC(SYSDATE)
[sysTimeStamp] => SYSDATE
[metaDatabasesSQL] => SELECT USERNAME FROM ALL_USERS WHERE USERNAME NOT IN ('SYS','SYSTEM','DBSNMP','OUTLN') ORDER BY 1
[_stmt] =>
[_commit] => OCI_COMMIT_ON_SUCCESS
[_initdate] => 1
[metaColumnsSQL2] => select column_name,data_type,data_length, data_scale, data_precision,
case when nullable = 'Y' then 'NULL'
else 'NOT NULL' end as nulls,
data_default from all_tab_cols
where owner='%s' and table_name='%s' order by column_id
[_bindInputArray] => 1
[hasGenID] => 1
[_genIDSQL] => SELECT (%s.nextval) FROM DUAL
[_genSeqSQL] =>
DECLARE
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
execute immediate 'CREATE SEQUENCE %s START WITH %s';
END;
[_dropSeqSQL] => DROP SEQUENCE %s
[hasAffectedRows] => 1
[random] => abs(mod(DBMS_RANDOM.RANDOM,10000001)/10000000)
[noNullStrings] =>
[connectSID] =>
[_bind] =>
[_nestedSQL] => 1
[_hasOciFetchStatement] =>
[_getarray] =>
[leftOuter] =>
[session_sharing_force_blob] =>
[firstrows] => 1
[selectOffsetAlg1] => 1000
[NLS_DATE_FORMAT] => YYYY-MM-DD
[dateformat] => YYYY-MM-DD
[useDBDateFormatForTextInput] =>
[datetime] =>
[_refLOBs] => Array
(
)
[database] => sherkhan
[host] => localhost
[user] => scott
[password] => not stored
[debug] =>
[maxblobsize] => 262144
[substr] => substr
[length] => length
[upperCase] => upper
[fmtDate] => 'Y-m-d'
[fmtTimeStamp] => 'Y-m-d, h:i:s A'
[true] => 1
[false] => 0
[nameQuote] => "
[charSet] =>
[uniqueOrderBy] =>
[emptyDate] =>
[emptyTimeStamp] =>
[lastInsID] =>
[hasInsertID] =>
[hasTop] =>
[hasLimit] =>
[readOnly] =>
[hasMoveFirst] =>
[hasTransactions] => 1
[genID] => 0
[raiseErrorFn] => adodb_throw
[isoDates] =>
[cacheSecs] => 3600
[memCache] =>
[memCacheHost] =>
[memCachePort] => 11211
[memCacheCompress] =>
[sysUTimeStamp] =>
[arrayClass] => ADORecordSet_array
[numCacheHits] => 0
[numCacheMisses] => 0
[pageExecuteCountRows] => 1
[uniqueSort] =>
[rightOuter] =>
[ansiOuter] =>
[autoRollback] =>
[poorAffectedRows] =>
[fnExecute] =>
[fnCacheExecute] =>
[blobEncodeType] =>
[rsPrefix] => ADORecordSet_
[autoCommit] => 1
[transOff] => 0
[transCnt] => 0
[fetchMode] =>
[null2null] => null
[bulkBind] =>
[_oldRaiseFn] =>
[_transOK] =>
[_connectionID] =>
[_errorMsg] =>
[_errorCode] =>
[_queryID] =>
[_isPersistentConnection] =>
[_evalAll] =>
[_affected] =>
[_logsql] =>
[_transmode] =>
[connectionParameters:protected] => Array
(
)
[_hasOCIFetchStatement] => 1
)
)
)
[1] => Array
(
[file] => /home/medweight/public_html/chartphp/lib/inc/adodb/tests/test-php5.php
[line] => 28
[function] => Connect
[class] => ADOConnection
[type] => ->
[args] => Array
(
[0] => localhost
[1] => scott
[2] => natsoft
[3] => sherkhan
)
)
)
[previous:Exception:private] =>
[msg] => Missing extension for oci8
[xdebug_message] => | ( ! ) ADODB_Exception: oci8po error: [0: Missing extension for oci8] in CONNECT(localhost, 'scott', '****', sherkhan) in /home/medweight/public_html/chartphp/lib/inc/adodb/adodb-exceptions.inc.php on line 80 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0165 | 400792 | {main}( ) | .../test-php5.php:0 |
| 2 | 0.3769 | 637088 | ADOConnection->Connect( $argHostname = 'localhost', $argUsername = 'scott', $argPassword = 'natsoft', $argDatabaseName = 'sherkhan', $forceNew = ??? ) | .../test-php5.php:28 |
| 3 | 0.3770 | 637144 | adodb_throw( $dbms = 'oci8po', $fn = 'CONNECT', $errno = 0, $errmsg = 'Missing extension for oci8', $p1 = 'localhost', $p2 = 'sherkhan', $thisConnection = class ADODB_oci8po { public $databaseType = 'oci8po'; public $dataProvider = 'oci8'; public $metaColumnsSQL = 'select lower(cname),coltype,width, SCALE, PRECISION, NULLS, DEFAULTVAL from col where tname=\'%s\' order by colno'; public $metaTablesSQL = 'select lower(table_name),table_type from cat where table_type in (\'TABLE\',\'VIEW\')'; public $replaceQuote = '\'\''; public $concat_operator = '||'; public $sysDate = 'TRUNC(SYSDATE)'; public $sysTimeStamp = 'SYSDATE'; public $metaDatabasesSQL = 'SELECT USERNAME FROM ALL_USERS WHERE USERNAME NOT IN (\'SYS\',\'SYSTEM\',\'DBSNMP\',\'OUTLN\') ORDER BY 1'; public $_stmt = NULL; public $_commit = 'OCI_COMMIT_ON_SUCCESS'; public $_initdate = TRUE; public $metaColumnsSQL2 = 'select column_name,data_type,data_length, data_scale, data_precision,\n case when nullable = \'Y\' then \'NULL\'\n else \'NOT NULL\' end as nulls,\n data_default from all_tab_cols\n where owner=\'%s\' and table_name=\'%s\' order by column_id'; public $_bindInputArray = TRUE; public $hasGenID = TRUE; public $_genIDSQL = 'SELECT (%s.nextval) FROM DUAL'; public $_genSeqSQL = '\nDECLARE\n\tPRAGMA AUTONOMOUS_TRANSACTION;\nBEGIN\n\texecute immediate \'CREATE SEQUENCE %s START WITH %s\';\nEND;\n'; public $_dropSeqSQL = 'DROP SEQUENCE %s'; public $hasAffectedRows = TRUE; public $random = 'abs(mod(DBMS_RANDOM.RANDOM,10000001)/10000000)'; public $noNullStrings = FALSE; public $connectSID = FALSE; public $_bind = FALSE; public $_nestedSQL = TRUE; public $_hasOciFetchStatement = FALSE; public $_getarray = FALSE; public $leftOuter = ''; public $session_sharing_force_blob = FALSE; public $firstrows = TRUE; public $selectOffsetAlg1 = 1000; public $NLS_DATE_FORMAT = 'YYYY-MM-DD'; public $dateformat = 'YYYY-MM-DD'; public $useDBDateFormatForTextInput = FALSE; public $datetime = FALSE; public $_refLOBs = []; public $database = 'sherkhan'; public $host = 'localhost'; public $user = 'scott'; public $password = 'not stored'; public $debug = FALSE; public $maxblobsize = 262144; public $substr = 'substr'; public $length = 'length'; public $upperCase = 'upper'; public $fmtDate = '\'Y-m-d\''; public $fmtTimeStamp = '\'Y-m-d, h:i:s A\''; public $true = '1'; public $false = '0'; public $nameQuote = '"'; public $charSet = FALSE; public $uniqueOrderBy = FALSE; public $emptyDate = ' '; public $emptyTimeStamp = ' '; public $lastInsID = FALSE; public $hasInsertID = FALSE; public $hasTop = FALSE; public $hasLimit = FALSE; public $readOnly = FALSE; public $hasMoveFirst = FALSE; public $hasTransactions = TRUE; public $genID = 0; public $raiseErrorFn = 'adodb_throw'; public $isoDates = FALSE; public $cacheSecs = 3600; public $memCache = FALSE; public $memCacheHost = NULL; public $memCachePort = 11211; public $memCacheCompress = FALSE; public $sysUTimeStamp = FALSE; public $arrayClass = 'ADORecordSet_array'; public $numCacheHits = 0; public $numCacheMisses = 0; public $pageExecuteCountRows = TRUE; public $uniqueSort = FALSE; public $rightOuter = FALSE; public $ansiOuter = FALSE; public $autoRollback = FALSE; public $poorAffectedRows = FALSE; public $fnExecute = FALSE; public $fnCacheExecute = FALSE; public $blobEncodeType = FALSE; public $rsPrefix = 'ADORecordSet_'; public $autoCommit = TRUE; public $transOff = 0; public $transCnt = 0; public $fetchMode = FALSE; public $null2null = 'null'; public $bulkBind = FALSE; public $_oldRaiseFn = FALSE; public $_transOK = NULL; public $_connectionID = FALSE; public $_errorMsg = FALSE; public $_errorCode = FALSE; public $_queryID = FALSE; public $_isPersistentConnection = FALSE; public $_evalAll = FALSE; public $_affected = FALSE; public $_logsql = FALSE; public $_transmode = ''; protected $connectionParameters = []; public $_hasOCIFetchStatement = TRUE } ) | .../adodb.inc.php:685 |
)