• 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

Chat loading.... but never finishes loading! Help!

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

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

Postby born2beflyin » Tue Feb 27, 2007 2:55 pm

I can open the chat page and I see the message "Chat loading... Please wait", but the chat never finishes loading and never displays.

All of the demos have the same problem.

However, I can load the official demo at phpfreechat.net.

I'm running IIS 5.1 on Windows XP SP2, PHP 4.4.2, PFC 1.0 beta 9.

Go to "http://12.168.179.7/ratchat" to see the problem
Last edited by born2beflyin on Tue Feb 27, 2007 2:56 pm, edited 1 time in total.
born2beflyin
New member
 
Posts: 3
Joined: Tue Feb 27, 2007 2:50 pm
Top

Postby phpfreechat » Tue Feb 27, 2007 3:23 pm

Try the demo21 : http://12.168.179.7/ratchat/demo/demo21 ... d_urls.php

But add this parameter to fix the resources url problem :
$params["theme_default_url"] = "../themes";
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby born2beflyin » Tue Feb 27, 2007 4:35 pm

Thanks! That made the chat work, but how do I get it to look like the official demo? Is there a theme that is already set up to make PFC look like the official demo?
born2beflyin
New member
 
Posts: 3
Joined: Tue Feb 27, 2007 2:50 pm
Top

Postby born2beflyin » Tue Feb 27, 2007 5:46 pm

I got it to work with the correct theme. Thanks for your help!
Last edited by born2beflyin on Tue Feb 27, 2007 5:46 pm, edited 1 time in total.
born2beflyin
New member
 
Posts: 3
Joined: Tue Feb 27, 2007 2:50 pm
Top

Postby phpfreechat » Tue Feb 27, 2007 5:47 pm

the official demo uses the defaut theme.

If fact your just have to clear the data/private/cache/ directory content in order to take into account the added "theme_default_url" parameter.
Then you will get the default theme resources.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby mouacy » Fri Mar 02, 2007 5:06 am

I have the same problem, but the dolution does not solve mine.

I am running PHP 5.0.4
Apache 2.0.54

Someone please help.
mouacy
New member
 
Posts: 1
Joined: Fri Mar 02, 2007 4:47 am
Top

Postby Beni » Sun Mar 11, 2007 1:58 pm

Here the same problem...

My themes are outside of PFC:


$params['theme'] = "testtheme";
$params['themepath'] = "./mychat/themes";
$params['data_private_path'] = dirname(__FILE__).'/myschat/data/private/';
$params['data_public_path'] = dirname(__FILE__).'/mychat/data/public/';
$params['data_public_url'] = './mychat/data/public/';
Last edited by Beni on Sun Mar 11, 2007 2:01 pm, edited 1 time in total.
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby Beni » Sun Mar 11, 2007 2:22 pm

Further investigation showed, that if i call my chat script manually, everything works fine, except that my theme is not loaded...
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby Beni » Mon Mar 12, 2007 7:37 pm

Kerphi, how is the new code working in detail?
what happens when?
Do i need to change my old beta7-Javascripts in some way to support the new loading stuff?
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby spanish » Mon Mar 12, 2007 7:49 pm

I have the same problem too...
The page finishes the download, but the "chat loading" animation remains, with no chat available...

here is my admin.utchat.conf.php :

// parameters phpfreechat : $utparams[] || see phpfreechat doc PLEASE !!!!!
$utparams['frozen_nick'] = TRUE;
$utparams['channels'] = array('Room 1','Room 2','joomla');
$utparams['theme'] = 'msn';
$utparams['admins'] = array('admin' => '');
$utparams['language'] = 'en_US';
$utparams["theme_default_url"] = "../themes";

PHP 4.4.4
Apache 1.3.37 (Unix)

Thanks!
Peleg.
spanish
New member
 
Posts: 3
Joined: Mon Mar 12, 2007 3:48 pm
Top

Postby Beni » Mon Mar 12, 2007 8:00 pm

I additionally found out that thought *sometimes* my chat loads (i added the theme_default_url, client_script_url and server_script_url parameters) my chat loads with the default theme but doesn't connect.

Something is horrible wrong here.
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby pinup57 » Mon Mar 12, 2007 9:07 pm

I think ( and am reasonably certain) that this is a URL/scope problem. These problems all seem to occur when trying to integrate PFC in Joomla. (Correct me if I'm wrong). I downloaded an tried UTChat, and from examining the code, there are issues all over the place. Some of these have been corrected by Stéphane (Kerphi) since, and will be integrated in beta 10 I guess. But from what I saw in utChat code (based on beta 9) it just cannot work fully. It might on a local install, but most probably not (fully) on a remote host. I managed to get PFC beta 9 working in Joomla! , but there are some issues that are not solved yet. (see this thread: http://www.phpfreechat.net/forum/viewtopic.php?id=1306 )

Because of the script being called anasynchronously, there are scope issues with Joomla! because of the way a component is called. There are clashes between the server_script_url in pfc and the Joomla! context. I think it's possible to resolve this question, and am fairly confident that pcf beta10 will be a step in the right direction. But as of now, I don't see how it could be possible to have utChat to work on a remote host in Joomla, given the code.

Just my 0.02, and with due respect to the developers, sincerely

(and please correct me if I'm wrong)
Dirk
pinup57
Member
 
Posts: 89
Joined: Sat Feb 24, 2007 8:13 am
Top

Postby spanish » Mon Mar 12, 2007 9:14 pm

Sounds reasonable... Thanks.
spanish
New member
 
Posts: 3
Joined: Mon Mar 12, 2007 3:48 pm
Top

Postby Beni » Tue Mar 13, 2007 9:08 am

My chat is loaded inside a pane of my website via dojo.
Maybe that causes the problem too...
As i said, i am able to start the chat outside of my framework (chat.php).
If i call it through the interface of my website, the content of chat.php is loaded via dojo.
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby Beni » Tue Mar 13, 2007 1:12 pm

Kerphi, is it possible somehow to load the chat interface "the old way"? but still sue beta9?
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Next

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

Return to General Support (v1.x)

Who is online

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