My problem is that I can't add new admin. I added parameters to index.php and ran /rehash, but it does not works. I get identification failue.
My chat version is 1.0-beta10
Here comes my index.php, maybe something wrong with it.
- Code: Select all
<?php
require_once "src/phpfreechat.class.php"; // adjust to your own path
$params["serverid"] = md5(__FILE__); // used to identify the chat
$chat = new phpFreeChat($params);
$params['admins'] = array('SilentMan' => 'xxxx',
'boby' => 'boby1');
$params['channels'] = array('DPK Chat','Offtop');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>DPK Chat</title>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
</head>
<body>
<?php $chat->printChat(); ?>
</body>
</html>
Adding new channels also not works. I tried deleting hash, it didnt worked.
Help please
