Hello

I am new to druple
I have been trying to install phpFreeChat module on my local machine using Apachi2Triad
I downloaded and installed 1.) phpfreechat-5.x-1.x-dev 2.) phpfreechat-1.0-beta10 one inside the other as stated in the install script.

First Error
I got the theme error - Error: undefined or obsolete parameter 'theme_url', please correct or remove this parameter
I seached for help and found a suggestion from a forum poster who suggested commenting out the line from the file.

So I simply commented out the line:

$params['theme_url'] = base_path() . drupal_get_path('module', 'phpfreechat') . '/phpfreechat/themes'; in the file phpfreechat.module

This removed that error message.
I can see the message 'Chat loading ... Please wait with the spinning image. Before the chat window loads I get the following error message.

Error: the XML responce that as returned from the server is invalid.
Received:

Please correct these errors:

  • 'serverid' paramerter is mandatory by default use 'md5(_FILE_)'value

So once again I went into the phpfreechat.module file I fund the following line
$params['serverid'] = md5($base_url); // Calculate a unique id for this chat

I am not sure what I need to do to resolve this error.

Any hints clues ideas suggestions are most welcome.

-------
OS = XP
Browser = FireFox and IE
phpfreechat-5.x-1.x-dev
phpfreechat-1.0-beta10

Output of 'Debug Parameters', which was enabled in the phpfreechat settings page.
Body

Parameters: Array
(
[data_private_path] => C:\apache2triad\htdocs\DrupleFreeChat\files\phpfreechat
[data_public_path] => C:\apache2triad\htdocs\DrupleFreeChat\sites\all\modules\phpfreechat\phpfreechat\data\public
[data_public_url] => /DrupleFreeChat/sites/all/modules/phpfreechat/phpfreechat/data/public
[serverid] => 35a6f578f300223fc9a5722d0f55a30e
[server_script_path] => C:\apache2triad\htdocs\DrupleFreeChat\sites\all\modules\phpfreechat\handler.php
[server_script_url] => /DrupleFreeChat/sites/all/modules/phpfreechat/handler.php
[title] => Title
[channels] => Array
(
[0] => Title
)

[connect_at_startup] => 1
[theme] => /themes/
[debug] => 1
[debugxajax] => 1
[nick] => freechat
[isadmin] => 1
)
Session: Array
(
[form] => Array
(
[9ec49c3a0fa70894499a1bca08a44e49] => Array
(
[timestamp] => 1179609791
[args] => Array
(
[0] => system_modules
)

)

[d3e5034f4677e87b2c5fa085748660af] => Array
(
[timestamp] => 1179609810
[args] => Array
(
[0] => system_modules
)

)

[87f7104ccddc7534a42d8767d2c40c3b] => Array
(
[timestamp] => 1179609865
[args] => Array
(
[0] => system_modules
)

)

[35090f67a45039207aa5afa749ac9a0e] => Array
(
[timestamp] => 1179610101
[args] => Array
(
[0] => system_modules
)

)

[4735cd57ac26a1c3056d50c26ff54a64] => Array
(
[timestamp] => 1179610634
[args] => Array
(
[0] => system_modules
)

)

[28469baec1880f3b86e40d3c0270e192] => Array
(
[timestamp] => 1179610682
[args] => Array
(
[0] => system_modules
)

)

[6644318cac09344fb8ac3b4da0fcd923] => Array
(
[timestamp] => 1179610800
[args] => Array
(
[0] => system_modules
)

)

[4d5563d0955a050170640149cdc81b96] => Array
(
[timestamp] => 1179610820
[args] => Array
(
[0] => system_modules
)

)

[d2ce5f460a5c3621e21a9ed876eb3b09] => Array
(
[timestamp] => 1179611153
[args] => Array
(
[0] => system_modules
)

)

[e6017c0f9e6b6287d1319967c50eea62] => Array
(
[timestamp] => 1179611166
[args] => Array
(
[0] => system_modules
)

)

[7f4d4a141a9a0b514f8c5bb85350c380] => Array
(
[timestamp] => 1179615337
[args] => Array
(
[0] => system_modules
)

)

[558f5549017798bde981a10c9766bb73] => Array
(
[timestamp] => 1179615360
[args] => Array
(
[0] => system_modules
)

)

)

[update_remaining] => Array
(
)

[update_total] => 2
[pfcuserconfig_35a6f578f300223fc9a5722d0f55a30e_nick] =>
[pfcuserconfig_35a6f578f300223fc9a5722d0f55a30e_active] =>
[pfcuserconfig_35a6f578f300223fc9a5722d0f55a30e_channels] => Array
(
)

[pfcuserconfig_35a6f578f300223fc9a5722d0f55a30e_privmsg] => Array
(
)

)
Cookies: Array
(
[dbx-postmeta] => grabit:0 |1 |2 |3 |4 |5 &advancedstuff:0-|1-|2-
[dbx-pagemeta] => grabit:0-|1-|2-|3-|4-|5-|6-|7-&advancedstuff:0-
[dbx-currentlyReading] => advancedstuff:0 &grabit:0-|1 |2 |3-|4-|5-|6-|7-
[PHPSESSID] => 65cc44a9a961db954cd287d5d9740ddc
)

Thankyou for reading my post

Jav.

Comments

Javid_UK’s picture

This post helped me get pass this problem
http://drupal.org/node/125227

phpFreeChat loads but does not show the icons smiles etc and any chat text does not show in the window. All in all its one step forward and 2 steps back lol.

Actually I am not even sure its one step forward as this hack required a change in the phpFreeChat code and not just the druple wrapper module.

Anyway I am going to go and try some other modules and come back to this with a fresh head when I get time for it. Thanks to all who have worked on it.

Jav.

owen barton’s picture

Hi,

This module only works with beta 9 of the script. It is not likely to be updated to beta 10 (unless someone volunteers a patch!). I do plan on updating it when the final version 1.0 of the script is released, but it is too time consuming to keep up with (and support) each beta release!

Thanks!
- Owen

owahab’s picture

Status: Active » Fixed

Please use the latest version of the module.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.