that was quick

I have no error loggings The only server logs i have is giving me non-information about what time events are carried out (none) . (QNAP TS 210). I scanned the wholelog for today and yesterday but no interesting messages.
The whole data folder is '777' (and the subfolders and files as well)

and the current code is:
- Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'common.' . $phpEx);
$params = array();
require_once dirname(__FILE__) . "/src/phpfreechat.class.php";
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//get_username_string();
$oog = $user->data ['username'];
if ($oog == "Anonymous")
{
header("Location: http://" . $_SERVER['SERVER_NAME'] ."/Foruma/ucp.php?mode=login&redirect=/Foruma/chat/");
}
$params["debug"] = true;
$params["isadmin"] = false;
$params["title"] = "Quick chat";
$params["nick"] = $user->data['username_clean'];
$params["serverid"] = md5(__FILE__); // used to identify the chat
$chat = new phpFreeChat($params);
?>
<!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>phpFreeChat demo</title>
</head>
<body>
<?php $chat->printChat(); ?>
</body>
</html>