• 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

PFC make me confuse!

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

Post a reply
21 posts • Page 1 of 2 • 1, 2

Postby h4ever » Tue Jun 08, 2010 2:32 pm

I still experience some problems with PFC. It behaves so strange. Imagine this. I have the types of PFC.

A) Original version of PFC
B) My version, which has some rooms in left menu. Let's call it PFC_

1) I had this on server: /PFC_
But I experienced some problems:
- I try to open some rooms and it looks like no rooms open
- or I open rooms (e.g. 4 rooms) and I got report that I reached maximum number of records
- I run /rehash
- then I got report "You have to connect before you join a room."
... I could not find a error, so I loaded original version

2) So I delete /PFC_ and to the same directory I load original PFC, but to the same dir so it has name PCF_ now
I press F5 in browser
And now keep attention! What happens: this has no logic!
The old rooms from the deleted version show to me!
It has nos sense, how could it remember the old rooms when I totally deleted PFC_ ???

I get confused prom PFC more and more :-(
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby h4ever » Tue Jun 08, 2010 2:58 pm

I load my index.php. After reload chat worked fine. I wrote /rehash and I expected that the configuration would be visible immediately. No error found. But after time, it writes:

You exeeded max. rooms number or so... and then:

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: whois2-ok-# <Hash:{'ip': '78.102.173.117', 'flood_nbchar': '', 'floodtime': '1276004388', 'flood_nbmsg': '', 'isadmin': '1', 'nick': 'guest', 'nickid': '22b5df67dc7035959ae8baf48be3b294960c90f5'}>

handleResponse: getnewmsg-ok-[['1', '08/06/2010', '15:39:48', 'guest', 'f04b4a8d32ea032cabe9f27abc29c11a', 'send', 'sdf', 1, 1]]

handleResponse: getnewmsg-ok-[['1', '08/06/2010', '15:37:11', 'guest827', '1ddda23671eca3741943c437fda28047', 'notice', 'guest827 joins My room', 1, 1], ['2', '08/06/2010', '15:37:18', 'guest827', '1ddda23671eca3741943c437fda28047', 'send', 'fff', 1, 1], ['3', '08/06/2010', '15:39:34', 'guest', '1ddda23671eca3741943c437fda28047', 'send', 'asd', 1, 1]]

handleResponse: who2-ok-# <Hash:{'chan': 'ch_SM-OLO', 'chanid': 'fa65d64485ec727c5c262f235594fda3', 'meta': # <Hash:{'users': # <Hash:{'nick': ['guest'], 'nickid': ['22b5df67dc7035959ae8baf48be3b294960c90f5']}>}>}>

handleResponse: who2-ok-# <Hash:{'chan': 'ch_SM-OL', 'chanid': 'f04b4a8d32ea032cabe9f27abc29c11a', 'meta': # <Hash:{'users': # <Hash:{'nick': ['guest'], 'nickid': ['22b5df67dc7035959ae8baf48be3b294960c90f5']}>}>}>

handleResponse: who2-ok-# <Hash:{'chan': 'ch_My room', 'chanid': '1ddda23671eca3741943c437fda28047', 'meta': # <Hash:{'users': # <Hash:{'nick': ['guest'], 'nickid': ['22b5df67dc7035959ae8baf48be3b294960c90f5']}>}>}>

handleResponse: connect-ok-guest

handleResponse: join-ok-['fa65d64485ec727c5c262f235594fda3', 'SM-OLO']

handleResponse: join2-ok-f04b4a8d32ea032cabe9f27abc29c11a,SM-OL

handleResponse: join2-ok-1ddda23671eca3741943c437fda28047,My room

handleResponse: nick-notchanged-guest

sendRequest: /connect "guest"
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby h4ever » Tue Jun 08, 2010 3:00 pm

Why all the reports under chat window??? On every enter.

Note: the index.php of mine, loaded, is the one thing I loaded. No other changes made.
Last edited by h4ever on Tue Jun 08, 2010 3:00 pm, edited 1 time in total.
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby h4ever » Tue Jun 08, 2010 6:21 pm

Now I cannot rehash. I could before, but now not. I didnot change passwords...

So I configurate
$params['admins'] = array('bob' => 'bob');

But I don't know how to login. From the chat input area? But how? command like /nick or /identify does not work. I have no login window
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby re*s.t.a.r.s.*2 » Tue Jun 08, 2010 6:53 pm

You need to change your nickname with the name in the array('bob' => 'bob'); then use the command "/identify password" where password is the one you setup.... remember if the command rehash does'nt work you can with FTP delete the content /data/private/cache folder... hope this help...regards
Search gas prices in Los Angeles at tankUpLA
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby h4ever » Tue Jun 08, 2010 7:14 pm

/identify bob

Identification failure

handleResponse: identify-ko-Identification failure

Strange... Still fails. And I don't understand the "debug" reports or what is it... why...
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby DreadPirateVane » Tue Jun 08, 2010 7:17 pm

Check to see that debug mode is not enabled
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby h4ever » Tue Jun 08, 2010 8:12 pm

OK, I GOT IT!

Problem is the cache file - was incorrectly set after installation:

'firstisadmin' => false, 'debug' => true,

Therefor (?) I couldn't login as admin (?).

I set 'firstisadmin' => true, 'debug' => false,

and can rehash now.

Why I did not delete the cache? This system is so crazy so I just worried what it would do again. But this is not final victory. I need to get back my changes.
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby h4ever » Tue Jun 08, 2010 9:32 pm

New problem :-) :-(

the debug reports are displayed again. In cache it is disabled. In config (index.php params + globalconfig class) false.

Guys I think I will go mad from this...

NEW FEATURE CREATED
One positive thing. I added a property displaytabclosebutton to pfcGlobalConfig.class . This way you will not see the dialog box to confirm leaving room.

See new thread in forum
http://www.phpfreechat.net/forum/viewto ... 217#p15217
Last edited by h4ever on Tue Jun 08, 2010 9:59 pm, edited 1 time in total.
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby re*s.t.a.r.s.*2 » Wed Jun 09, 2010 2:54 pm

Watch out for this one,
I set 'firstisadmin' => true,

means that the first person going into the chat is ADMIN, so that needs to be FALSE... you must have something else wrong....regards...
Last edited by re*s.t.a.r.s.*2 on Wed Jun 09, 2010 2:55 pm, edited 1 time in total.
Search gas prices in Los Angeles at tankUpLA
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby h4ever » Wed Jun 09, 2010 3:10 pm

Yesterday I checked it . There was debug = false, and today debug = true ... and this is it...
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby todhend » Wed Jun 09, 2010 10:28 pm

just to clarify at the top of this thread how to log in as the admin

you would set this up in your config, not the index

var $admins = array("yourname" => "yourpassword");

delete the cache file

you have to be logged in as yourname- "syntax has to be correct"

in the command line type /identify yourpassword

the chat will say Successfully identified and change your statice to an admin

hope this helps :)
Last edited by todhend on Wed Jun 09, 2010 10:30 pm, edited 1 time in total.
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby todhend » Wed Jun 09, 2010 10:37 pm

also something good to know if your having trouble with a variable in cache just add it to the list of vars not to be cached, a good reason for this is if you get the result from a variable outside the chat that changes you would defiantly add it here

var $_dyn_params = array("nick","isadmin","islocked","admins","frozen_channels", "channels", "privmsg", "nickmeta","time_offset","date_format","time_format");
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby todhend » Thu Jun 10, 2010 1:29 am

"You have to connect before you join a room."
.

this happens when the chat has logged you out for inactivity but your browsers cache did not let you close, no fault to the chat

var $timeout = 35000; change this to a larger number in the config then delete the cache file
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby h4ever » Fri Jun 11, 2010 7:39 am

var $admins = array("admin" => "bob");

Then how can I log in? Do I need a login box?
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Next

Post a reply
21 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

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