Page 1 of 1

Unable uninstalling module with wrong version

Posted: Tue Jan 21, 2014 2:58 pm
by pmmartin
Hello,

I have a problem with a module I've tried to install.

I choose the wrong version, so when I install it, I have a message saying "Required version CMSMS 1.8" (my version is 1.7) and no button to uninstall.

I tried to install an older version of the module overridding the first but cmsms prevents me to do it with a message "older version".

I can not change the version of cmsms for the moment.

Is there another way to uninstall the module ?

Thanks by advance for your help.

PM

Re: Unable uninstalling module with wrong version

Posted: Tue Jan 21, 2014 3:16 pm
by JohnnyB
Remove the module from /modules/TheModuleHere

If it actually did install, it will leave database tables but this way you can get it off of the server.

Then, you can check your database (most servers come with PHPMyAdmin) to see if it was entered. Look in the cms_modules table. From there you can remove the entry or edit the version number to something small like, .1

Then you will be able to install an older version of the module.

Warnings:
1) backup your database first!
2) an older version of the module may have a different database structure, for example, more or less tables and fields. So, there could be a conflict. But this is what I would do if it were my site...

Re: Unable uninstalling module with wrong version

Posted: Wed Jan 22, 2014 8:27 am
by pmmartin
OK thank you very much for your help.
I'll try it as soon I can access to the server.
Bests regards,
PM