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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2429, the corresponding Phabricator task for complete and up-to-date bug report information.
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"
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.3.x
Other FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://not.given.com
:
Depends on:
Blocks:
  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: ---


Attachments

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 Ipowerweb.com 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:

    SELECT
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.


Navigation
Links