Hello,

spent some time debugging the code to determine why the chat source wouldn't load.

1) setup module and phpfreechat software (check)
2) Follow instruction and configure module (check)
3) Create content type "chatroom" and associate chat (check)
4) Create customer service chat node (check)
5) begin chatting.. (woah, umm no)

Huge set of exception errors because the phpfreechat class couldn't find the public and private directory paths. The params kept return "false".

phpfreechat.module

/**
 * Returns an array of all (non-node & non-user specific) parameters
 */
function phpfreechat_load_params() {
  global $base_url;
  $params = array();

  // Configure file paths
  $params['data_private_path'] = file_check_location(PHPFREECHAT_PRIVATE_DIR);
  $params['data_public_url'] = $base_url .'/'. PHPFREECHAT_PUBLIC_DIR;
  $params['data_public_path'] = file_check_location(PHPFREECHAT_PUBLIC_DIR);

Changed it to:

/**
 * Returns an array of all (non-node & non-user specific) parameters
 */
function phpfreechat_load_params() {
  global $base_url;
  $params = array();

  // Configure file paths
  $params['data_private_path'] = realpath(PHPFREECHAT_PRIVATE_DIR);
  $params['data_public_url'] = $base_url .'/'. PHPFREECHAT_PUBLIC_DIR;
  $params['data_public_path'] = realpath(PHPFREECHAT_PUBLIC_DIR);

Works like a charm!