• 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

can´t connect to chat

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

Post a reply
11 posts • Page 1 of 1

Postby Scubus » Fri Oct 12, 2007 12:15 am

hi

First of all, thanks for this great free software!

Well, i successfully tested the chatsoftware on my home windows pc.
Everything works fine so i decided to install it to my linux server.
And on that point my problems began.

In every case the chat tell me: "you must be connected to send messages".
I tried everything.
Changing rights in the data-folder or execution-rights in the src-folder.
Nothing happens.

I tried to get some informations in this forum by searching, but all hints i found had no effect.

Actually i have no idea how to get the chat working on my server.

Here are my settings in the index.php:
Code: Select all
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["language"] = "de_DE-informal";
$params["height"] = "540px";
$params["title"] = "Testversion";
$params["channels"] = array("Kaffee-Bar");
$params["nick"] = "guest".rand(1,1000);  // setup the intitial nickname
$chat = new phpFreeChat( $params );

"isadmin" or not has no effect.

I hope for some help.
Scubus
New member
 
Posts: 3
Joined: Fri Oct 12, 2007 12:01 am
Location: Germany
Top

Postby King Moonraiser » Fri Oct 12, 2007 1:14 am

Can you provide a URL so we can troubleshoot?
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby OldWolf » Fri Oct 12, 2007 7:59 am

Did your globals file get changed in any way? Did you at one point add a timeout parameter any kind?

Also, try this:
1. Close any browsers connected to the chat.
2. If your site is public and it's possible someone could be accessing it while you are performing this manual

rehash, comment out (put two slashes infront of) the line that reads
Code: Select all
$chat = new phpFreeChat( $params );

. Make sure to change it back in step 4.
2. In your FTP software, navigate to /yourchat/data/private/.
3. Delete both the chat and cache folders. If you wish to clear your logs, you can delete the logs folder as well (for set-ups with logging).
4. If you commented out the phpFreeChat line in 2, uncomment it now.
5. Navigate back to your chat in a browser. The cache will automatically set itself back up.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Scubus » Fri Oct 12, 2007 9:49 am

Hello

Thanks for the quick replies.

Here is the URL: http://www.eltern-treff.de/phpfreechat/index.php

And the Answers:
No, i didn´t change the globals file.
No timeout parameter is set.

The idea to deleted the cache, chat and logs in the data-folder i had already yesterday.
But restarting the chat after that, had unfortunately no effect.

Well, i will test and check some more this evening and will post my results.

I won´t give it up.
Scubus
New member
 
Posts: 3
Joined: Fri Oct 12, 2007 12:01 am
Location: Germany
Top

Postby OldWolf » Sat Oct 13, 2007 12:03 am

Could you grab the array outputs so we can take a look?
Code: Select all
  echo '<h2>Debug</h2>';
  echo '<pre>';
  $c =& pfcGlobalConfig::Instance();
  print_r($c);
  print_r($_SERVER);
  echo '</pre>';
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby King Moonraiser » Sat Oct 13, 2007 5:50 am

Here's the error from Firebug:

pfc.setError('Du musst verbunden sein, um eine Nachricht zu schicken', Array());

Which translates to: Your must be connected to send a message
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby Scubus » Sat Oct 13, 2007 1:21 pm

Hi

Ok, i setup the chat once more from the original tar.gz.

Here is the address with the Output directly under the Chat:
http://www.eltern-treff.de/phpchat/

I changed nothing but the initial username and the right of the directories.

But if i type in some words nothing appears in the chatwindow.
Scubus
New member
 
Posts: 3
Joined: Fri Oct 12, 2007 12:01 am
Location: Germany
Top

Postby itshee » Wed Nov 07, 2007 9:59 am

I got the same problem too. It appears the same error message; but it's in Thai.

My site is at:
http://itshee.com/chat/thaiwp/
itshee
New member
 
Posts: 5
Joined: Mon Oct 29, 2007 10:05 am
Top

Postby phpfreechat » Wed Nov 07, 2007 9:08 pm

Very strange problem... do you have any special server configuration ? maybe a special filesystem ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby itshee » Thu Nov 08, 2007 6:30 am

I think I fixed it after I changed the PHP file. I saved it as ANSI instead of UTF-8. It works fine now.
itshee
New member
 
Posts: 5
Joined: Mon Oct 29, 2007 10:05 am
Top

Postby hazefm » Fri Jun 18, 2010 2:04 am

this resolvesthe3 issue
hazefm
Member
 
Posts: 13
Joined: Tue Aug 18, 2009 2:35 am
Top


Post a reply
11 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 25 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