Last modified: 2010-05-15 16:03:26 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.
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
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.
Fix adjusted in r32107.