i don't understand, everytime i have an alert box witch tell me the same thing:
"error:the xml response that was returned from the server is invalid."
i tryed with ie7 and firefox; same problème.
i really don't understand where is the problème.
I give you my code:
- Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '../Forum/'; // adjust this path to your forum installation root
$chat_root_phpbbrealtive_path = '../phpfreechat/'; // Chat url relative to phpBB root ;)
include( $phpbb_root_path . 'extension.inc' );
include( $phpbb_root_path . 'common.' . $phpEx );
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
// redirect to phpBB logon page if the user is not logged in
if ( !$userdata['session_logged_in'] )
redirect(append_sid($phpbb_root_path . "login.$phpEx?redirect=" . $chat_root_phpbbrealtive_path . "chat.$phpEx", true));
require_once "src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__);
$params["title"] = "Bienvenue sur le chat de Agde à nu";
$params["channels"] = array("Général","Soirées","Rencontres");
$params["language"] = "fr_FR";
$params["height"] = "500px";
$params["width"] = "600px";
$params["output_encoding"] = "ISO-8859-1";
$params["nick"] = $userdata[username];
$chat = new phpFreeChat($params);
?>
And my chat adress:
Agde à nu
if someone could help me i gonna be fucking happy !
Thanks