Last modified: 2012-08-04 20:49:02 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 T21479, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19479 - Wrong error message when installing with postgres as DB-Backend
Wrong error message when installing with postgres as DB-Backend
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.14.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2009-07-02 14:32 UTC by R. M.
Modified: 2012-08-04 20:49 UTC (History)
2 users (show)

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


Attachments
Make config return error if cannot connect as wikiuser (628 bytes, patch)
2009-07-21 10:30 UTC, OverlordQ
Details

Description R. M. 2009-07-02 14:32:56 UTC
When installing mediawiki with postgres as DB-Backend, the function getServerVersion() (in file /usr/share/mediawiki/includes/db/DatabasePostgres.php line 1073) reports any failure in connecting to the DB as a wrong Postgres version.
Comment 1 Alexandre Emsenhuber [IAlex] 2009-07-21 09:52:28 UTC

*** This bug has been marked as a duplicate of bug 16937 ***
Comment 2 OverlordQ 2009-07-21 10:00:49 UTC
Not the same bug, this error results in a failed database connection not stopping the installation process when then tries to call getServerVersion on an invalid Database object.
Comment 3 OverlordQ 2009-07-21 10:30:44 UTC
Created attachment 6376 [details]
Make config return error if cannot connect as wikiuser

Patch to config
Comment 4 Alexandre Emsenhuber [IAlex] 2009-07-26 20:09:29 UTC
fixed in r53786.

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


Navigation
Links