Package: mediawiki1.7 Followup-For: Bug #386444 update.php really doesn't want to run in this environment.
web:/usr/share/mediawiki1.7# php5 maintenance/update.php Warning: require_once(Setup.php): failed to open stream: No such file or directory in /usr/share/mediawiki1.7/maintenance/commandLine.inc on line 205 Fatal error: require_once(): Failed opening required 'Setup.php' (include_path='.:/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:/var/www/wiki/maintenance') in /usr/share/mediawiki1.7/maintenance/commandLine.inc on line 205 which I fixed by moving Setup.php to . and web:/usr/share/mediawiki1.7# php5 maintenance/update.php Warning: require_once(/var/www/wiki/includes/AutoLoader.php): failed to open stream: No such file or directory in /usr/share/mediawiki1.7/Setup.php on line 28 Fatal error: require_once(): Failed opening required '/var/www/wiki/includes/AutoLoader.php' (include_path='.:/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:/var/www/wiki/maintenance') in /usr/share/mediawiki1.7/Setup.php on line Note how it's attempting to load "/var/www/wiki/includes" which is a hardcoded path and is no longer where it is under debianization. I just kept hardcoding paths, wondering whether this would ever work... here's another one: web:/usr/share/mediawiki1.7# php5 maintenance/update.php Warning: require_once(DatabaseMysql.php): failed to open stream: No such file or directory in /usr/share/mediawiki1.7/maintenance/update.php on line 18 Fatal error: require_once(): Failed opening required 'DatabaseMysql.php' (include_path='.:/var/www/wiki:/var/www/wiki/includes:/var/www/wiki/languages:/var/www/wiki/maintenance') in /usr/share/mediawiki1.7/maintenance/update.php on line 18 I finally got to here. Which I think is a bug, as I've got the files in the right place and the right permissions, but I'm done trying to figure out how... MediaWiki 1.7.1 Updater No superuser credentials could be found. Please provide the details of a user with appropriate permissions to update the database. See AdminSettings.sample for more details. Thanks. Jeff -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-vserver-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

