I can't seem to get that chat room working so I tried to uninstall my semi-old version of it. It wouldn't uninstall properly so I deleted the folder from sites/modules/. Then I uploaded the newer alpha version and I still had problems getting it to work. I tried to uninstall it but when I hit the uninstall button this error message came up:

Fatal error: Call to undefined function chatroom_perms() in /home/divineea/public_html/divineearth/sites/all/modules/chatroom/chatroom.install on line 348

What can I do to get rid of it all and start over??

It shows that certain attributes were deleted, but the folder is still there in the directory.

* Test chat 1 has been deleted.
* The Divine Chat Room has been deleted.
* new chat part of test chat 1 has been deleted.
* chat now has been deleted.
* Test chat 2 has been deleted.
* Chat room nodes have been deleted from the database.
* Chat room tables have been dropped from the database.
* Chat room settings have been deleted.

Thank you in advance!

Comments

vm’s picture

when you say the old version wouldn't uninstall properly, what exactly does that mean? Did you get an error message?

after you uploaded the newer version did you run update.php?

johlin’s picture

"when you say the old version wouldn't uninstall properly, what exactly does that mean?"

> I mean, after I uninstalled it, the folder was still in the directory and it was still listed in sites/modules/ - so instead of deleting it I then overwrote the "chatroom" folder in the directory with the newer version. I believe I did try updating, but it says nothing to update.

What do you suggest?

thank you.

vm’s picture

first a module must be disabled in administer -> modules
second the uninstall tab must be used in administer -> modules

Drupal does not remove the uploaded module folder and its included files. Drupal removes the information (if any) from the database when the uninstall routine is run using the uninstall tab in administer -> modules.

Believing that you ran update.php and knowing that you ran update.php are two different animals.

I'd upload the old version again, enable it which reinstalls it and ensure to follow the first 2 steps in this comment.

Also of note: when adding or deleting modules, ensure to always do a backup of the database first.

johlin’s picture

I uploaded an the beta version overtop the alpha version. I disabled it then went to the uninstall button within the administer / modules. It showed that it uninstalled without the previous error message, but chatroom is still listed in my list of modules even tho it said the databases, etc, were deleted. How can I get rid of it?

johlin’s picture

I installed boWob instead...works great - similar to the chat feature in Facebook. Thank you very much for your help, VeryMisunderstood!

vm’s picture

Modules will show in your list until they are deleted from the server. Again, Drupal does not automagically delete files or folders off of the server durinng modules uninstallation, you have to manually remove them.