not loading the default channel, rehash problem, and file paths
| Project: | phpfreechat |
| Version: | 5.x-1.2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
I am not sure if I could write it here but...
I installed the phpfreechat module 5.x-1.2, and the configuration I changed actually has NOT been applied to the chat room for some reason. Originally I had to rehash the cache in the chat room to clear the previous configuration, and then the new configuration could be finally updated. However, I couldn't rehash it anymore because the default chat channel is not loaded automatically, and therefore the command and messages I send don't go through.
Once I turned on the Debug Parameters in the advanced settings of the phpfreechat configuration page, it shows my new configuration has been updated in the array as I changed exactly like following:
Parameters: Array
(
[data_private_path] => /home/bsjeon/public_html/TelematicDrumCircle/files/phpfreechat/private
[data_public_url] => http://www.bsjeon.net/TelematicDrumCircle/files/phpfreechat/public
[data_public_path] => /home/bsjeon/public_html/TelematicDrumCircle/files/phpfreechat/public
[theme_url] => http://www.bsjeon.net/TelematicDrumCircle/modules/phpfreechat/modules/ph...
[theme_path] => /home/bsjeon/public_html/TelematicDrumCircle/modules/phpfreechat/modules/phpfreechat/extras/themes
[theme] => drupal
[server_script_url] => http://www.bsjeon.net/TelematicDrumCircle/modules/phpfreechat/modules/ph...
[server_script_path] => /home/bsjeon/public_html/TelematicDrumCircle/modules/phpfreechat/modules/phpfreechat/handler.php
[cmd_path] => /home/bsjeon/public_html/TelematicDrumCircle/modules/phpfreechat/modules/phpfreechat/extras/commands
[language] => en_US
[frozen_nick] => 1
[isadmin] => 1
[firstisadmin] =>
[title] => Say hello to people in the circle!!!
[channels] => Array
(
[0] => Telematic Drum Circle
)
[islocked] =>
[quit_on_closedwindow] =>
[focus_on_connect] => 1
[connect_at_startup] => 1
[start_minimized] =>
[nickmarker] => 1
[clock] => 1
[startwithsound] => 1
[openlinknewwindow] => 1
[notify_window] => 1
[short_url] => 1
[display_ping] => 1
[display_pfc_logo] => 1
[displaytabimage] => 1
[displaytabclosebutton] => 1
[showwhosonline] => 1
[showsmileys] => 1
[btn_sh_whosonline] => 1
[btn_sh_smileys] => 1
[debug] =>
[get_ip_from_xforwardedfor] =>
[nick] => bsjeon
[serverid] => f67b20d944bf5aeefc2123e1a6b87963
[nickmeta] => Array
(
[drupal_base_url] => http://www.bsjeon.net/TelematicDrumCircle
[drupal_user_uid] => 1
[away] => no
)
)
Anyone can manually load a channel in this context?
Anyone can tell me how to rehash it manually?
Does anyone can give me advice on this matter?
Many Thanks,

#1
I'm not really totally following your problem. You can set default rooms in the admin area. I have two default rooms set up, and there is no problem at all with them loading. Also, there is no relationship I know of between rehashing the settings and whether you are in a chat room.
I've used the /rehash command and it works fine for me. You can rehash manually by deleting the phpfreechat directory in the "files" directory.
What setting are you trying to change?