after changing the script so much and using it at the same time, the browsers cache can play tricks on you some times, FireFox is bad about that very thing, I assure you this will work if you follow post #12, the issue is probably the user name Bob is not the same as bob, the same for the password, a good way to to do this is copy the name exactly as its displayed next to the command line into the config
var $admins = array("username" => "userpassword");
on the command line
/identify userpassword
after changing the config you have to delete the cache file
Last edited by todhend on Sun Jun 13, 2010 4:29 am, edited 1 time in total.
I found something that can partially to explain "strange behavior" of PCF. I am on ftp server and I try to delete cache and chat data. I see tha if I delete some data, they apear there again. I use F5 and I see really it is so. I forgot that PFC makes refresh every 2s and it means he writes some lock and new cache if deleted. The only possibility is to close app and rerun index.php. Or to sert higher delay about 10s.
But as I said this is only 1/2 of problem. Although I closed app. and deleted the chacche and chat data, then open PFC again through index.php... so PCF still remembers the opened channels. That shouldn't! If I delete cache and chat data and recheck it through F5, that dirs are empty, then he cannot remember the opened channels... I dont understand this.
PCF would need some command to stop sending this refreshes or to change delay for a while...
are these channels set up in your config or index, if so they will always come back if not try deleting your browser cache then logging in as a different user, what browser so you use?
also you need to log out of your session, just closing your window does not do that, there is a setting in the config for how long a session lasts after closing the window, the command for ending a sesson is
<li><a onclick="pfc.sendRequest('/quit'); "href="">Log Out </a></li>
or you caould use the php session destroy command
Last edited by todhend on Tue Jun 15, 2010 11:20 pm, edited 1 time in total.