• 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 being ignored / cant clear cache

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

Post a reply
5 posts • Page 1 of 1

Postby youngcalihottie » Tue Sep 05, 2006 12:14 am

first i want to say that i love phpfreechat. so thanks for all the awesome work on it!

problem 1) params are being ignored. here's what i have:

//SET CHAT PARAMS
$params["serverid"] = md5(__FILE__);
$params["nick"] = iconv("ISO-8859-1", "UTF-8", $_SESSION['name_display']);
$params["title"] = "ABC Chat";
$params["channels"] = "ABC Chat";
$params["frozen_nick"] = true;
$params["max_nick_len"] = 16;
$params["showsmileys"] = false;
$chat = new phpFreeChat($params);

the chatroom works great. but it ignores all of the params except nick. it does set the nick correctly. but it ignores the title, channel or channels, frozen_nick, max_nick_len, and showsmileys. what have i done wrong?

problem 2) i cannot clear the cache. i tried to go to the cache folder to empty it out and i get error "550 Can't change directory to cache: Permission denied". so i cant get into it. what am i doing wrong with that?

thank you for your help.
youngcalihottie
New member
 
Posts: 9
Joined: Mon Sep 04, 2006 11:55 pm
Top

Postby youngcalihottie » Tue Sep 05, 2006 12:20 am

im using beta 4. i see beta 5 was just posted a couple hours ago. i will try that and see if it makes any difference.
youngcalihottie
New member
 
Posts: 9
Joined: Mon Sep 04, 2006 11:55 pm
Top

Postby youngcalihottie » Tue Sep 05, 2006 12:37 am

no difference
youngcalihottie
New member
 
Posts: 9
Joined: Mon Sep 04, 2006 11:55 pm
Top

Postby phpfreechat » Tue Sep 05, 2006 7:25 am

replace :
$params["channels"] = "ABC Chat";
by
$params["channels"] = array("ABC Chat");

then clear the cache by typing /rehash command.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby youngcalihottie » Tue Sep 05, 2006 7:40 am

thanks so much! as soon as i fixed the array and cleared the cache it listened to the rest of the params. sorry for being such a noob! lol.

actually i dont know what the heck i did to my cache folder but i cant get into it. and i cant delete it. so i had to rename it "cache2" lol and then made a new cache folder and now it all works great. thanks again!!!
youngcalihottie
New member
 
Posts: 9
Joined: Mon Sep 04, 2006 11:55 pm
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 24 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