Depending on your ArrowChat admin settings, this may mean several things. If guests are allowed to chat, the full bar will be displayed. If the option to show a message was chosen, then guests will see a message to login. If neither of those is true, ArrowChat will not be displayed.
<b>How to fix this</b>
You can fix the User ID if there is a problem in the /arrowchat/includes/integration.php file. The get_user_id() function must return the logged in user\'s ID.">More Information →';
$test_userid_img = "unchecked";
}
// Check if the buddy list is functioning
if ($disable_buddy_list == 1)
{
if (!logged_in($userid))
$userid = 0;
$sql = get_online_list($userid, time());
}
else
{
if (!logged_in($userid))
$userid = 0;
$sql = get_friend_list($userid, time());
}
$result = $db->execute($sql);
if ($result)
{
$test_buddylist = "";
$test_buddylist_img = "checked";
}
else
{
$test_buddylist = 'The buddy list has an error in the MySQL. Here is the error that MySQL is returning:' . $db->display_errors() . 'More Information →';
$test_buddylist_img = "unchecked";
}
// Check if the user's ID or IP address is banned
if (!in_array($_SERVER['REMOTE_ADDR'], $banlist) OR !in_array($userid, $banlist))
{
$test_banned = "";
$test_banned_img = "checked";
}
else
{
$test_banned = 'Your user ID or IP address is currently banned. You can change this in the ArrowChat admin panel.';
$test_banned_img = "unchecked";
}
// Check if browser is IE6
if (isset($_SERVER['HTTP_USER_AGENT']) AND preg_match('/(?i)msie [1-8]\./', $_SERVER['HTTP_USER_AGENT']))
{
$test_browser = 'You are currently using IE version 5 or 6. ArrowChat does not work with this browser.';
$test_browser_img = "unchecked";
}
else
{
$test_browser = "";
$test_browser_img = "checked";
}
// Check if functions_receive.php exists
if (file_exists(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . AC_FOLDER_INCLUDES . DIRECTORY_SEPARATOR . 'integration.php')) {
$integration_test = "";
$integration_img = "checked";
} else {
$integration_test = "The integration file was no found. Please go to your includes/functions/integrations/ folder and rename/move the appropriate functions file to includes/integration.php";
$integration_img = "unchecked";
}
// Check for database connection
if ($db->con)
{
$database_test = "";
$database_img = "checked";
}
else
{
$database_test = "ArrowChat can't connect to your database. Please update the database information in the includes/config.php file. If this is a new database, you will need to reinstall.";
$database_img = "unchecked";
}
// Check if cache file exists
if (file_exists(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . AC_FOLDER_CACHE . DIRECTORY_SEPARATOR . 'data_admin_options.php')) {
$cache_test = "";
$cache_img = "checked";
} else {
$cache_test = "The cache file was not found. You will need to reinstall ArrowChat by running the install folder.";
$cache_img = "unchecked";
}
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'layout/header.php');
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'layout/debug.php');
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'layout/footer.php');
?>