I've installed arrowchat on a Joomla 1.7/Jomsocial 2.4 base and the chat bar isn't showing any users. In the debug file I get,
User ID: 62
You are being registered as logged in. If you are not logged in, please check the functions_receive.php file to make sure the getUserID function is correct.
There was an error with your getFriendsList function. Please check your includes/functions_receive.php file and fix your getFriendsList function so that it is receiveing your online friends correctly. mySQL Error:
User ID is not banned.
You are using an ArrowChat compatible browser.
You have a functions_receive.php file.
My config file is set as such:
- Code: Select all
<?php
define('_JEXEC',1);
define('DS',DIRECTORY_SEPARATOR);
define('JPATH_BASE',dirname(dirname(__FILE__)));
require_once dirname(dirname(__FILE__)).'/includes/defines.php';
require_once dirname(dirname(__FILE__)).'/includes/framework.php';
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
define('DB_SERVER','localhost');
define('DB_PORT','3306');
define('DB_NAME','yfsd_joomla');
define('TABLE_PREFIX','j17_');
define('DB_USERTABLE','users');
define('DB_USERTABLE_NAME','name');
define('DB_USERTABLE_USERID','id');
define('DB_USERTABLE_AVATAR','id');
define('DB_FRIENDSTABLE','community_connection');
define('DB_FRIENDSTABLE_USERID', 'connect_from');
define('DB_FRIENDSTABLE_FRIENDID', 'connect_to');
define('DB_FRIENDSTABLE_FRIENDS', 'status');
include_once dirname(__FILE__).'/version.php';
$dbh = mysql_connect(DB_SERVER.':'.DB_PORT,DB_USERNAME,DB_PASSWORD);
if (!$dbh) {
echo "<h3>Unable to connect to database. Please check details in configuration file.</h3>";
exit();
}
mysql_selectdb(DB_NAME,$dbh);
mysql_query("SET NAMES utf8");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_general_ci'");
?>
I omitted the username and password, but rest assured they are correct.
Any ideas on how to fix this?
Seth Schumacher
Dionysius Technologies LLC.