Last modified: 2012-08-04 20:49:07 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 T37964, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35964 - Warnings (probably errors) in PostgresUpdater.php for AbuseFilter installation
Warnings (probably errors) in PostgresUpdater.php for AbuseFilter installation
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2012-04-13 22:50 UTC by Tim Landscheidt
Modified: 2012-08-04 20:49 UTC (History)
3 users (show)

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


Attachments
Complete log of update.php after installation of AbuseFilter. (11.50 KB, text/x-log)
2012-04-13 22:50 UTC, Tim Landscheidt
Details

Description Tim Landscheidt 2012-04-13 22:50:56 UTC
Created attachment 10421 [details]
Complete log of update.php after installation of AbuseFilter.

After installing AbuseFilter (434a740ef8dcd244029efd720a8e211e2803d343) on 60b07ca1b4811d5025b340bed927ab8a4a32d9f7 core, update.php gives:

| [...]
| ...column 'abuse_filter_log.afl_deleted' already exists
| PHP Warning:  Missing argument 4 for PostgresUpdater::changeField() in /home/tim/public_html/w/includes/installer/PostgresUpdater.php on line 527
| PHP Stack trace:
| PHP   1. {main}() /home/tim/public_html/w/maintenance/update.php:0
| PHP   2. require_once() /home/tim/public_html/w/maintenance/update.php:151
| PHP   3. UpdateMediaWiki->execute() /home/tim/public_html/w/maintenance/doMaintenance.php:105
| PHP   4. DatabaseUpdater->doUpdates() /home/tim/public_html/w/maintenance/update.php:121
| PHP   5. DatabaseUpdater->runUpdates() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:282
| PHP   6. call_user_func_array() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
| PHP   7. PostgresUpdater->changeField() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
| Changing column type of 'abuse_filter_log.afl_filter' from 'text' to 'TEXT'
| PHP Notice:  Undefined variable: default in /home/tim/public_html/w/includes/installer/PostgresUpdater.php on line 539
| PHP Stack trace:
| PHP   1. {main}() /home/tim/public_html/w/maintenance/update.php:0
| PHP   2. require_once() /home/tim/public_html/w/maintenance/update.php:151
| PHP   3. UpdateMediaWiki->execute() /home/tim/public_html/w/maintenance/doMaintenance.php:105
| PHP   4. DatabaseUpdater->doUpdates() /home/tim/public_html/w/maintenance/update.php:121
| PHP   5. DatabaseUpdater->runUpdates() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:282
| PHP   6. call_user_func_array() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
| PHP   7. PostgresUpdater->changeField() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
| ...index 'abuse_filter_log_ip' on table 'abuse_filter_log' already exists
| [...]

(Complete log as attachment.)
Comment 1 Alexandre Emsenhuber [IAlex] 2012-04-14 20:18:54 UTC
Fix pending review in Gerrit change #4965.

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


Navigation
Links