Last modified: 2010-05-15 15:29:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 429 - PageHistory::history Key column 'name_title_timestamp' doesn't exist in table"
PageHistory::history Key column 'name_title_timestamp' doesn't exist in table"
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
Other FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-09-09 08:47 UTC by Tomcat
Modified: 2010-05-15 15:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Tomcat 2004-09-09 08:47:46 UTC
Hey y'all, I'm astounded by MediaWIKI after trying unsuccessfully to get PHPwiki
to run, I decided to just try MediaWiki and found the install painless and the
functionallity wonderful.

But I'm getting this error when I try to hit any history page.

It's not an error related to the sysop acct... Did I miss an option in the setup? 

I'm currently exploring the idea of wiki as a journal, so email me for the url.
(I might set another one up to test this.)

Great, easy setup with hosting, btw. 

Error below!

 A database query syntax error has occurred. This could be because of an illegal
search query (see Searching ActionHourWiki), or it may indicate a bug in the
software. The last attempted database query was:

old_id,old_user,old_comment,old_user_text,old_timestamp,old_minor_edit FROM old
USE INDEX (name_title_timestamp) WHERE old_namespace=0 AND old_title='Main_Page'
ORDER BY inverse_timestamp LIMIT 0,50 

from within function "PageHistory::history". MySQL returned error "1072: Key
column 'name_title_timestamp' doesn't exist in table".
Comment 1 JeLuF 2004-09-09 09:41:49 UTC
Please provide the output of the config session. Did you encounter any error
messages during installation?

Apparently, indexes have not been created during DB setup.

They are defined in maintenance/indexes.sql, you can run this script using mysql
client or e.g. phpmyadmin
Comment 2 Brion Vibber 2005-06-02 02:09:28 UTC
No follow-up response from reporter after several months.

Current versions define indexes in the main tables.sql, so it would be really hard to get this 
wrong if eg doing a manual installation. Resolving as INVALID.

Note You need to log in before you can comment on or make changes to this bug.