Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166485 - www-apps/mediawiki-1.8.3 - Error when editing after update from 1.7.2
Summary: www-apps/mediawiki-1.8.3 - Error when editing after update from 1.7.2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Philippe Trottier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 11:21 UTC by Vicuna
Modified: 2007-11-16 13:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vicuna 2007-02-12 11:21:19 UTC
Updated from Mediawiki 1.7.2 to 1.8.3 upon unmasking of ebuild. Editing an article afterwards gives an error like: from function „Block::load“. MySQL reported error „1054: Unknown column 'ipb_anon_only' in 'where clause'

Reproducible: Didn't try




That update step requires maintenance/update.php to be run after the installation. To complicate things further update.php requires the wikidb user to have drop privileges for the first time (running Mediawiki since 1.3.7).
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2007-02-12 11:49:32 UTC
Did you have this problem after following the update path in mediawiki ? Or did you get the error without following the update ?

1.6.9 will be staying for a while as there is important support for PHP4 and suprisingly a lot of PHP4 systems in the wild.

1.7.x Is getting a lot less attention than 1.8 at the moment.

1.9.2 I know that they fixed some upgrade problems, maybe one of this problem was present in 1.8.3. Could you try the 1.9.2 ?

I will take some time to investigate this if you can try a few things. If this is a real problem, I am afraid I can only change the documentation on upgrades and wait for the upstream to work it out.
Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2007-02-12 12:00:19 UTC
This seems to be a very well known problem, I cannot test these for at least 2 days. But I would look in those at the end of the week.

http://www.mwusers.com/forums/archive/index.php/t-3303.html
http://mwusers.com/forums/showthread.php?p=10700

Comment 3 Vicuna 2007-02-12 14:33:47 UTC
I usually upgrade once a new version becomes available. The solution to this problem is quite simple: Just run the update.php script in the maintenance directory of Mediawiki after allowing the relevant MySQL user to drop tables. Maybe it is enough to simply add this as info after the ebuild is installed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:29:48 UTC
Try with a newer version, 1.8.3 was removed.