• 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

Problem with $params

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

Post a reply
5 posts • Page 1 of 1

Postby revolve » Thu Jun 15, 2006 1:24 am

Hey there,

For some reason version 1.0 params are not working for me. I set them like I did in earlier versions, but they are not doing anything. Is it possible that if one params isnt set properly it'll stop the rest of the customizing? Any suggestions? The params look fine to me.

Thx
revolve
New member
 
Posts: 3
Joined: Thu Jun 15, 2006 1:20 am
Top

Postby phpfreechat » Thu Jun 15, 2006 8:45 am

Which parameter ?
Keep in mind this is a beta release, I didn't wrote yet documentation and the code in not "stable".
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby mkoch » Thu Jun 15, 2006 10:48 am

Also, and I might very well be wrong here, if you change (most of) the params, you have to clear the phpfreechat cache right? This played tricks on me at least.

Don't know if this is what you're having difficulties with.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby phpfreechat » Thu Jun 15, 2006 11:15 am

right: when you do a modification, you have to clear the data/private/cache/ directory content.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby revolve » Thu Jun 15, 2006 11:53 pm

G'day,

I took a wise choice from teh beginning and installed the beta version in another folder as to not mess the current working version. I thought it would be better to post what params I have below...

//Code
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["serverid"] = md5(__FILE__);
$params["height"] = "300px";
$params["width"] = "80%";
$params["output_encoding"] = "ISO-8859-1";
$params["nick"] = isset($_SESSION["username"]) ? $_SESSION["username"] : "";
$params["frozen_nick"] = true;
$params["clock"] = false;
$params["nickmarker"] = false;
$params["title"] = "Test Room";
$params["max_text_len"] = "250";
//End Code
/*None of the Above work, comment out all but the $params["title"] and it still doesnt work. Room name doesnt change. Anyone else params working? I would suspect so, lol.*/

Are those Boolean statements correct? Or are they meant to be a string of "true" or "false"?

So you know, I did an install like normal, CHMOD the specific folders as required and added the $params.

I looked at clearing the cache directory but come across a problem. The directory is somehow CHMOD to 700 preventing access to it so I can clear the contents (I didnt do that) which in turn stops me from changing the folder permission. The same applies to the public folder.

Cheers
revolve
New member
 
Posts: 3
Joined: Thu Jun 15, 2006 1:20 am
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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