Hi everyone, I just want to bring to everyone's attention the possible issue of a significant bug in regards to channels for 1.3
It seems that unfortunately, the channel params simply don't work the way they did for 1.2. I have been a longtime PFC user, and I recently upgraded-- only to find that channels no longer function normally.
$params = array();
$params['firstisadmin'] = true;
$params["serverid"] = md5($subdomain); // calculate a unique id for this chat
$params["debug"] = false;
$params['skip_proxies'] = array('censor');
$params["data_private_path"] = "/dev/shm/mychat";
$params['frozen_nick'] = true;
$params['channel'] = array($subdomain);
$chat = new phpFreeChat( $params );
Here is the output error message I'm getting:
phpFreeChat cannot be initialized, please correct these errors:
Error: undefined or obsolete parameter 'channel', please correct or remove this parameter
Even when I change "subdomain" to a hard-coded string, like "room1," the error remains. I just wanted to bring this to everyone's attention.