Installed MediaWiki (git master) with Oracle 11 as the database. Post installation, the MainPage does not display but shows instead:
Warning: oci_parse() expects parameter 1 to be resource, boolean given in ...MediaWiki/includes/db/DatabaseOracle.php on line 1266 Warning: oci_error() expects parameter 1 to be resource, null given in ...MediaWiki/includes/db/DatabaseOracle.php on line 1271
Now, I assume I can ignore these warnings, so I attempted to run ../maintenance/update.php --quick and received:
MediaWiki 1.24alpha Updater
PHP Fatal error: Call to undefined function oci_error() in ...MediaWiki/includes/db/DatabaseOracle.php on line 522
Fatal error: Call to undefined function oci_error() in ...MediaWiki/includes/db/DatabaseOracle.php on line 522
The code at line 522 is:
function lastError() { if ( $this->mConn === false ) { $e = oci_error(); } else { $e = oci_error( $this->mConn ); }
return $e['message']; }
Why isn't oci_error() defined if oci8 is installed?
mediawiki-l@lists.wikimedia.org