If I try to remove the Image Gallery module by disabling it, then uninstalling it, my main taxonomy vocabulary is completely deleted. I looked in the database, and I find that the "Categories" vocabulary, which I created, shows 'image_gallery' listed in the 'modules' column, and this cannot be changed from within Drupal it seems. Even if I change the entry to be 'taxonomy' in the modules column, it is still deleted if I try to uninstall it.
In the Image Gallery settings, the entire vocabulary is listed as image galleries as well, before I even add any!
Comments
Comment #1
joachim commented> my main taxonomy vocabulary is completely deleted
Which one? What is 'main'?
Uninstalling IG deletes the connected vocab -- this is by design. Did you rename the vocab and use it for something else?
Comment #2
gregarios commentedThe vocabulary in the database (with vid=1) may have been created originally when Image was first loaded, before any other vocabularies, but then renamed and reused later for the main content vocabulary on the website. Could you please tell me what parameters, in which tables, need to change in the database to remove it from Image Gallery's control? It looks like I'll have to do it manually at this point.
I changed the "module" column entry in the "vocabulary" table to be "taxonomy" instead of "image_gallery" like it was, but that didn't keep it from being deleted when I tried to uninstall the module.
Basically, just a list of database tables and columns that need to be deleted/changed in the database for removal would help.
Comment #3
gregarios commentedComment #4
joachim commentedimage gallery stores a vid in a variable -- this is the vid for the vocab that gets deleted. You can find it in the install file.
delete this variable with devel module and you should be ok.
Comment #5
gregarios commentedOk... I think I found it. Thanks. Looking into the Devel module as well... hmmmm. :-)