• 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 chat cannot be loaded! two possibilities:

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

Post a reply
16 posts • Page 1 of 2 • 1, 2

Postby archimonde » Fri Sep 08, 2006 10:51 am

I try to install the beta5 version
i have php 5 installed
I changed the rigths to data/private and data/public to 777,

I still got this:
Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights

Please help
archimonde
New member
 
Posts: 2
Joined: Fri Sep 08, 2006 10:47 am
Top

Postby archimonde » Fri Sep 08, 2006 11:41 am

The link: http://r.webmaker.ro/chat5/
archimonde
New member
 
Posts: 2
Joined: Fri Sep 08, 2006 10:47 am
Top

Postby phpfreechat » Fri Sep 08, 2006 3:29 pm

sorry but it works for me ...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby scorpjc » Wed Sep 13, 2006 12:28 pm

Well, I have the same problem...

I installed the beta5 version
I have php4 installed
I changed the rights to data/private and data/public to 777

I'm using the demo/demo1_simple.php

When I try to open the chat, I have this error :
"Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights"

The chat works for many guys I know, but not me...

I tried to connect on archimonde's chat but obtained the same thing.

The directories rights are good (775 for all, except 777 for data/private and data/public), and it's not a problem with javascript misconfigured, as it is enabled, and I have the same issue with firefox, internet explorer and opera...

If it can help, the javascript console give me the message :
"pfcClient is not defined" on line 64.

Maybe the net? I'm on an office net, with a proxy configured.

Any idea?
Last edited by scorpjc on Wed Sep 13, 2006 12:37 pm, edited 1 time in total.
scorpjc
New member
 
Posts: 2
Joined: Wed Sep 13, 2006 12:18 pm
Top

Postby zooky » Wed Sep 13, 2006 12:45 pm

I also have a situatiıon like that as u can see on the above topics..

on localhost, only index.php works but when i click translations the same error message sitill exists...

Then when i upload to my website, the error message show two or thre secons and then connects to chat... Nevertheless u cannot perfectly chat, when u kick somebody, the messega area corrupts and u cannot see anything, so u have to re-login... that's another bug...

I think there is a problem with the connection to main chat or javascript conflict...

Admin pls show a way to cope with this...
zooky
Member
 
Posts: 60
Joined: Wed Sep 13, 2006 9:09 am
Top

Postby tweed » Thu Sep 14, 2006 9:03 am

I've spent a lotta time on this type of prob with beta5. The SVN has so many changes and I am sure this script is the real winner for me... I am happily waiting for beta6 as I could not get the SVN files to verify etc. ALL my lack of experience for sure. Thing is: a LOT of stuff changed for beta5 so i am happily learning what I can with beta 4 and looking forward to beta 6 ! soory I can't say more...

it's for sure a problem for me.... I tried many things in many ways and places...


best wishes to ALL
tweed
Member
 
Posts: 28
Joined: Fri Sep 08, 2006 10:22 pm
Top

Postby Rahul » Thu Sep 14, 2006 3:07 pm

well,I have the same problem
I installed Beta5.
I have php 5.1.2,apache on windows XP
and I have been applied all the patches as given in the link

http://www.phpfreechat.net/forum/viewtopic.php?id=580

please suggest suitable solution

the proxy.php is as follows:

<?php

$rootpath = dirname(__FILE__)."/../../";

$allowedpath = array();
$allowedpath[] = 'C:Program FilesApache GroupApache2htdocspfcbeta5lib';
$allowedpath[] = 'C:Program FilesApache GroupApache2htdocspfcbeta5srcclient';
$allowedpath[] = 'C:Program FilesApache GroupApache2htdocspfcbeta5themes';
$allowedpath[] = 'C:Program FilesApache GroupApache2htdocspfcbeta5themes';


// get the wanted file path
// and check if the file is allowed to be displayed
$page = isset($_GET["p"]) ? $_GET["p"] : "";
if ($page == "") die();
$files = array();

foreach($allowedpath as $ap)
{
$f = realpath($ap."/".$page);
if ($f !== FALSE && file_exists($f)) $files[] = $f;
}

$found = "";
for( $i = 0; $i < count($allowedpath) && $found == ""; $i++)
{
$ap = $allowedpath[$i];
foreach($files as $file)
{
if (strpos($file, $ap) === 0 ) $found = $file;
}
}
if (trim($found) == "")
die();
else
$file = $found;

$contenttype = "text/plain";
$contentlength = filesize($file);
if (preg_match("/.js$/", $file))
$contenttype = "text/javascript";
else if (preg_match("/.css$/", $file))
$contenttype = "text/css";
header("Content-Length: ".$contentlength);
header("Content-Type: ".$contenttype);
session_cache_limiter('public');
echo file_get_contents($file);

?>
Rahul
New member
 
Posts: 3
Joined: Thu Sep 14, 2006 1:09 pm
Top

Postby scorpjc » Mon Sep 25, 2006 9:05 am

Same problem with beta6
scorpjc
New member
 
Posts: 2
Joined: Wed Sep 13, 2006 12:18 pm
Top

Postby phpfreechat » Mon Sep 25, 2006 9:12 am

please post your public chat url to help debugging.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby rh0697 » Tue Sep 26, 2006 8:54 am

http://www.church2u.net/chat/

Mine also not working
rh0697
New member
 
Posts: 7
Joined: Tue Sep 26, 2006 6:45 am
Top

Postby phpfreechat » Tue Sep 26, 2006 9:09 am

rh0697,

could you post your parameter list ?
I think there is a problem with 'refresh_delay' parameter.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby rh0697 » Tue Sep 26, 2006 9:28 am

kerphi wrote:rh0697,

could you post your parameter list ?
I think there is a problem with 'refresh_delay' parameter.

I got it fixed. Thanks
rh0697
New member
 
Posts: 7
Joined: Tue Sep 26, 2006 6:45 am
Top

Postby tweed » Thu Sep 28, 2006 8:50 am

love to knowe why I could get beta 4 to run no prob tho beta 5 AND 6 do the same thing.... GOTTA be something simple...
tweed
Member
 
Posts: 28
Joined: Fri Sep 08, 2006 10:22 pm
Top

Postby sascha » Thu Sep 28, 2006 8:43 pm

Can you please tell us how you solved this problem. I also cannot get it working (neither b5 nor b6)
Url: https://3ar.de/
sascha
New member
 
Posts: 2
Joined: Thu Sep 28, 2006 8:38 pm
Top

Postby phpfreechat » Thu Sep 28, 2006 8:48 pm

sascha, your link work for me...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Next

Post a reply
16 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • 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