Last modified: 2014-10-16 11:11:48 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 T73251, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71251 - ORA-00936: With version 1.23 MW with Oracle database fails to connect to DB
ORA-00936: With version 1.23 MW with Oracle database fails to connect to DB
Status: RESOLVED DUPLICATE of bug 68874
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.23.3
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: oracle
  Show dependency treegraph
 
Reported: 2014-09-24 20:01 UTC by Bill Traynor
Modified: 2014-10-16 11:11 UTC (History)
1 user (show)

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


Attachments

Description Bill Traynor 2014-09-24 20:01:07 UTC
Installing MediaWiki with an Oracle database fails after version 1.22.10.  A fresh, completely extension free installation configured with:

MediaWiki 1.22.10 (66fcbb6) 
PHP 5.3.17 (apache2handler) 
Oracle 11.2.0.4.0 

works.

As I'm tracking MW using Git, I did: $git checkout 1.23.0

Refreshing the MainPage results in:

Warning: strpos() expects parameter 1 to be string, object given in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 1308 Warning: strpos() expects parameter 1 to be string, object given in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 1304 Warning: substr() expects parameter 1 to be string, object given in /u1/MediaWiki/includes/db/DatabaseOracle.php on line 1304 
A database query error has occurred. This may indicate a bug in the software.

Backtrace:

#0 /u1/MediaWiki/includes/db/DatabaseOracle.php(709): DatabaseOracle->reportQueryError('ORA-00936: miss...', 936, 'INSERT INTO /*Q...', 'DatabaseOracle:...')
#1 /u1/MediaWiki/includes/db/DatabaseOracle.php(576): DatabaseOracle->insertOneRow('l10n_cache', Array, 'LCStoreDB::set')
#2 /u1/MediaWiki/includes/cache/LocalisationCache.php(1229): DatabaseOracle->insert('l10n_cache', Array, 'LCStoreDB::set')
#3 /u1/MediaWiki/includes/cache/LocalisationCache.php(963): LCStoreDB->set('messages:nov', 'Nov')
#4 /u1/MediaWiki/includes/cache/LocalisationCache.php(452): LocalisationCache->recache('en')
#5 /u1/MediaWiki/includes/cache/LocalisationCache.php(326): LocalisationCache->initLanguage('en')
#6 /u1/MediaWiki/includes/cache/LocalisationCache.php(260): LocalisationCache->loadItem('en', 'specialPageAlia...')
#7 /u1/MediaWiki/languages/Language.php(3055): LocalisationCache->getItem('en', 'specialPageAlia...')
#8 /u1/MediaWiki/includes/specialpage/SpecialPageFactory.php(240): Language->getSpecialPageAliases()
#9 /u1/MediaWiki/includes/specialpage/SpecialPageFactory.php(277): SpecialPageFactory::getAliasList()
#10 /u1/MediaWiki/includes/Title.php(1009): SpecialPageFactory::resolveAlias('Version')
#11 /u1/MediaWiki/includes/Wiki.php(188): Title->isSpecial('Badtitle')
#12 /u1/MediaWiki/includes/Wiki.php(588): MediaWiki->performRequest()
#13 /u1/MediaWiki/includes/Wiki.php(447): MediaWiki->main()
#14 /u1/MediaWiki/index.php(46): MediaWiki->run()
#15 {main}
Comment 1 Andre Klapper 2014-09-24 20:15:37 UTC
Thanks for taking the time to report this!

Please try with the latest stable version (MediaWiki 1.23.3) and report back. 
The 1.23.x series has received some Oracle fixes if I remember correctly.
Comment 2 Bill Traynor 2014-09-24 20:20:42 UTC
With 1.23.3 I receive the same error.  I also receive this error with the master branch.  It would seem 1.22.10 is the last working version with Oracle as the DB.
Comment 3 Andre Klapper 2014-10-16 11:11:48 UTC
Same stacktrace as https://bugzilla.wikimedia.org/show_bug.cgi?id=68874 comment 1 hence marking as duplicate.

*** This bug has been marked as a duplicate of bug 68874 ***

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


Navigation
Links