• 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

Problem with timeout

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

Post a reply
4 posts • Page 1 of 1

Postby clac » Thu Nov 11, 2010 7:43 pm

So, here's the problem. I have read some topics here but havent solv the problem, I hope that someone would help me.

For start, i linked my chat for several friends (online 5-10 atm). Everyone is talking, but still there "nick quit (timeout)" flood almost all the time. This is from my index.php:


$params["timeout"] = 120000000;
$params['time_offset'] = 120*120*120;


How could I just turn that whole timeout system off? In my case, it's useless. Soz for bad english but I hope that you woul'd understand me.
Last edited by clac on Thu Nov 11, 2010 7:44 pm, edited 1 time in total.
clac
New member
 
Posts: 1
Joined: Thu Nov 11, 2010 7:36 pm
Top

Postby dudule » Wed Oct 05, 2011 1:20 pm

i have the same pb : when a person is quit because of timeout, i have (each minutes) the same text : "XXX quit (timeout)" and he still as connected in the list. What can i do ?
dudule
New member
 
Posts: 5
Joined: Wed Oct 05, 2011 10:23 am
Top

Postby DaNGuS » Tue Nov 22, 2011 11:19 am

gp to the "src" folder on your file meneger. Edit file pfcglobalconfig.class.php go to the :

183 * <p>This is the time of inactivity to wait before considering a user is disconnected (in milliseconds).
184 * A user is inactive only if s/he closed his/her chat window. A user with an open chat window
185 * is not inactive because s/he sends each <code>refresh_delay</code> an HTTP request.
186 * (Default value: 35000 it means 35000 ms or 35 seconds)</p>
187 */
var $timeout = 35000;

change var $timeout =60000;

its solved problem for me, i newer seen the message "xxx quit(timeout)" anymore if member didnt left chat.

Probably changing timeout parametres to too big number, system cant understand (samtimes there is limit in the seestem, and if you put to big number, it not recognise that number) to big parametres.

hop this helps
DaNGuS
Member
 
Posts: 20
Joined: Fri Nov 11, 2011 9:33 am
Top

Postby OldWolf » Thu Nov 24, 2011 12:56 am

Also note that using too large of a number means it will take much to long for a user leaving the chat to actually be signed out (if they don't sent a quit command... such as when they simply close the window).
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

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