[Mediawiki-l] Upgrading to 1.5.2: strange table error

Thomas Rother t.rother at netzwissen.de
Sun Nov 6 14:02:15 UTC 2005


Hi,
I have a strange problem with the 1.5.2 upgrade process:

- I have a mediawiki version 1.3.7  running on mysql 4.0.15-Max-log. The
sql data were dumped with --default-character-set=latin1 and imported
into a test-db on the same server (4.0x).
- I performed the update process as described in UPGRADE: First started
the maintenance/upgrade1_5.php. Then used the classic web-update for
finishing the process. The web update showed the following error:

Initialising "MediaWiki" namespace...
A database error has occurred
Query: SELECT old_text,old_flags  FROM `text`  WHERE old_id = '4399'  LIMIT 1
Function: Revision::loadText
Error: 1146 Table 'gaia_wikintern15.text' doesn't exist (localhost)

Backtrace:
GlobalFunctions.php line 451 calls wfbacktrace()
Database.php line 408 calls wfdebugdiebacktrace()
Database.php line 358 calls databasemysql::reportqueryerror()
Database.php line 734 calls databasemysql::query()
Database.php line 753 calls databasemysql::select()
Revision.php line 574 calls databasemysql::selectrow()
Revision.php line 370 calls revision::loadtext()
InitialiseMessages.inc line 185 calls revision::gettext()
InitialiseMessages.inc line 72 calls initialisemessagesreal()
updaters.inc line 670 calls initialisemessages()
index.php line 609 calls do_all_updates()

If I compare the converted db structure to the structure of a fresh 1.5.2 installation, 
I see an additional table "text" in the converted wiki. So it looks like the script wants to access a table 
"gaia_wikintern15.text'" (where "gaia_wikintern15" is the db name) where it should originally access 
a table named "text". Looks like a parsing problem ...

For testing reasons, I also performed an update from the 1.3x to 1.4.12
(both on the same server and on a mysql 4.1), which worked OK.

Any ideas how to fix this? (I couldn't find any notes in
http://meta.wikimedia.org/wiki/Upgrading_MediaWiki and the IRC wasn't
responding)

Bye, Thomas

-- 
--------------------------------------------------------------------
* THOMAS M. ROTHER * netzwissen.de * D-73728 Esslingen, Germany,EU *   
*      mailto:t.rother at netzwissen.de * http://www.netzwissen.de    *
*     GPG Key from http://wwwkeys.de.pgp.net * ICQ-ID 311887737    *
*   Fingerprint B208 E204 4249 4635 19B9 B691 3E73 C8B9 1229 DE4C  *  
--------------------------------------------------------------------




More information about the MediaWiki-l mailing list