Test upgrade of a running mediawiki 1.2.4 to 1.3.0
beta6 failed with a blank start page, code:
<html><body></body></html>
(no php at all)
and the following error messages in the php error log:
[09-Aug-2004 09:14:39] PHP Warning: Cannot modify
header information - headers already sent by (output
started at
/usr/local/ftp/gaiaev/mediawiki2/config/index.php:32)
in Unknown on line 0
[09-Aug-2004 09:16:38] PHP Fatal error: Call to a
member function on a non-object in
/usr/local/ftp/gaiaev/mediawiki2/includes/Skin.php on
line 1638
[09-Aug-2004 09:17:17] PHP Fatal error: Call to a
member function on a non-object in
/usr/local/ftp/gaiaev/mediawiki2/includes/Skin.php on
line 1638
[09-Aug-2004 09:18:16] PHP Fatal error: Call to a
member function on a non-object in
/usr/local/ftp/gaiaev/mediawiki2/includes/Skin.php on
line 1638
[09-Aug-2004 09:18:18] PHP Fatal error: Call to a
member function on a non-object in
/usr/local/ftp/gaiaev/mediawiki2/includes/Skin.php on
line 1638
[09-Aug-2004 09:18:19] PHP Fatal error: Call to a
member function on a non-object in
/usr/local/ftp/gaiaev/mediawiki2/includes/Skin.php on
line 1638
intraweb:/usr/local/ftp/gaiaev/mediawiki2 #
Environment:
Apache/1.3.28 PHP 4.3.1 (register_globals=off)
MySQL 4.0.15-Max
Install log attached
Install Log
Logged In: YES
user_id=509396
Confirmed for a second wiki on the same machine with the
same upgrade type (1.2.4 to 1.3.0 beta6)
Logged In: YES
user_id=446709
Cannot reproduce with upgrade of freshly installed 1.2.4 to
1.3.0beta6. PHP 4.3.2, MySQL 4.0.17, set for English/UTF-8.
The error is related to a badly specified title, so it would help to know
more about your configuration (language settings, if you've
customized messages such as the main page setting) and also if you
could check whether other pages on the wiki work than the main page.
Other wiki pages? Special pages?
Logged In: NO
From LocalSettings.php:
$wgLanguageCode = "de";
$wgUseLatin1 = true;
If I enter a page URL from the old 1.2.4 wiki into the new
one, I get a valid page, but it is the startpage, not the
sub-page:
old URL
https://intraweb.gaia.de/gaiaev/mediawiki/index.php/Hauptseite
new URL
https://intraweb.gaia.de/gaiaev/mediawiki2/index.php/Hauptseite#Sysop-Grundlagen
The "new URL" page shows a lot of "#redirect
[[Vorlage:Mainpage]] # Wikipedia-Portal"" links.
("Vorlage" means "Template").
"Recentchanges" ist also present, but with a lot of "
(#redirect [[Vorlage:Diff]] ) (#redirect [[Vorlage:Hist]] )
. . #redirect [[Vorlage:Minoreditletter]] GP-Portalprojekt;
)" entries.
Unfortunately, the wikis are internal, just let me know what
info you need, I will check it.
Logged In: NO
Addendum:
https://intraweb.gaia.de/gaiaev/mediawiki2/index.php
results in a blank page, but
https://intraweb.gaia.de/gaiaev/mediawiki2/index.php/Hauptseite
shows the start page, but with the strange Redirect links.
The "Hauptseite" with Redirect links
Logged In: YES
user_id=509396
Here is the output page for "Hauptseite" (main page) as
described above
Logged In: YES
user_id=446709
Ok, I haven't been able to reproduce the source of the problem on my
test system yet, but the problem itself is that most of the MediaWiki:
message pages were moved to the template namespace which were not
supposed to.
It's only supposed to move the ones that are _not_ part of MediaWiki's
own localization system; when it moves its own messages it ends up
screwing the whole thing up.
You should be able to do a batch regeneration of the MediaWiki:
namespace with the 'rebuildMessages.php' script in the maintenance
directory; it has to be run from the command line and may be a bit
tempermental.
Logged In: YES
user_id=509396
Hi,
I started
intraweb:/usr/local/ftp/gaiaev/mediawiki2/maintenance # php
rebuildMessages.php rebuild
Initialising "MediaWiki" namespace...
intraweb:/usr/local/ftp/gaiaev/mediawiki2/maintenance #
But nothing much happens here ... I see no activities in the
db, no script replieson the shell...
How can I conrol if it has finished its job correctly?
Logged In: NO
Brion, I can't see any changes in the database after "php
rebuildMessages.php". I could also find no documentation on
http://meta.wikimedia.org/....
Logged In: YES
user_id=446709
To get rebuildMessages working again:
* Add this line near the top of includes/LoadBalancer.php:
require_once( "Database.php" );
* Move this line in includes/commandLine.inc from near the bottom to
near the top:
define( "MEDIAWIKI", true );
(This is included in latest CVS, but anon CVS is behind.)
Logged In: YES
user_id=509396
Tried fresh upgrade 1.24 -> CVS code (11.8.04). Installation
error from maintenance/convertLinks.inc , see attachment.
Upgrade error with 1.2.4 to current CVS code
Logged In: YES
user_id=734240
This bug has been migrated to MediaZilla:
http://bugzilla.wikipedia.org/show_bug.cgi?id=28
Please leave additional comments or attachments there.