I ran the web installer. It stopped saying there was a problem trying to
alter the public key, so i did this command into mysql manually:
alter table image add primary key (img_name);
Then went back to web installer and it worked. Copied LocalSettings.php
to root and got the website with the error I pasted.
I did not save the output from the configuration installer.
Brion Vibber wrote:
Ken Garland wrote:
I received this error when upgrading from 1.3.11
to 1.4.5:
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 "Parser::replaceLinkHolders". MySQL returned error
"1072: Key column 'name_title_timestamp' doesn't exist in table
(localhost)".
Can you please outline your exact upgrade procedure?
In particular, did you run the command-line update.php or web-based
config/index.php installer to apply database schema updates? Did you
save the output from this step?
At first the upgrade would not even complete
until I did this manually:
alter table image add primary key (img_name);
-- brion vibber (brion @
pobox.com)
------------------------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l