uc_product_kit module failed

Posts: 42
Joined: 08/08/2007

I have just updated from 7d to 7e and got this result.

Drupal database update
user warning: Table 'content_type_product_kit' already exists query: ALTER TABLE content_type_kit RENAME TO content_type_product_kit in /home/designsd/public_html/taggedcheap.co.uk/includes/database.mysql.inc on line 172.

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
uc_product_kit module
Update #4

* Failed: ALTER TABLE {content_type_kit} RENAME TO {content_type_product_kit}

--

www.taggedcheap.co.uk The cheapest price shop

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

If that table already exists, then there's nothing left to do.

I had to do this because I changed the internal id of the product kit node type, and I was trying to preserve any CCK data for them.

Posts: 29
Joined: 08/18/2007

Lyle,

I got the error pasted below while upgrading to 7e - when I ran the update routine from Drupal modules.

From your posting here, I would think that's what happened on my install too -- that the table has already been renamed. However, I looked at my database and the table is still named content_type_kit -- there is no table named content_type_product_kit

So, what do I need to do to fix this situation?

Thanks in advance.

user warning: Table 'mydatabasename.content_type_kit' doesn't exist query: ALTER TABLE content_type_kit RENAME TO content_type_product_kit in /web/docs/drupal/includes/database.mysql.inc on line 172.
user warning: Duplicate entry 'taxonomy_theme_nodetype|casetracker_basic_projec' for key 1 query: INSERT INTO variable (name, value) VALUES ('taxonomy_theme_nodetype|casetracker_basic_project', 's:8:\"somatics\";') in /web/docs/drupal/includes/database.mysql.inc on line 172.

The update process was aborted prematurely while running update # in .module. All other errors have been logged. You may need to check the watchdog database table manually.

Main page
Administration pages
The following queries were executed

uc_product_kit module

Update #4
Failed: ALTER TABLE {content_type_kit} RENAME TO {content_type_product_kit}