• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Occasional missing messages

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

Postby bjhanifin » Wed Jul 08, 2009 6:38 pm

Update 9:20pm: I may have resolved this issue. Read my response below.

Occasionally, messages will get lost. Sometimes they display a few seconds later, and sometimes all messages stop displaying. I have even had it where a message I send will appear out of order (i.e. the message appears as the most recent message after I have sent 2 newer message).

Sometimes it happens with as few as 2-3 users in the room so the room should be overwhelmed. I have tried, using the filesystem, using /dev/shm/cos_chat, and last night I switched to MySQL for the backend. A helpful user posted a bunch of test messages and found this problem persists even with the database container. :-(

What can I change to make this work better?

This is difficult to reproduce. But it has happened enough times to various users -- and even myself a few times -- that we need to address it.


PFC Version: 1.2
PHP Version: 5

Shared or Dedicated Hosting: Shared
Link to your website: http://features.coinopspace.com/test/?test=PFCsite+Tester *
* Code is identical, except for the authorization code, as the main chat requires
you to be a registered member of CoinOpSpace.com. That, and debug is enabled.


Are you able to reproduce the issue on the official demo (http://www.phpfreechat.net/demo)?
Not after 2 minutes of testing... but as I said it is hard to reproduce on my server.

Have you set any parameters? If so, please include your code.
Code: Select all
$params["title"] = "CoinOpSpace.com Chat";
$params["channels"] = array('Chat');
$params["skip_proxies"] = array('noflood','log');
$params["post_proxies"] = array('egglog');
$params['proxies_cfg']['censor']['words'] = array('badword1','badword2','etc.');
$params["theme"] = 'coinopspace';
$params["shownotice"] = 3;
$params['proxies_cfg']['egglog']['path'] = dirname(__FILE__).'/data/private/logs/';
$params["debug"] = true;

What is the issue you are experiencing in detail?
See description above.

Are you seeing any error messages, such as javascript errors?
No.
Last edited by bjhanifin on Thu Jul 09, 2009 5:23 am, edited 1 time in total.
bjhanifin
New member
 
Posts: 9
Joined: Wed Apr 29, 2009 2:57 pm
Location: San Diego, CA
  • Website
Top

Postby bjhanifin » Thu Jul 09, 2009 5:20 am

So, writting this issue report was very therapeutic. :-D It got me thinking about all of the customizations I made to the code. The one thing I added, that I didn't think would cause a problem... turned out to be the problem. :-)

Being an arcade collector site, I thought a Pac-Man chomping sound would be appropriate for the notification sound in the chat. I tried to convert the .wav file I found to .swf like the default sound... but it didn't work. So, I found a small flash based .mp3 player. I added some javascript, I a nice Pac-Man chomp occured every time a message was sent (and the chat was out of focus).

I started thinking perhaps I should start reverting the code back to as original as possible. Well, we had a chat tonight and the few users that were reporting problems before... are no longer having those problems.

So, I am crossing my fingers right now that the problem is solved. I really like PFC. Someday, when I am sure things are stable I will post how I integrated PhpFreeChat with our Ning.com social network. :-)
bjhanifin
New member
 
Posts: 9
Joined: Wed Apr 29, 2009 2:57 pm
Location: San Diego, CA
  • Website
Top


Post a reply
2 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 18 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub