Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184959 - www-apps/mediawiki-1.8.4 - error when editing pages
Summary: www-apps/mediawiki-1.8.4 - error when editing pages
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Philippe Trottier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 14:35 UTC by Daniel Stefanescu
Modified: 2007-11-23 16:42 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 Daniel Stefanescu 2007-07-11 14:35:27 UTC
The aplication is configured to accept page creation / editing only from authenticated users.

When the page was changed and the save action is required, error occurs in function "MediaWikiBagOStuff::_doinsert". The error message is:

Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: 
(SQL query hidden)
from within function "MediaWikiBagOStuff::_doinsert". MySQL returned error "1062: Duplicate entry 'wikidb:pcache:idhash:1-0!1!0!!en!2!edit=0' for key 1 (localhost)".

Then the error occurs all the time, even the page was request for first time or by already authenticated user.

After the time stamp from field 'exptime' in table 'objectcache' associated with previous key, the page can be read again, but without the changes.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 14:42:11 UTC
Well, try w/ 1.9.6 and/or 1.10.0. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:20:26 UTC
As said above, try w/ something newer. This version was removed.