• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

error:the xml response that was returned from the server is

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
8 posts • Page 1 of 1

Postby snatch1974 » Fri Apr 06, 2007 4:58 am

hi,

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
snatch1974
New member
 
Posts: 4
Joined: Thu Apr 05, 2007 9:10 pm
Top

Postby phpfreechat » Fri Apr 06, 2007 8:45 am

I cannot test because I don't have an account on your forum.
However, when I try the demo : http://agdeanu.free.fr/phpfreechat/demo/
I don't have any errors.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby snatch1974 » Fri Apr 06, 2007 9:45 am

for test, you can connect with

login: test
pass: test
snatch1974
New member
 
Posts: 4
Joined: Thu Apr 05, 2007 9:10 pm
Top

Postby phpfreechat » Fri Apr 06, 2007 10:22 am

Could you try to add this parameter :
$params['server_script_url'] = './chat.php';
Then rehash your chat.

Maybe it will fix something but I'm not sure...
In fact the calculated 'server_script_url is : ./chat.php?&sid=fa084db724431a658b7765654f2595f9
The "?&sid=" syntaxe could be the problem ...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby pinup57 » Fri Apr 06, 2007 11:30 am

I went to your site and it seems to work normally....that was at 11h20, before Stéphane posted the above code. (nick was test2) The only trouble I found that all the (very nice, btw) flash animation maxes out my CPU (a PIII450), so the site is very very slow to load (each page, not only the chat.....

Dirk
pinup57
Member
 
Posts: 89
Joined: Sat Feb 24, 2007 8:13 am
Top

Postby snatch1974 » Fri Apr 06, 2007 2:20 pm

thanks stéphane,
i tryed to add the parameter and i rehash under firefox but, when test with ie7 , it still doesn't work!

the problèm is not fix.

maybe it's better to not use with phpbb usernames....
Last edited by snatch1974 on Fri Apr 06, 2007 2:22 pm, edited 1 time in total.
snatch1974
New member
 
Posts: 4
Joined: Thu Apr 05, 2007 9:10 pm
Top

Postby snatch1974 » Thu Apr 19, 2007 9:15 pm

Is there anybody could succès to fix this problèm, because me i still didn't succés!!!
snatch1974
New member
 
Posts: 4
Joined: Thu Apr 05, 2007 9:10 pm
Top

Postby montja » Sun May 06, 2007 10:50 am

I often gey the same box, which seems to be en alert message box. but it doesn't seem to be of any incidence for chatting. Maybe a option for disabling this would help, as long as this isn't fixed
montja
New member
 
Posts: 2
Joined: Fri May 04, 2007 1:20 pm
Top


Post a reply
8 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub