I think this issue is similar to this one: http://drupal.org/node/327708
Attached to this issue there is two patch:
- the first one fixes the problem in the chatroom_archive_old_msgs() function
- the second one fixes the .install file (chatroom_archive_old_msgs table missing)
Regards.
| Comment | File | Size | Author |
|---|---|---|---|
| chatroom.install.patch | 2.32 KB | antoniopironti | |
| chatroom.module.patch | 1.36 KB | antoniopironti |
Comments
Comment #1
Anonymous (not verified) commentedthanks for the patches, i'd already made a fix in the branch but not rolled a release tag.
i've done that now, so please test this against beta8.
Comment #2
Anonymous (not verified) commentedComment #3
jamesialford commentedHas these patches been applies to the latest module?
Can someone tell me how to apply these patches?
james
Comment #4
antoniopironti commentedYou have just to upgrade your module to the beta8 release.
Comment #5
jamesialford commentedI have uninstalled the module, deleted the folder, downloaded Bata 8, added to sites/all/module, enabled the chatroom module, set the permissions, update.php.
After some research I found out that evertime I have "Automatically archive old messages" checked it will give me this "Fatal error: Call to undefined function chatroom_chat_get_latest_msgs() in /mysite/sites/all/modules/chatroom/chatroom.module on line 615
Do you know why it would give me this?
All I want is the old chat to go away and not stay there forever. Do you how to complete this?
Thanks for your help
James
Comment #6
antoniopironti commentedThat function does not exist anymore. The patches attached here fix that error.
I think that the status of this issue must be changed to needs review.
Comment #7
Anonymous (not verified) commentedi've committed a variation of the patches that gets rid of the old crufty message archive code.
please reopen if this bug still exists in 6.x-1.0-beta9.
Comment #8
Anonymous (not verified) commented