Active
Project:
Leech
Version:
5.x-1.6
Component:
General
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Mar 2007 at 02:01 UTC
Updated:
30 Apr 2007 at 18:37 UTC
When installing a fresh install of Leech on a system recently updated to Drupal 5, none of the leech or node template tables are created.
I've repeatedly disabled the leech and node template modules, deleted the folder, and then reinstalled, but NOTHING will create the required tables.
Perhaps this hasn't been discovered yet because most people were updating from previous versions of Leech???
Comments
Comment #1
aron novakYou don't mentioned dropping the database :)
If you want to "emulate" a new install, please do the following at the SQL prompt:
delete from system where filename="modules/leech/leech.module";Comment #2
zoon_unit commentedThis of course, assumes that the leech module still resides in the modules directory, instead of sites/all/modules. I'm starting to wonder if this is the problem with both leech and voting api. I moved the modules from the standard 4.7 location to the sites/all/modules location, but it appears that the system table does not update the record.
I'm appalled to discover that the system table never "cleans itself out" or updates after modules have been removed (or in my case, moved) I'm finding remnants of old modules all over the place.
Comment #3
zoon_unit commentedUPDATE: Dropping the tables and the system table record fixed the problem. I'm able to continue, but I strongly suggest you add the update and uninstall functions to your leech.install in a future version.
Thanks for the workaround tip, though! I really depend on your module. :-)
Comment #4
aron novakThanks for the response.
I transform this entry into a feature request: I have to write correct update and uninstall functions into the .install file.
Comment #5
aron novakThe first step is done: all of the leech modules (leech, leech_yahoo_terms and node_template) are expanded with a hook_uninstall. The user can make a cleanup after experimenting with leech.
Comment #6
aron novakCan someone (who have to upgrade to leech 1.6 from previous 1.5 version) make a proper update functionality patch?
It would be great if the leech users don't have to modify the SQL tables by hand.