• 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

Demo chats not loading in PHPFC 1.0 Final

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

Post a reply
12 posts • Page 1 of 1

Postby Azrael Strife » Fri Sep 21, 2007 8:56 pm

Using Firefox 2.0.0.7, I downloaded the package, unzipped it in my hd, attempted loading it with my local server, all I get is the customisation links, the style and a "Chat loading ... Please wait" with the loading animated icon, but it never does, am I missing something? I haven't even began tweaking it for my site, this is just in my local copy in my hd...

(this happens for all demos)

EDIT: I should also note that I'm running Windows XP, using XAMPP (Apache2 server) and PHP 5.2.2.
Last edited by Azrael Strife on Fri Sep 21, 2007 9:12 pm, edited 1 time in total.
Azrael Strife
New member
 
Posts: 9
Joined: Mon Apr 17, 2006 7:21 pm
Top

Postby sappheiros » Sat Sep 22, 2007 1:06 am

hello,

I'm afraid I have a simillar problem with the 1.0 final version of pfc,
when the beta 1.0 beta 11 used to run perfectly,
my browser is IE7 under windows XP,

I tried many times to install again, with proper uninstallations, even the folders created by "httpd"
I closed and opened my browser, each time I tried a manip,
unsuccessfully,

I'm lost can't imagine any other way to make it work... an idee ?

Hope I can find or be helped I really enjoy using this tchat, and this last update seems important on many points,

anyway have a good day, I keep on using the previous version :)
sappheiros
Member
 
Posts: 11
Joined: Fri Jul 27, 2007 12:53 pm
Location: France
Top

Postby sappheiros » Sat Sep 22, 2007 9:15 pm

hi,

well I keep on searching :/

What I realise,
the new version of the tchat perfectly runs witch this direct access :
http://www.qualimots.net/tchat/index.php
(and the chat new version runs effectivly much faster that's great)

but when I call it from my home page, by an "include 'tchat/index.php'", the tchat doesn't load
http://www.qualimots.net/outils.php?id=chat

What I don't understand,
I use the same index.php I used with the previous version,
and thanks to the "require_once dirname(__FILE__)..." system, the inclusion worked perfectly,
now it doesn't work anymore I'm lost, any idee ?

I had a look in other files, and can't see a script without this reference to the "dirname(__FILE__)", so, I'm not able to imagine what else ...

Thanks a lot if you ever thought about anything

Have a good week-end
sappheiros
Member
 
Posts: 11
Joined: Fri Jul 27, 2007 12:53 pm
Location: France
Top

Postby King Moonraiser » Sun Sep 23, 2007 4:48 am

Could you post the php source for the index.php?
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby sappheiros » Sun Sep 23, 2007 8:59 am

hello King moonraiser,

many thanks, following my index.php

<?php session_start();
//if (!isset ($exit)) {header ('location:../index.php'); exit;}
//if (!isset ($_SESSION['forum'])){$nick = "invité".rand(1, 999);}//$exit = '' ; include ("forms/identification.php"); exit;}
//else {$nick = $_SESSION['forum'];}

require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = true;
$params["title"] = "Qualimots";
$params['channels'] = array('le tchat'); // ouverture directe du salon
$params["frozen_channels"] = array('le tchat'); // seuls channels accessibles
$params["nick"] = "invité".rand(1, 999); // setup the intitial nickname
//$params["frozen_nick"] = true; // do not allow to change the nickname
$params["isadmin"] = true; // just for debug ;)
$params["language"] = "fr_FR"; // langue = français
$params['admins'] = array('saphyre' => '', 'Admin' => ''); // les admin, MDP requis ou non,
//devront faire /identify pour prendre le statut op
$params["time_offset"] = "7200"; //changer l'heure du tchat à GMT +2
$params["nickmeta"] = array("score actuel" => $_SESSION['tchatscore'], "highscore" => $_SESSION['tchathigh']);
// ce qui apparaîtra dans le pop whoisonline
$chat = new phpFreeChat( $params );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>qualimots : le tchat</title>
<link href="default.css" rel="stylesheet" type="text/css">
</head>
<body class="Style15">

<div align="left">
<?php $chat->printChat(); ?>
</div>
<?php //$exit = ""; include ('forms/p_page.php'); ?>
</body></html>

I finally wondered if I hadn't modified something in a script in the previous version that I wouldn't remember...
my I don't think so, here is the link to the chat with the same index.php,
but with the previous version :
http://www.qualimots.net/outils.php?id=chat0

have a nice day,et many thanks again,
Last edited by sappheiros on Sun Sep 23, 2007 9:06 am, edited 1 time in total.
sappheiros
Member
 
Posts: 11
Joined: Fri Jul 27, 2007 12:53 pm
Location: France
Top

Postby Azrael Strife » Sun Sep 23, 2007 6:08 pm

King Moonraiser wrote:Could you post the php source for the index.php?

I'm using the index.php that comes with the 1.0final package, not modified in the least bit.
Azrael Strife
New member
 
Posts: 9
Joined: Mon Apr 17, 2006 7:21 pm
Top

Postby phpfreechat » Sun Sep 23, 2007 7:11 pm

sappheiros, you have to setup two different "serverid" for the two different ways to call the chat :
1- http://www.qualimots.net/tchat/index.php
2- http://www.qualimots.net/outils.php?id=chat

Otherwise, you have to customize the "server_script_url" parameter to link to the correct url (1 or 2).
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sappheiros » Sun Sep 23, 2007 9:46 pm

hi kerphi,

I have redirect the direct access, so only the path with inclusion is used now,
and modified my params :
$params["server_script_url"] = "http://www.qualimots.net/outils.php?id=chat";
I tried too :
$params["server_script_url"] = "./outils.php?id=chat";

Each time I cleared the cache and close my browser,
but it still doesn't work...

when
http://www.qualimots.net/outils.php?id=chat0 is ok with the previous version (simillar path but different directories),
without using $params["server_script_url"]

I don't see... I keep on searching, I imagine I've done something in july to do it work with the previous version, that I can't remember today, for the moment I say, I don't give up,

many thanks anyway :)
sappheiros
Member
 
Posts: 11
Joined: Fri Jul 27, 2007 12:53 pm
Location: France
Top

Postby King Moonraiser » Mon Sep 24, 2007 1:46 am

Perhaps you should take a look at demo 21?
King Moonraiser
Member
 
Posts: 98
Joined: Fri Jun 22, 2007 9:42 pm
  • Website
Top

Postby Azrael Strife » Mon Sep 24, 2007 6:27 am

Not sure if this thread is about me anymore, but as I said, loading any chat demo brings the same result in my HD copy, even 21.
Azrael Strife
New member
 
Posts: 9
Joined: Mon Apr 17, 2006 7:21 pm
Top

Postby phpfreechat » Mon Sep 24, 2007 8:26 am

Azrael Strife are you able to provide a public link to your chat installation and you chat parameter list ? it would help use to debug...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sappheiros » Mon Sep 24, 2007 12:40 pm

hi King moonraiser and kerphi,

I modified all "url params" like in the demo 21 all is ok now thanks for your patience and support

hi Azrael strife,
excuse if I squeezed your post your problem seemeed simillar to mine,
no doubt you finally will find a solution too...

and excuse my bad english : great chat really ! good team and support,

let it go on, best wishes
sappheiros
Member
 
Posts: 11
Joined: Fri Jul 27, 2007 12:53 pm
Location: France
Top


Post a reply
12 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 33 guests

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