<?php
require_once dirname(__FILE__)."/phpchat/src/phpfreechat.class.php";
$params = array();
$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
$params['firstisadmin'] = true;
//$params["isadmin"] = true; // makes everybody admin: do not use it on production servers

$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = false;
$params["focus_on_connect"] = false;
$params["title"] = "Chat about the show";
$params["startwithsound"] = false;
$params["display_ping"] = false;
$params["showsmileys"] = false;
$params["displaytabimage"] = false;
$params["channels"] = array("AnyChannelName");
$chat = new phpFreeChat( $params );
?>
This is the error I get:
Error: 'chat.js.tpl.php' could not be found, please check your themepath '' and your theme 'default' are correct
I havent changed the theme from the default, or modified any other files. Removing the params[channels] line enables the chat panel to work correctly. It has been rehashed ok, but still fails. Any help appreciated!