Last modified: 2014-09-22 16:25:25 UTC
Following installation of Mediawiki (git master) with Oracle 11 backend, the MainPage displays: Warning: oci_parse() expects parameter 1 to be resource, boolean given in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 1266 Warning: oci_error() expects parameter 1 to be resource, null given in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 1271 A database query error has occurred. This may indicate a bug in the software. However, running ../maintenance/update.php --quick produces: php update.php --quick MediaWiki 1.24alpha Updater PHP Fatal error: Call to undefined function oci_error() in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 522 Fatal error: Call to undefined function oci_error() in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 522 These appear to be the same error, however it's clearly Fatal, not a warning.
This was caused by PHP on SLES not calling the correct php.ini.