I was having some problems with ADD CHILD not displaying as an option when I created a container. So I thought perhaps I should use admin->modules to uncheck all the category tables, drop them from the database, and then use admin->modules to check them again to re-install. The tables were not re-created in the database. Someone on this forum had suggested this course of action, and I don't see why the tables didn't get recreated. What have I done wrong? ANd, other than restoring a backup, what else should one do in this situation?

Comments

Jaza’s picture

The tables will not get re-installed unless you remove the category module's entry (and entries for related modules) from the 'system' database table. This is not a bug with category, this is just how the module install system works in Drupal 4.7. Run this query in your database to fix up everything (and clear your cache after doing this):

DELETE FROM system WHERE name LIKE 'category%' (won't cover cac_lite, btw)

bdragon’s picture

Category: bug » support
Status: Active » Closed (fixed)

Devel.module has the capability to force uninstall and reinstall a module.