Hello!
I post this issue because I think there is a bug or something I cannot understand.
When I click on the link: "Clear chat log for ---" the browser redirect me to front page. Also if I return to the chat nothing was deleted.
The link calls the menu hook: "phpfreechat/nuke/".arg(2) , but it is not clear what is meant to do. The link is formed with the chat name parameter, but the callback function that receives the call: phpfreechat_nuke expects a rid (Room id).
Also the last function that actually perform the cache clear, performs several file delete over files that actually doesn't exists: messages.data or messages.index and commits a redirect (drupal_go_to('')) to the front page.
I think that the functionality of that link is to clear the chat screen of the current chat, which is really very useful.
I see some of inconsistence on the code so I was afraid to touch it... I will be very glad to help solving this as far as I can, but I need some help.
Thanks for all
Roberto (Hope you understand my English).
Comments
Comment #1
owahab commentedRoberto,
Now worries man, nothing wrong with your English :)
I totally confirm all you mentioned, yet (if you realized) the module doesn't work out of the box for many people and this is higher priority.
The fix for this bug will be shipped with the next RC.
Comment #2
owahab commentedRoberto,
Now worries man, nothing wrong with your English :)
I totally confirm all you mentioned, yet (if you realized) the module doesn't work out of the box for many people and this is higher priority.
The fix for this bug will be shipped with the next RC.
Comment #3
permutations commentedI've noticed that while "clear log data" doesn't actually clear the log data, it does successfully jolt the chat our of "chat loading, please wait" (which is useful - but doesn't match the label). I need to take a look at what it's doing.
Note that there is a new version of the phpFreeChat module (1.2) that fixes many bugs. I didn't touch the "clear log data" code, though.
Comment #4
permutations commentedAnother thread about this with additional info:
http://drupal.org/node/121744
Comment #5
Leeteq commentedSubscribing.
Comment #6
phKU commentedsubscribe
Comment #7
juroon commentedSame problem here.
Comment #8
2006drupal commentedsubscribe
I meet the same problem with phpfreechat6.1 - Clear log data doesn work as espected
Comment #9
jewseppi commentedI posted a solution, scroll to the bottom
http://drupal.org/node/568014