• 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

$params[\"serverid\"]

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

Post a reply
2 posts • Page 1 of 1

Postby losbit » Mon Mar 05, 2007 5:15 am

I've got a problem showing phpfreechat in other web page through an IFRAME tag.

For example I've got my chat at:

www.example.com/phpfreechat/index.php

And I call the chat through an IFRAME tag from another domain:

www.exampleone.com

The IFRAME that calls the chat is:

<IFRAME frameborder="0" SRC="www.example.com/phpfreechat/index.php" HEIGHT="700" WIDTH="100%"></IFRAME>

but every time I try to acces the chat through the iframe i've got this message:

"Cookies appears to be either disabled or unsupported by your browser. This web application requires Cookies to work properly. Please enable Cookies in your browser settings, or upgrade to a browser with Cookies support and try again."

I've got phpfreechat 1.0-beta9, and I'm sure the iframe tag is not the problem I think $params["serverid"] is the problem, I'm not sure what to do, I used to call the chat through an IFRAME tag with older versions and I did not get any problem.

So please help me, 'cause I just want to use one chat from many others domains (web pages).

Thanks in advance.

Ivan
losbit
New member
 
Posts: 1
Joined: Mon Mar 05, 2007 4:59 am
Top

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

I just updated from beta7 to beta9 and have a problem regarding the serverid too.
It seems to be empty now...
This is because the instantiation of the global pfc config object has changed.
It must be called like this now:

$globalcfg =& pfcGlobalConfig::Instance();
$usercfg =& pfcUserConfig::Instance();
$container =& pfcContainer::Instance($c->container_type, true);
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top


Post a reply
2 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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