• 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 not loading, message only \"Chat loading ... Please Wai

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

Post a reply
3 posts • Page 1 of 1

Postby mcruzmx » Fri Jun 22, 2012 9:17 pm

i unziped the files on my folder "chat", when i open chat/index.php works good, but when i include the "index.php" from another location with php, i get the message "Chat loading... Please Wait" and nothing happen.

www
-----chat
--------index.php
--------"the other files" for phpfreechat here works!
-----images
-----index.php (where i use "include 'chat/index.php';" with php) here doesnt work

i dont have to use frames, what i can do to fix this problem? THANKS
mcruzmx
New member
 
Posts: 1
Joined: Fri Jun 22, 2012 9:07 pm
Top

Postby OldWolf » Thu Jun 28, 2012 12:59 am

Rehash your chat after each major change. http://www.phpfreechat.net/rehash
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 provotector » Wed Jul 18, 2012 4:47 pm

Lo que tienes que incluir en la página web de tu chat, no es el index.php, sino referenciar las funciones de pfc:

(require_once('./login/functions.php');
require_once dirname(__FILE__)."/src/phpfreechat.class.php"; )

Y hacer la llamada a las mismas.

Así llamaríamos a la ventana de chat:

<div class="chat"><?php $chat->printChat(); ?>
</div>

Recuerda incluir en la cabecera de tu web, todos los parámetros necesarios para el correcto funcionamiento de tu sala de chat. Ejemplo:

$params["display_pfc_logo"] = true;

...etc
Last edited by provotector on Wed Jul 18, 2012 4:49 pm, edited 1 time in total.
http://www.shurchat.com
provotector
Member
 
Posts: 33
Joined: Fri Apr 27, 2012 4:09 am
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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