https://bugzilla.wikimedia.org/show_bug.cgi?id=35964
Web browser: ---
Bug #: 35964
Summary: Warnings (probably errors) in PostgresUpdater.php for
AbuseFilter installation
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 10421
--> https://bugzilla.wikimedia.org/attachment.cgi?id=10421
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.)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l