I've just installed the latest version of the Drupal module to install Php Chat here:
http://www.evacmod.net/?q=node/123
Unfortunately, php chat never actually loads (though it keeps saying "Chat loading ...". Originally I did have to change the .module file in the phpfreechat_load_params() function (in the Drupal Module) to:
// Configure file paths
$filepath = variable_get('file_directory_path', 'files');
$params['data_private_path'] = $filepath.'/phpfreechat/data/private';
$params['data_public_url'] = $filepath.'/phpfreechat/data/public';
...to get the page loading at all.
Any ideas?
(i'm using FF but have tried this with IE and the same problem occurs)
P.S
I've got the demo version working on the site:
http://www.evacmod.net/modules/phpfreechat/phpfreechat/demo
Comments
Ok, I've managed to solve my
Ok, I've managed to solve my own problem.
The problem was with the .module file. Within the phpfreechat_load_params() function the following needs to be altered/added:
// Configure file paths
$filepath = variable_get('file_directory_path', 'files');
$params['data_private_path'] = $filepath.'/data/private';
$params['data_public_url'] = $filepath.'/data/public';
$params['data_public_path'] = file_check_location($filepath.'/data/public');
Also I needed to comment out/remove this line:
//$params['theme_url'] = $base_url .'/'. drupal_get_path('module', 'phpfreechat') . '/extras/themes';
I noticed that there was not a Drupal theme directory in the normal download of Phpchat.
Hope this helps someone.