Forcibly Uninstall Module

Topics: Customizing Orchard, Troubleshooting
Oct 9, 2011 at 7:23 AM

Hi,

I have just started a new site with 1.3.9 and installed the Email Obfuscator from the Gallery. Unfortunately, this module doesn't compile inside Orchard and I get the following message:

'EmailObfuscator.HtmlFilters.EmailHtmlFilter' does not implement interface member 'Orchard.Services.IHtmlFilter.ProcessContent(string, string)'

I thought I would use the package uninstaller command in Orchard.exe to remove it, but it will also not load and gives the same error. How can I proceed? Is there a way to forcibly remove the module? I'm stuck. I can't edit the site nor can I view it.

Thanks

Graham Cottle

Coordinator
Oct 9, 2011 at 7:35 AM

Just delete the module's directory.

Oct 9, 2011 at 7:37 AM

Done and working.

Many thanks for the very quick response. Much appreciated

Oct 21, 2011 at 11:36 PM

Just deleting the directory has two issues:

1- The database objects will remain in the database.

2- Depended modules will fail!

 

It's strange that Orchard does not support such a basic feature. I tried Package Uninstall command but seems that it does not do anything.

Coordinator
Oct 21, 2011 at 11:40 PM
Edited Oct 21, 2011 at 11:41 PM

Priorities... Things get implemented as people who need them hard enough take the plunge and do them ;) This feature has a work item that is active for 1.4: http://orchard.codeplex.com/workitem/17815

1. yes, and there is a work item in the issue tracker for a cleanup option: http://orchard.codeplex.com/workitem/17317 The remaining data should not be a problem in the vast majority of cases though.

2. Well, of course. You need to disable those as well.