Fatal error: Call to undefined function chatroom_chat_get_latest_msgs() in chatroom.module on line 615

sbatman - October 17, 2009 - 20:24
Project:Chat Room
Version:6.x-1.0-beta9
Component:Code
Category:bug report
Priority:critical
Assigned:sbatman
Status:closed
Description

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.

AttachmentSize
chatroom.module.patch1.36 KB
chatroom.install.patch2.32 KB

#1

justinrandell - October 20, 2009 - 10:53
Status:patch (to be ported)» postponed (maintainer needs more info)

thanks 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.

#2

justinrandell - October 20, 2009 - 10:55
Status:postponed (maintainer needs more info)» fixed

#3

jamesialford - October 20, 2009 - 19:53

Has these patches been applies to the latest module?

Can someone tell me how to apply these patches?

james

#4

sbatman - October 21, 2009 - 13:36

You have just to upgrade your module to the beta8 release.

#5

jamesialford - October 21, 2009 - 17:08

I 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

#6

sbatman - October 27, 2009 - 13:39
Status:fixed» needs review

That 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.

#7

justinrandell - October 27, 2009 - 17:18
Version:6.x-1.0-beta7» 6.x-1.0-beta9
Status:needs review» postponed (maintainer needs more info)

i'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.

#8

justinrandell - October 27, 2009 - 17:18
Status:postponed (maintainer needs more info)» fixed

#9

System Message - November 10, 2009 - 17:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.