Bug#497042: [Pkg-mediawiki-devel] Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL

2008-08-30 Thread Romain Beauxis
severity 497042 important
thanks

Le Friday 29 August 2008 15:18:33 Jaume Sabater, vous avez écrit :
 Package: mediawiki
 Version: 1:1.13.0-1
 Severity: grave
 Justification: renders package unusable

Well, not really, mysql users and fresh postgresql users can still use the 
package..

 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.

Ok, this issue seems to come from a custom debian patch.

Could you try with the original file, attached with this mail ?


Romain


DatabasePostgres.php
Description: application/php


Processed: Re: [Pkg-mediawiki-devel] Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL

2008-08-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 497042 important
Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL
Severity set to `important' from `grave'

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL

2008-08-29 Thread Jaume Sabater
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