• 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

Beta 3 update problems

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

Post a reply
3 posts • Page 1 of 1

Postby mkoch » Sat Jul 08, 2006 12:35 am

Hi,

I did a SVN update from revision 632 to latest (rev. 652). I then emptied the private data dir.

When I start chat, first it shows the nick name input dialog (it is not supposed to) - and after that it does not connect. User list does not show, and when I write something it says "you must be connected to write a message".

Both nick and channel params are supplied as _GET params.

I emptied my browser cache also before trying.

In rev. 632 I did not have these problems.
Last edited by mkoch on Sat Jul 08, 2006 2:42 am, edited 1 time in total.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby Fuz » Sun Jul 09, 2006 1:28 am

I patched beta2 into my phpBB skin successfully, but when I tried to replace it with beta3 - I don't get logged in, the user list doesn't show, and I get "Error on page". Roll back to beta 2 - and it works (except the frozen_nick and start_minimized doesn't work in neither).

This is the code that generates the necessary content, which later is merged into the skin template.
Code: Select all
// phpfreechat START =========================
require_once "phpfreechat_beta3/src/phpfreechat.class.php"; // adjust to your own path

if ($userdata['session_logged_in']) {
       $chatparams['serverid'] = md5(__FILE__); // used to identify the chat
       $chatparams['nick'] = $userdata['username']; // setup the nickname
            $chatparams["frozen_nick"]    = true;     // do not allow to change the nickname
            $chatparams["start_minimized"]    = true;
       $chat = new phpFreeChat($chatparams);

            $chatcfg =& pfcGlobalConfig::Instance();

            $chatcfg->title = "fragstealer.net live";
        $chatcfg->channels = array("fragstealer.net");
        $chatcfg->frozen_channels = array("fragstealer.net");

       $freechatjs = $chat->printJavascript(true);
       $freechatstyle = $chat->printStyle(true);
       $freechatbox = "<tr>" . $chat->printChat(true) ."</tr><br>";
}
else {
       $freechatjs    = "";
       $freechatstyle = "";
       $freechatbox   = "";

}
// phpfreechat END =========================
Last edited by Fuz on Sun Jul 09, 2006 1:31 am, edited 1 time in total.
Fuz (q) fragstealer.net
Fuz
New member
 
Posts: 1
Joined: Thu Jul 06, 2006 9:53 pm
Top

Postby mkoch » Thu Jul 13, 2006 1:28 am

Problem fixed in SVN (rev. 654). Thanks.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
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 21 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