Fatal error: Call to undefined function chatroom_chat_get_from_id()
ozchris - November 1, 2008 - 08:43
| Project: | Chat Room |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | justinrandell |
| Status: | fixed |
Description
got this message when trying to delete a chat.

#1
Me too - checked source to see if it was a simple mis-spelling - seems like the function is just not there .. is there a file missing from the distribution maybe?
#2
I'm also getting this.
#3
I get the same error message when trying to access a chat which I created my self... (?)
#4
I get the same Message, when trying to delete a Chatroom.
#5
same. subscribing
#6
Decided to do something about it =)
Please test attached patch... NOTE that you need to reinstall the module in order for it to work completely (as there was also a missing DB table!)
#7
Please could you upload your patched version of this module I'd like to test it out and I don't understand the concept of patching and all the stuff I'm reading about it seems like greek to me
Thanks
#8
subscribing
#9
I patched it but after pressing the delete button, the chatroom is still there. After deleting the chat, i find myself on the front page and the chat is still available. can anybody help?
Thanks.
#10
The patch looks strange to me. Usually you have one patch a file. This patch contains a patch for 2 files: chatroom.install ans chatroom.module. With patch from Cygwin you have to enter: "patch [origfile] [patchfile].
So please guys make this chatroom work. Mainly its a good module. I intended to use it on a bigger site, but with this critical bug, this isn't possible.
#11
Would also be interested in seeing it fixed. Thank you.
#12
@janusman: the patch is wrong for two reasons:
chatroom_load_chat(chatroom.module, l.1025) replaced the olderchatroom_chat_get_by_id. Instead of recreating the old function, calls to the latter function need to be updated to use the new one.{chatroom_msg}and{chatroom_msg_archive}. 6.x-1.0-beta2 has a boolean 'archived' column in{chatroom_msg}(chatroom.install, l.159).A quick grep shows there are still three references to
chatroom_load_chat. Maybe you can create a new patch according to #1, and start a new issue for #2.@migas: it is perfectly normal to modify multiple files in a single patch.
#13
The issue regarding archiving is #327708: Archive feature is broken. This one should focus only on the calls to
chatroom_chat_get_from_id.#14
same here, subscribing
#15
This happens when trying to delete the chat room, for me.
Fatal error: Call to undefined function chatroom_chat_get_from_id() in /sites/all/modules/chatroom/chatroom.forms.inc on line 452
#16
Something new about this, cause I have the same problem!!
#17
Have anyone found a solution, or am anyone looking into this issue. I need this module, Please help us.
#18
Same thing is happening on our chat.
#19
subscribing
#20
subscribing
#21
subscribing
#22
same for me
#23
This module is unusable...
I surrender.
#24
Pardon my ignorance, how do I subscribe to this? I read a post about the subscribe link disappearing... I don't see one *anywhere*
#25
subscribe
#26
subscribe
#27
subscribe
#28
Is this module still being actively supported?
#29
:((((((
#30
i've committed some fixes that should get rid of the WSOD. still lots of broken code in the module in general, but could you try checking out the latest DRUPAL-6--1 version and seeing if it is fixed?
#31