Last modified: 2010-05-15 16:03:26 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 T15412, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13412 - Critical error when updating mediawiki r32094 (after r33085 commit)
Critical error when updating mediawiki r32094 (after r33085 commit)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-18 08:02 UTC by Bertrand GRONDIN
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

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


Attachments

Description Bertrand GRONDIN 2008-03-18 08:02:43 UTC
While updating by using Mediawiki installer (when can't access to ssh on the provider), we see the following message.

Populating category table, printing progress markers.  For large databases, you
may want to hit Ctrl-C and do this manually with maintenance/
populateCategory.php.
Mod�le_g�ographique


Fatal error:  Call to undefined function wfWaitForSlaves() in /var/www/vhosts/vikidia.org/subdomains/fr/httpdocs/maintenance/populateCategory.inc on line 66

This wfWaitForSlaves() function exists in commandLine.inc but updater can't call it.

I've adding this function in the end of commandLine.inc on r32096 and all is running perfectly.
Comment 1 Zachary Hauri 2008-03-18 12:31:29 UTC
All is running perfectly, except for update.php now.

Fatal error: Cannot redeclare wfwaitforslaves() (previously declared in /var/www/.wikis/code/maintenance/commandLine.inc:244) in /var/www/.wikis/code/maintenance/populateCategory.inc on line 100
Comment 2 Bertrand GRONDIN 2008-03-18 13:09:49 UTC
Fixed in r32106.

commandLine.inc not called when using Mediawiki installer php skin.

updaters.inc calls directly populateCategory.inc but not populateCategory.php. Adding require_once "commandLine.inc"; in populateCategory.inc.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-03-18 13:18:28 UTC
Fix adjusted in r32107.

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


Navigation
Links