2 replies [Last post]
surbir's picture
Offline
Joined: 08/08/2007
Juice: 113
Was this information Helpful?

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

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: uc_product_kit module failed

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.

somatics's picture
Offline
Joined: 08/18/2007
Juice: 121
7e install error content_type_kit rename fails

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}