• 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

Channel param version 1.x

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

Post a reply
3 posts • Page 1 of 1

Postby mkoch » Wed Jun 14, 2006 6:57 pm

Hi,

I get this - having updated to 1.x latest SVN:

Error: undefined or obsolete parameter 'channel', please correct or remove this parameter

Everything worked fine on 0.x.

In the INSTALL file channel is this shown as parameter.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby phpfreechat » Wed Jun 14, 2006 7:10 pm

I didn't wrote the documentation for 1.x branche.

However I can help you:
Replace the "channel" parameter by "channels" and put an array of string into this parameter.

Ex:
replace
Code: Select all
$params["channel"] = "mychannel";

by
Code: Select all
$params["channels"] = array("mychannel");
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby mkoch » Wed Jun 14, 2006 8:13 pm

Thanks. That did it.

1)
I'm getting a lot of "Missing parameter (/join {channelname})" though. Happens eg. if i quit the chat and open it again (channel to join is set by a GET param).

And sometimes when I get the "Missing parameter (/join {channelname})" and join a channel I'm not able to write anything in this channel. Message windows stays blank. This happens if I join a room I just left (the channel name from the GET param).

2)
Is there a way to config such that a given room can not be leaved? Like I want my users to always be in room foo.
Last edited by mkoch on Thu Jun 15, 2006 1:54 am, edited 1 time in total.
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 28 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