Error On Update V2.dev

venusrising - October 1, 2009 - 05:22
Project:Custom Breadcrumbs
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

1. Overview
2. Select updates
3. Run updates
4. Review log

Drupal database update

* user warning: Duplicate key name 'language' query: ALTER TABLE custom_breadcrumb ADD INDEX language (language) in /home/xxx/html/includes/database.mysql-common.inc on line 434.
* user warning: Duplicate key name 'node_language' query: ALTER TABLE custom_breadcrumb ADD INDEX node_language (node_type, language) in /home/xxxxx/html/includes/database.mysql-common.inc on line 434.
* user warning: Duplicate column name 'name' query: ALTER TABLE custom_breadcrumb ADD `name` VARCHAR(128) DEFAULT NULL in /home/xxxxx/html/includes/database.mysql-common.inc on line 298.

Updates were attempted. If you see no failures below, you may proceed happily to the administration pages. Otherwise, you may need to update your database manually. All errors have been logged.

* Main page
* Administration pages

The following queries were executed
custom_breadcrumbs module
Update #6201

* Failed: ALTER TABLE {custom_breadcrumb} ADD INDEX language (language)
* Failed: ALTER TABLE {custom_breadcrumb} ADD INDEX node_language (node_type, language)

Update #6202

* Failed: ALTER TABLE {custom_breadcrumb} ADD `name` VARCHAR(128) DEFAULT NULL

#1

MGN - October 1, 2009 - 05:32

Thanks for reporting this, but you can safely ignore the warnings. The module will work fine after the upgrade. The updates failed because you had already updated your database by using the 6.x-2.x-dev version. Unfortunately, some of the updates in 6.x-2.x-dev had to be renumbered to make the update from the 6.x-1.x branch work properly.

This will only happen to those who were working off the development version. Better at this point to test 6.x-2.0-beta1 and report any remaining bugs that you find.

Thanks!

#2

venusrising - October 1, 2009 - 05:36

Okay for anyone having this issue I fixed by:
Deleting entire module folder
Un tar 6.x2.x Beta 1 and updating-voila' no more errors.

#3

venusrising - October 1, 2009 - 05:36

Thanks for the reply

#4

MGN - October 1, 2009 - 05:39

Yep. A clean install should not produce an error, and upgrading from 6.x-1.x should not produce an error. But again, this error can be safely ignored.

 
 

Drupal is a registered trademark of Dries Buytaert.