PHP Version: 4. something, details here: http://hubs.konata.ca/phpinfo.php
Shared or Dedicated Hosting: Shared
Link to your website: http://hubs.konata.ca/
Are you able to reproduce the issue on the official demo (http://www.phpfreechat.net/demo)? No
Have you set any parameters?
If so, please include your entire code, using the [code ] and[/code ] tags (without the space).
Here it is, though I _highly_ doubt it has an impact on the bug.
- Code: Select all
$params = array();
$params["title"] = "Game Hubs";
if (isset($_COOKIE["nick"])) $params["nick"] = $_COOKIE["nick"];
if (isset($_COOKIE["fc"])) $params["nickmeta"] = array('fc'=>$_COOKIE["fc"],'id'=>$_COOKIE["id"],'avatar'=>$_COOKIE["avatar"]);
if (isset($_GET["fc"])) $params["nickmeta"] = array('fc'=>$_GET['fc']);
$params['firstisadmin'] = false;
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
if (!isset($_GET["channels"]))
{
$params["channels"] = array('Main');
}
else
{
$params["channels"] = array('Main',$_GET['channels']);
}
$params["debug"] = false;
$params["nickmarker"] = false;
$chat = new phpFreeChat( $params );
What is the issue you are experiencing in detail?
I've been modifying my install of PHPFreeChat for a few months now, with about 3 people helping me test. Today I spread the link and had roughly 7 people join in the span of 10 minutes (these are estimates). However, we only had about 3 nicks join, and 2 turned out to be controlled by two people at once. (I know the math doesn't add up, my estimations are off, and there were 3 people in there already, plus people leaving)
So person_a would join, then change names to person_b. Person_b was taking commands form person_a and person_b at once. Person_c joined and changed to person_d. Person_c was taking commands from person_c and person_d at the same time. It was all very confusing.
My best guess is that this was caused by the people joining the room at roughly the same time, and being assigned the same session variable. How can I troubleshoot and fix this?
Are you seeing any error messages, such as javascript errors? No