Last modified: 2014-11-20 14:59:34 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 T72030, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70030 - PostgreSQL: undefined method Status::clearFlag()
PostgreSQL: undefined method Status::clearFlag()
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.24rc
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2014-08-26 11:19 UTC by Peter Bena
Modified: 2014-11-20 14:59 UTC (History)
3 users (show)

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


Attachments

Description Peter Bena 2014-08-26 11:19:25 UTC
When installing mw on postgre I get a blank page, in error log I see:

PHP Fatal error:  Call to undefined method Status::clearFlag() in /home/petanb/Documents/mediawiki/core/includes/installer/PostgresInstaller.php on line 191, referer: http://localhost/test/w/mw-config/index.php?page=DBConnect
Comment 1 Andre Klapper 2014-08-26 13:15:40 UTC
Do you really use old outdated 1.22.2 as written in the "Version" field?
Comment 2 Peter Bena 2014-08-26 13:27:23 UTC
no, it's latest master actually (from gerrit) idk why this version was chosen
Comment 3 Peter Bena 2014-08-26 13:27:51 UTC
and now it even changed the priority for no reason o.O bugzilla has bugs!
Comment 4 Marcin Cieślak 2014-08-26 15:43:52 UTC
Full backtrace:

[26-Aug-2014 17:41:00 Europe/Warsaw] PHP Fatal error:  Call to undefined method Status::clearFlag() in /usr/home/saper/public_html/pg/w/includes/installer/PostgresInstaller.php on line 191
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP Stack trace:
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   1. {main}() /usr/home/saper/public_html/pg/w/mw-config/index.php:0
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   2. wfInstallerMain() /usr/home/saper/public_html/pg/w/mw-config/index.php:38
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   3. WebInstaller->execute() /usr/home/saper/public_html/pg/w/mw-config/index.php:79
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   4. WebInstallerDBConnect->execute() /usr/home/saper/public_html/pg/w/includes/installer/WebInstaller.php:280
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   5. WebInstallerDBConnect->submit() /usr/home/saper/public_html/pg/w/includes/installer/WebInstallerPage.php:515
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   6. PostgresInstaller->submitConnectForm() /usr/home/saper/public_html/pg/w/includes/installer/WebInstallerPage.php:599
[26-Aug-2014 17:41:00 Europe/Warsaw] PHP   7. PostgresInstaller->getPgConnection() /usr/home/saper/public_html/pg/w/includes/installer/PostgresInstaller.php:116
Comment 5 Andre Klapper 2014-08-26 18:34:04 UTC
(In reply to Peter Bena from comment #3)
> and now it even changed the priority for no reason o.O bugzilla has bugs!

No, it's likely your browser caching things.
Comment 6 Gerrit Notification Bot 2014-08-26 19:19:01 UTC
Change 156349 had a related patch set uploaded by saper:
Schema is not PostgreSQL connection parameter

https://gerrit.wikimedia.org/r/156349
Comment 7 Gerrit Notification Bot 2014-08-26 19:31:24 UTC
Change 156350 had a related patch set uploaded by Jjanes:
PostgreSQL: Fix Installer

https://gerrit.wikimedia.org/r/156350
Comment 8 Gerrit Notification Bot 2014-08-31 17:07:59 UTC
Change 156350 abandoned by Jjanes:
PostgreSQL: Fix Installer

Reason:
abandon in favor of alternative fix I61d5f262e60722bc08201b40b61a298d8af42223

https://gerrit.wikimedia.org/r/156350
Comment 9 Marcin Cieślak 2014-09-01 08:11:40 UTC
Thanks Jjanes... now I wonder who can commit the fix...
Comment 10 Jeff Janes 2014-10-31 19:37:43 UTC
Is there anyone who can merge https://gerrit.wikimedia.org/r/156349 ?

PostgreSQL support is slowly rotting away, as the persistence of this problem makes it hard to test for others ones.
Comment 11 Marcin Cieślak 2014-11-07 18:17:27 UTC
Unfortunately we are getting more and more changes that break PostgreSQL and then nobody feels responsible for fixing them. In the past we used to revert broken changes, now getting things via the review is so hard so we no longer do it.
Comment 12 Gerrit Notification Bot 2014-11-07 18:55:32 UTC
Change 171873 had a related patch set uploaded by MarkAHershberger:
Schema is not PostgreSQL connection parameter

https://gerrit.wikimedia.org/r/171873
Comment 13 Gerrit Notification Bot 2014-11-07 19:02:23 UTC
Change 156349 merged by jenkins-bot:
Schema is not PostgreSQL connection parameter

https://gerrit.wikimedia.org/r/156349
Comment 14 Gerrit Notification Bot 2014-11-07 19:04:05 UTC
Change 171873 merged by jenkins-bot:
Schema is not PostgreSQL connection parameter

https://gerrit.wikimedia.org/r/171873
Comment 15 Andre Klapper 2014-11-20 14:59:34 UTC
All patches mentioned in this report were merged or abandoned - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

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


Navigation
Links