Pergunta

I installed Drupal Chat just to try it out. I couldn't get it to work and now I can't disable the module.

In /admin/modules, the check box is selected but not enabled. i.e. it is active and I can't deactivate it.

Can anyone help me?

(and, once disabled, how can I un-instal it?)


Update: I forgot to mention that there are no dependencies on the module.

Foi útil?

Solução

usually if conventional uninstall wouldn't work i'd try clearing the module's entry from system table removing tables from the module installation (after backing up the data) clear the cache and reinstall.. hope it works for you ...cheers!!

Outras dicas

Other modules might be dependent on it. For example, if you also enabled Drupal Chat Notifications, you would need to disable that first.

I agree with adam; however, if you are using Drush on your server, typing in "drush dis drupalchat" will return a notification of the dependencies, and will allow you to disable them. Make sure to delete the module folder and update your database.

If dependencies are not an issue then may be the module may have been corrupt . Try reinstalling and then uninstalling the module..

This answer is more general than DrupalChat module. Some modules install content types and field types. My solution is for Drupal 7.x. It's likely similar on other versions. To disable:

BE SURE to back up the data base before doing these steps.

1) go to .../admin/structure/types. Look for the content type associated with the module. If it's not there, this is not the solution.

2) if there is such content click on manage fields. Remove any field that is also associated with the module. You have to agree to the "this cannot be undone warning".

3) back to admin/structure/types and remove the content type. Again agree to "this cannot be undone warning".

4) go to ../admin/modules and disable the module.

This should work. You may have to work through additional required by modules and any content and fields that those modules added. (Lather, rinse, repeat.)

Licenciado em: CC-BY-SA com atribuição
Não afiliado a drupal.stackexchange
scroll top