• 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

URL problem

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

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

Postby Kachel » Fri Apr 07, 2006 12:37 pm

I found out the following:

in "pfccommand_update.class.php"

Code: Select all
    $c =& $this->c;
    // do not update if user isn't active (have quit)
    if ($c->active)
    {
      $cmd =& pfcCommand::Factory("updatemynick", $c);
      $cmd->run($xml_reponse, $clientid);
      $cmd =& pfcCommand::Factory("getonlinenick", $c);
      $cmd->run($xml_reponse, $clientid);
      $cmd =& pfcCommand::Factory("getnewmsg", $c);
      $cmd->run($xml_reponse, $clientid);
#      $xml_reponse->addScript("pfc.parseAndPost(blabla);");
    }

$c->active is only true for the first time it is called

that is why i see the old messages, but when polling is done this value is always false, that is why i see no updates, can anyone give me a clue?
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby phpfreechat » Fri Apr 07, 2006 12:41 pm

humm strange, c->active parameter is saved into sessions, does the sessions are enable works on you php installation ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Kachel » Fri Apr 07, 2006 5:53 pm

That was it! Thanks a lot!
Due to misconfiguration in PHP, the session could not be saved.

:)
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby krikke » Thu Apr 13, 2006 1:41 pm

kerphi wrote:humm strange, c->active parameter is saved into sessions, does the sessions are enable works on you php installation ?

I'm also having this problem, what do you mean with sessions are enable on php?
Last edited by krikke on Thu Apr 13, 2006 1:42 pm, edited 1 time in total.
krikke
New member
 
Posts: 1
Joined: Thu Mar 09, 2006 9:33 pm
Top

Postby phpfreechat » Thu Apr 13, 2006 2:41 pm

Have a look to http://www.php.net/manual/en/ref.session.php
Check in your php.ini sessions related variables :
session.save_handler
session.save_path
session.name

However, Kachel could you give more informations about your misconfigured php/apache ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Kachel » Sun Apr 16, 2006 10:27 am

In my case the session.save_path pointed to a directory that didn't exist.
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Previous

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

Return to General Support (v1.x)

Who is online

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