• 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

The XML response from the server is invalid. - Drupal

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

Post a reply
5 posts • Page 1 of 1

Postby ryansdwilson » Sat Sep 30, 2006 12:41 am

Description

First of all, the environment

CENTOS / REDHAT + Apache 2.052 + PHP Version 4.3.9 + PHPFREECHAT (version 5) + phpfreechat module (latest with CSSTIDY patch)

Tried with all the different version of phpfreechat, seems to not be affected by the version.

When the chat loads, I get the following error message: The XML response that was returned from the server is invalid.

Received:



<b> Notice</b>: Undefined index: q in
<b> /var/www/html/modules/phpfreechat/handler.php</b> on line <b> 2</b><br/>
<br / >
<b> Warning </b>: session_start(): cannot send session chache limiter - headers already sent
(output started at /var/www/html/modules/phpfreechat/handler.php:2) In
<b> /var/www/html/modules/phpfreechat/phpfreechat/src/pfcuserconfig.class.php</b> on line <b> 25</b>

<?xml version="1.0" encoding="urf-8"?><xjx><cmd N="al"><![CDATA{**PHP Error Messages: **

[WARNING} Cannot modify header information - headers already sent by (output started at /var/www/html/modules/phpfreechat/handler.php:2)

error in line 507 of file
/var/www/html/modules/phpfreechat/phpfreechat/lib/xajax_0.2.3/xajax.inc.php}}></cmd><cmd n="js"><![CDATA[pfc.handleResponse('connect','ok',");]]>>...
I tried ovverridign the location of the data/public and data/private stores from /var/www/html/files/phpfreechat to /var/www/html/modules/phpfreechat/phpfreechat/data/ and the problem seems to appear no matter where I locate these files.

If I load http://www.mangomunity.com/modules/phpf ... emo1_si..., the demos run just fine! Double checked permissions to be 777 on data directories.

Debug Parameters:

Parameters: Array
(
[title] => Our IT Chat Room
[channels] => Array
(
[0] => IT Industry Xango Sellers
)

[data_private_path] => /var/www/html/modules/phpfreechat/phpfreechat/data/private
[data_public_path] => /var/www/html/modules/phpfreechat/phpfreechat/data/public
[data_public_url] => http://www.mangomunity.com/modules/phpf ... ata/public
[themeurl] => http://www.mangomunity.com/files/phpfre ... ic/themes/
[serverid] => 71b793e2d12acc27d067662e4af5729d
[connect_at_startup] => 1
[debug] => 1
[server_script_path] => modules/phpfreechat/handler.php
[server_script_url] => http://www.mangomunity.com/modules/phpf ... andler.php
[nick] => administrator
[isadmin] => 1
)

Session: Array
(
[og_last] => stdClass Object
(
[nid] => 25
[vid] => 25
[type] => og
[status] => 1
[created] => 1156737455
[changed] => 1159484530
[comment] => 0
[promote] => 0
[moderate] => 0
[sticky] => 0
[revision_timestamp] => 1159484530
[title] => IT Industry Xango Sellers
[body] => Here is the custom Welcome page

[teaser] => Here is the custom Welcome page

[log] =>
[format] => 2
[uid] => 1
[name] => administrator
[picture] =>
[data] => a:18:{s:5:"roles";a:1:{i:0;s:1:"2";}s:3:"aim";s:0:"";s:3:"icq";s:0:"";s:5:"gtalk";s:0:"";s:6:"jabber";s:24:"ryan@www.mangomunity.com";s:3:"msn";s:0:"";s:5:"yahoo";s:0:"";s:19:"onlinestatus_expose";i:1;s:10:"current_id";s:1:"5";s:12:"current_date";s:10:"1154659158";s:16:"privatemsg_allow";i:1;s:20:"privatemsg_mailalert";i:0;s:7:"display";s:1:"1";s:5:"block";a:2:{s:8:"referral";a:1:{i:0;i:1;}s:9:"buddylist";a:1:{i:1;i:1;}}s:8:"extras-1";i:1;s:8:"extras-2";i:1;s:14:"picture_delete";i:0;s:7:"contact";i:0;}
[og_selective] => 0
[og_description] => People who sell Xango who are in the IT Industry.
[og_theme] =>
[og_website] =>
[og_register] => 0
[og_directory] => 1
[og_notification] => 1
[og_language] =>
[last_comment_timestamp] => 1156737455
[last_comment_name] =>
[comment_count] => 0
[phpfreechat_enabled] => 0
[phpfreechat_title] => Our IT Chat Room
[phpfreechat_channels] =>
[taxonomy] => Array
(
)

[files] => Array
(
)

)

[pfcuserconfig_71b793e2d12acc27d067662e4af5729d_nick] => administrator
[pfcuserconfig_71b793e2d12acc27d067662e4af5729d_active] =>
[pfcuserconfig_71b793e2d12acc27d067662e4af5729d_channels] => Array
(
)

[pfcuserconfig_71b793e2d12acc27d067662e4af5729d_privmsg] => Array
(
)

[watchdog_overview_filter] => all
[messages] => Array
(
[status] => Array
(
[0] => phpFreeChat settings cache cleared
[1] => The configuration options have been saved.
)

Cookies: Array
(
[pfc_minmax_status] => false
[PHPSESSID] => 24769bf5fc6f11e25bc2b15964e64283
[phpfreechat] => 141ef7baea1ad462dc96f2559b03d207
[collapsiblock_block-event-0] => false
[collapsiblock_block-search-0] => false
[collapsiblock_block-buddylist-0] => false
[collapsiblock_block-user-1] => false
[collapsiblock_block-buddylist-1] => false
[collapsiblock_block-og-4] => false
[collapsiblock_block-og-3] => false
[collapsiblock_block-chatroom-2] => false
[testing] => 1
)

Anyone have any ideas on this one? I would very much appreciate your help, as its a bit over my head (the error message).
ryansdwilson
New member
 
Posts: 2
Joined: Fri Sep 29, 2006 9:54 pm
Top

Postby phpfreechat » Sat Sep 30, 2006 8:18 am

Are you able to run phpfreechat without drupal ?
it could be an idea to test that in order to know from where comes the problem.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby ryansdwilson » Mon Oct 02, 2006 1:20 am

Yes, the demos run fine. Its just when running inside drupal there is a problem. Thank you so much for your help in trying to figure this out.
ryansdwilson
New member
 
Posts: 2
Joined: Fri Sep 29, 2006 9:54 pm
Top

Postby jadranko » Sat Oct 07, 2006 5:20 pm

I have the same problem with Postnuke.

Error: the XML response that was returned from the server is invalid

Received: pfccontainer_memory::getmeta must be implemented

Any ideas? Thanks!
jadranko
New member
 
Posts: 4
Joined: Sat Oct 07, 2006 5:13 pm
Top

Postby mdx76 » Wed Oct 25, 2006 10:53 pm

Same problem here (1.0b6) with vbulletin, problem is most frequent with internet explorer than firefox
Last edited by mdx76 on Wed Oct 25, 2006 10:53 pm, edited 1 time in total.
mdx76
New member
 
Posts: 3
Joined: Sat Oct 14, 2006 4:32 am
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

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