[Pkg-mediawiki-devel] Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL
Jaume Sabater
jsabater at linuxsilo.net
Fri Aug 29 13:18:33 UTC 2008
Package: mediawiki
Version: 1:1.13.0-1
Severity: grave
Justification: renders package unusable
Using PostgreSQL 8.3.3 and Mediawiki 1.13. Upgraded from Mediawiki 1.12
to 1.13. Had to execute the populateCategory.php script inside
maintenance due to the changes made by upstream in the software, so that
new category and categorylinks tables are populated.
When doing so, it fails and leaves the pages plenty of corrupted
information, displaying tons of links/pages that should not be there.
Please note the segmentation fault at the end. The update.php executed
before also ended in a segmentation fault error, but seemed to work
fine.
These are the errors that the script return when executing from the
console:
php maintenance/populateCategory.php
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Warning: Invalid argument supplied for foreach() in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 106
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 122
Warning: array_key_exists(): The second argument should be either an
array or an object in
/usr/share/mediawiki/includes/db/DatabasePostgres.php on line 124
Category population complete.
Segmentation fault
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.33-xenU-rimu-20061214
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages mediawiki depends on:
ii apache2 2.2.3-4+etch5 Next generation, scalable, extenda
ii apache2-mpm-prefork [http 2.2.3-4+etch5 Traditional model for Apache HTTPD
ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii php5 5.2.0-8+etch11 server-side, HTML-embedded scripti
ii php5-mysql 5.2.0-8+etch11 MySQL module for php5
ii php5-pgsql 5.2.0-8+etch11 PostgreSQL module for php5
Versions of packages mediawiki recommends:
ii mysql-server-5.0 [mysql-s 5.0.32-7etch6 mysql database server binaries
ii php5-cli 5.2.0-8+etch11 command-line interpreter for the p
-- debconf information:
* mediawiki/webserver: apache2
More information about the Pkg-mediawiki-devel
mailing list