I'm just curious how you can get drupal to reinstall a module manually.
I had some problems upgrading the organic groups module to the 5.0 version, it was hanging on the update.php,
so I decided to drop the tables manually, but now when i check or uncheck the module it just errors out saying that the tables do not exist.

I had no important information from the previous install of organic groups, so I just wanted to know where the information is stored that says this module has been previously installed thus don't create new mysql tables for it.
This would make it possible for me to fix this problem, because since there is no longer a .mysql file it would be a lot harder to manually create the tables.

Just thought I'd check in and find out what people recommend, I can manually delete a row entry if there is a table that tracks what module has been previously installed and if I find the answer out myself I'll just post it on here.

later,
robbt

Comments

cog.rusty’s picture

There is an entry in the system table (maybe deleting this is enough) and probably several variables in the variables table, usually harmless.

Oh, I almost forgot. If you didn't disable it properly from its own settings page before disabling it from /admin/modules, it may have left some entries in the node_access table. These may give you "page not found" errors or display nodes which shouldn't be displayed. These entries (if they exist) will have "og" or "og_something" in the realm field, so you can find them and delete them.