-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel von Garrel wrote:
Hello.
I want to update a mediawiki from version 1.4.5 to 1.9. The upgrade
script "upgrade1_5.php" to convert the database to utf fails with message:
Warning: fopen(maintenance/archives/patch-interwiki-trans.sql): failed
to open stream: No such file or directory in
/var/www/mediawiki/includes/Database.php on line 1959
Could not open "maintenance/archives/patch-interwiki-trans.sql".
Confirm that the file is present and that $IP in LocalSettings.php
points to the correct directory.
Try changing this line of maintenance/FiveUpgrader.php:
dbsource( 'maintenance/archives/patch-interwiki-trans.sql', $this->dbw );
to:
dbsource( $IP . '/maintenance/archives/patch-interwiki-trans.sql',
$this->dbw );
- -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFwhRAwRnhpk1wk44RAnEsAJ0W0NcuynkDdSKO+Vdq6I2BEAXexgCfVHOs
7kxdt/IqgCTmWprDlCEvrmA=
=pebz
-----END PGP SIGNATURE-----