Page 1 of 1

ctlmodule duplicate instances in sys info.

Posted: Wed Nov 04, 2009 10:33 pm
by edented
When i look at my system information, i see that i have six instances of a module i made with CTLModule maker (which works great btw).  Under the modules screen where i can uninstall i only see one instance.
I was probably pretty sloppy and didn't uninstall the module before doing an upgrade from dna file.

My question: Is it safe for me to delete the last few instances in phpmyadmin, or will this actually affect the module?



Cms Version: 1.6.6

Installed Modules:

  **standard modules, then
    * ai_web: 1.14
    * Album: 0.9.3
    * CTLModuleMaker: 1.8.9.3
    * ai_web: 1.14 ?delete this?
    * ai_web: 1.14    "     "
    * ai_web: 1.14    "     "
    * ai_web: 1.14    "     "
    * ai_web: 1.14    "     "


Just trying to polish a few things here and there.

thanks

Re: ctlmodule duplicate instances in sys info.

Posted: Thu Nov 05, 2009 1:19 pm
by plger
This is most likely because you recreated your module several times and clicked the install link each time. I will correct the next release to avoid this.
I don't see why there would be any problem deleting the database rows.
Pierre-Luc

Re: ctlmodule duplicate instances in sys info.

Posted: Thu Nov 05, 2009 4:47 pm
by edented
Each time i re-create the module I rename its existing folder, appending it with its version number.  I didn't realize that the newly created version doesn't need to be re-installed.

Thanks for the reassurance that i can delete the extra entries.

And thanks again for the great module!

Re: ctlmodule duplicate instances in sys info.

Posted: Thu Nov 05, 2009 6:59 pm
by klenkes
The best way is to prefix the old module directory with underscores like __yourmodule1.1, just before module creation, and "don't" installing it.
After creation, go to Extensions/Modules -> Upgrade you module

This way they don't show up more than once.

Bernd