This problem occurred on two of my sites (although both are hosted by the same company - so it might have something to do with the servers).

On updating from Beta2 to Beta3, the following problem occurred with the database update:

user warning: Duplicate key name 'language' query: ALTER TABLE sa1_locales_target ADD INDEX langauge (language) in /home/{myname}/public_html/includes/database.mysql-common.inc on line 433

The following is an extract from the queries being executed:

Failed: ALTER TABLE {locales_target} ADD INDEX language (langauge)

I had run the update.php file having followed all the steps set out in the .txt file.

Other than reporting this problem, is there anything I need to do to my database to fix this issue. My sites are running fine after the update, but I haven't been using multiple languages yet (am waiting for the code freeze before translating) - although the translation module has been enabled.

Php version: 5.2.4
MySQL version: 4.1.22-standard
Linux server - not certain which variant

Comments

gábor hojtsy’s picture

Title: Database update problem » Duplicate key name 'language' on update
catch’s picture

Possibly not a duplicate, but related to this: http://drupal.org/node/194310

scoutbaker’s picture

Status: Active » Postponed (maintainer needs more info)

Is this really still an issue? The concensus I've been reading (including /node/194310) is that we don't support updates from Betas.

Does this still occur updating from a clean install of RC1 to RC2, or from 5.x to RC2?

webernet’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

This is old, and beta to beta updates are unsupported.