Last modified: 2014-09-22 16:25:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73068, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71068 - PHP Fatal error: Call to undefined function oci_error() with Oracle backend
PHP Fatal error: Call to undefined function oci_error() with Oracle backend
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: oracle
  Show dependency treegraph
 
Reported: 2014-09-19 20:12 UTC by Bill Traynor
Modified: 2014-09-22 16:25 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bill Traynor 2014-09-19 20:12:11 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.
Comment 1 Bill Traynor 2014-09-22 16:25:25 UTC
This was caused by PHP on SLES not calling the correct php.ini.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links