I got this error upon installing phpFreeChat.

I have followed the instruction to add script as well in module/phpfreechat/phpfreechat. I have the files under this folder as well.

And from content type section i have enable the chat for forum. Then moved to forum and i got following errors.

phpFreeChat script is not found.
Before you can use this module you must download the script from http://www.phpfreechat.net/ and extract in to the /modules/phpfreechat/phpfreechat directory on your web server.
See INSTALL.txt for more details

Comments

exo’s picture

Error Message:
"hpFreeChat script is not found.
Before you can use this module you must download the script from http://www.phpfreechat.net/ and extract in to the /modules/phpfreechat/phpfreechat directory on your web server.
See INSTALL.txt for more details."

Hi,
I have exact same issue. I've installed the exact version as you. I think I understand what the error message means. But what I am still NOT clear according to the error message is the word 'script'. What script? What is it referring to?

When I downloaded the phpfreechat from drupal site, it would extract all these files in to a folder called phpfreechat see below:
/phpfreechat/
generate-form.php
handler.php
INSTALL.txt
LICENSE.txt
phpfreechat.inc
phpfreechat.info
phpfreechat.install
phpfreechat.module
README.txt

Based on the error message, I went ahead and created a subfolder called phpfreechat. So I now have .../phpfreechat/phpfreechat
the first /phpfreechat folder contains all the files mentioned above but the newly created phpfreechat folder is still empty. I am just scratching my head not sure what they mean by 'script'. I even tried to copy those 9 files into the subfolder phpfreechat as well guessing that that's what they meant but didn't make any different---same issue, that is.

I guess my question should be: What script file is it talking about in this particular error message? What is the name of that script file?

Thank you advance for any help you can provide on this.

-Exo
exo_wa@yahoo.com

owen barton’s picture

Category: bug » support
Status: Active » Fixed

The instructions seem pretty clear (to me!) here:

2.  Download phpFreeChat from http://www.phpfreechat.net/
	or http://sourceforge.net/project/showfiles.php?group_id=158880
	- NOTE: if beta 9 is not yet released you can check it out of the repository using the command:
	svn co https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat phpfreechat/trunk
    
3.  Extract phpFreeChat with all its files to:
    * modules/phpfreechat/phpfreechat or
    * sites/[yoursite]/modules/phpfreechat/phpfreechat
    on your web server. You do not need to follow the instructions from the phpFreeChat INSTALL file - the module handles all the configuration and creation of chats.

i.e. The files look like
phpfreechat/phpfreechat.module
phpfreechat/phpfreechat.info
phpfreechat/...[other phpfreechat Drupal module files]
phpfreechat/phpfreechat/index.php
phpfreechat/phpfreechat/install.en.txt
phpfreechat/phpfreechat/...[other phpfreechat script files]

Please help improve the documentation if you think we can explain this clearer :)

Anonymous’s picture

Status: Fixed » Closed (fixed)
garret-1’s picture

No. I followed your directions EXACTLY and I still got the script not found error. I have all the module files uploaded to modules/phpfreechat and all the downloaded Beta 0.9 script files unzipped and uploaded to modules/phpfreechat/phpfreechat. Still no dice.
I still get:
phpFreeChat script is not found.
Before you can use this module you must download the script from http://www.phpfreechat.net/ and extract in to the /modules/phpfreechat/phpfreechat directory on your web server.
See INSTALL.txt for more details.

Tmanagement’s picture

I was having the same problems. Make sure that you download and install the 1.0beta9 version because others will not work.

Steel Rat’s picture

Status: Closed (fixed) » Active

I just downloaded the 5.1.x dev version from here, and the 0.9.3 beta of phpfreechat from the Sourcforge link and I am having the same problem as reported.

One difference I see, there is no INSTALL.en.txt in the modules/phpfreechat/phpfreechat folder, but there is INSTALL.en.

Actually if I follwed the install.txt directions EXACTLY I would have ended up with modules/phpfreechat/phpfreechat/phpfreechat.0.9.3

There is still a problem here.

owen barton’s picture

Note that beta 9 !== 0.9.3 :)

Only beta 9 will work.

clockbroke’s picture

Version: 5.x-1.x-dev » 4.7.x-1.x-dev

I have the same problem. the module is in /modules/phpfreechat, and phpfreechat files are extracted to /modules/phpfreechat/phpfreechat.

Today, I tried the new beta 10. It made the script error go away, and I was able actually set-up the module. But then trying to view a node with chats enabled gave me errors. It said it couldn't find the themes directory and that a couple of my text values needed to be positive (even though they already were).

Now I'm at square one again.

attn: exo - it looks like you've got the MODULE installed, but you need to download the phpfreechat SOFTWARE at phpfreechat.net. Those are the files for that additional directory. Of course, that will just put you in the same spot the rest of us are in.

clockbroke’s picture

Success. Here's the deal, hopefully it helps all of you. It seems to be a simple confusion of numbers. I'll make this clear as possible.

As grugnog has clearly stated:
"Note that beta 9 !== 0.9.3 :)
Only beta 9 will work."

There is a file called 'version' in the package which simply has the text of the version you have installed. It should say "1.0-beta9" If it says anything else, you've got the wrong files.

I got confused (as I think we all did) by the lack of the VERSION number in the documentation. 0.9 is a VERSION. 0.9.3 is a release of that VERSION. You need VERSION 1.0, specifically the 9th BETA of that VERSION (don't use beta 10, it won't work).

follow this link:
http://sourceforge.net/project/showfiles.php?group_id=158880&package_id=...

These are the 1.0 Betas. Use the second one down, "1.0-beta9"
get the tar or the zip and upload/extract to the phpfreechat/phpfreechat directory.

This has me up and running.

owahab’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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