Show Categories
76
1

I have download the installation guide and follow the guide and install my freichat in my public html...(ie , unzip the file) and when i try to locate the freichat it says...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@zogamonline.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



What should i do..do i miss some thing .... i am using Joomla 2.5 . Is it not supported by joomla 2.5 ? Freidchat version i used is FreiChat.V.9.5.

285
3

I have a site that uses login script and i use

$_SESSION["username"]
as my session and i did all the necessary changes with the page i want the chat to appear and i also change the hardcore and i can see my user in the admin end of the chat when click on moderation.but if a user logs in it still display as guest below is my script where the integration occours.
<?php $ses = null; // Return null if user is not logged in 

if(isset($_SESSION['username']))
{
if($_SESSION['username'] != null) // Here null is guest
{
$ses=$_SESSION['username']; //LOOK, now username is suppose to pass to FreiChat but it won't.
}
}

if(!function_exists("FreiChatx_get_hash"))
{
function FreiChatx_get_hash($ses){//And the rest of the code as it is . .


if(is_file("C:/wamp/www/Dagogo_temp/freichat/hardcode.php")){

require "C:/wamp/www/Dagogo_temp/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);

}
else
{
echo "<script>alert('module freichatx says: hardcode.php file not
found!');";
}

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://localhost/Dagogo_temp/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>"></script><link rel="stylesheet" href="http://localhost/Dagogo_temp/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!--===========================FreiChatX=======END=========================-->

and the hard core is below
<em>
<?php /* Data base details */
$con = 'mysql'; // MySQL , Oracle , SQLite , PostgreSQL
$username='root'; // Database username
$password=''; //Database password
$client_db_name='online'; //Database name
$host='localhost'; //host
$port=''; //optional port for some servers using different port
$driver='Custom'; //Integration driver
$db_prefix=''; //prefix used for tables in database
$uid='52b2c4244f15f'; //Any random unique number

$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true; //make it false if you want to reinstall freichat
$admin_pswd='adminpass'; //backend password

$debug = false;

/* email plugin */
$smtp_username = '';
$smtp_password = '';



/* Custom driver */
$usertable='users'; //specifies the name of the table in which your user information is stored.
$row_username='username'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
$avatar_field_name = 'avatar';
</em></em>


<em>
<?php require 'base.php';

class Custom extends driver_base {

public function __construct($db) {
//parent::__construct();
$this->db = $db;
}

//------------------------------------------------------------------------------
public function getDBdata($session_id, $first) {

if ($session_id != null) {
$userID = strip_tags($session_id);
$_SESSION[$this->uid . 'is_guest'] = 0;
} else {
$_SESSION[$this->uid . 'is_guest'] = 1;
$_SESSION[$this->uid . 'usr_name'] = $_SESSION[$this->uid . 'gst_nam'];
$_SESSION[$this->uid . 'usr_ses_id'] = $_SESSION[$this->uid . 'gst_ses_id'];
}

if (($_SESSION[$this->uid . 'time'] online_time || isset($_SESSION[$this->uid . 'usr_name']) == false || $first == 'false') && $_SESSION[$this->uid . 'is_guest'] == 0) { //To consume less resources , now the query is made only once in 15 seconds

$query = "SELECT DISTINCT " . $this->row_username . "," . $this->row_userid . "
FROM " . DBprefix . $this->usertable . "
WHERE " . $this->row_userid . "=?
LIMIT 1";

$res_obj = $this->db->prepare($query);
$res_obj->execute( array($userID) );// var_dump($res_obj);
$res = $res_obj->fetchAll();

if ($res == null) {
$this->freichat_debug("Incorrect Query : " . $query . " \n session id: ". $session_id ."\n PDO error: ".print_r($this->db->errorInfo(),true));
$_SESSION[$this->uid . 'is_guest'] = 1;
$_SESSION[$this->uid . 'usr_name'] = $_SESSION[$this->uid . 'gst_nam'];
$_SESSION[$this->uid . 'usr_ses_id'] = $_SESSION[$this->uid . 'gst_ses_id'];
}

foreach ($res as $result) {
if (isset($result[$this->row_username])) { //To avoid undefined index error. Because empty results were shown sometimes
$_SESSION[$this->uid . 'usr_name'] = $result[$this->row_username];
$_SESSION[$this->uid . 'usr_ses_id'] = $result[$this->row_userid];
}
}
}
else {
$this->freichat_debug("Wrong method defined!");
}
}

//------------------------------------------------------------------------------
public function linkprofile_url($result, $r_path, $def_avatar) {
$iden = $result['profile_iden']; //additional data
$id = $result['session_id'];
$str = "<span id='freichat_profile_link_" . $id . "' class="freichat_linkprofile_s">";

$path = "<a href="%22%20.%20%24r_path%20.%20%22index.php?userid=%22%20.%20%24id%20.%20%22">";

$str = $str.$path."<img title='" . $this->frei_trans[' profilelink . class="freichat_linkprofile" src="%22%20.%20%24def_avatar%20.%20%22" alt="view"></a></span>";

//return $str;
return '';
}

//------------------------------------------------------------------------------

public function avatar_url($avatar) {
$murl = str_replace("server/freichat.php", "", $this->url);
$avatar_url = $murl . 'client/jquery/user.jpeg';
return $avatar_url;
}
//------------------------------------------------------------------------------
public function getList() {

$user_list = null;

if ($this->show_name == 'guest') {
$user_list = $this->get_guests();
} else if ($this->show_name == 'user') {
$user_list = $this->get_users();
} else {
$this->freichat_debug('USER parameters for show_name are wrong.');
}
return $user_list;
}
//------------------------------------------------------------------------------
public function get_guests() {

$query = "SELECT DISTINCT status_mesg,username,session_id,status,guest
FROM frei_session
WHERE time>" . $this->online_time2 . "
AND session_id!=" . $_SESSION[$this->uid . 'usr_ses_id'] . "
AND status!=2
AND status!=0";
//echo $query;
$list = $this->db->query($query)->fetchAll();
return $list;
}

//------------------------------------------------------------------------------
public function get_users() {

$query = "SELECT DISTINCT status_mesg,username,session_id,status,guest
FROM frei_session
WHERE time>" . $this->online_time2 . "
AND session_id!=" . $_SESSION[$this->uid . 'usr_ses_id'] . "
AND guest=0
AND status!=2
AND status!=0";

$list = $this->db->query($query)->fetchAll();
return $list;
}

//------------------------------------------------------------------------------
public function get_buddies() {

$query = "SELECT DISTINCT status_mesg,username,session_id,status,guest
FROM frei_session
WHERE time>" . $this->online_time2 . "
AND session_id!=" . $_SESSION[$this->uid . 'usr_ses_id'] . "
AND guest=0
AND status!=2
AND status!=0";

$list = $this->db->query($query)->fetchAll();
return $list;
}

//------------------------------------------------------------------------------
public function load_driver() {

define("DBprefix", $this->db_prefix);
$session_id = $this->options['id'];
$custom_mesg = $this->options['custom_mesg'];
$first = $this->options['first'];

// 1. Connect The DB
// DONE
// 2. Basic Build the blocks
$this->createFreiChatXsession();
// 3. Get Required Data from client DB
$this->getDBdata($session_id, $first);
$this->check_ban();

// 4. Insert user data in FreiChatX Table Or Recreate Him if necessary
$this->createFreiChatXdb();
// 5. Update user data in FreiChatX Table
$this->updateFreiChatXdb($first, $custom_mesg);
// 6. Delete user data in FreiChatX Table
$this->deleteFreiChatXdb();
// 7. Get Appropriate UserData from FreiChatX Table
if ($this->usr_list_wanted == true) {
$result = $this->getList();
return $result;
}
// 8. Send The final Data back
return true;
}

}

</em>

Please check it out and assist me please.
I love the freichat it smooth
Can i add two tables to $row_username='username';
because i have two different tables with with users in them and i want them all to chat.
Thanks in advance.
53
1
DGray425 posted Dec 18 '13 at 5:44 am

I followed the steps of installation, and when i try and go to " http://babyitsourworld.com/freichat/installation/index.php " it says:

The requested URL /freichat/installation/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I followed the instructions. the frei chat folder is installed in my : /public_html/plugins/authentication/joomla/freichat path. and i extracted it.

I'm still having trouble. Not sure what i'm doing wrong.

95
1

Hi, i'm with joomla 3 and im not be able to show the freichat on my site.

Here's the code of my consol error show;

GET http://lhgmq.ca/freichat/client/jquery/freichat_themes/freichatcss.php 404 (Not Found) lhgmq.ca/:22
GET http://lhgmq.ca/freichat/client/main.php?id=75e6e934bbebcbaca3d3327b47d417b6&xhash=0 404 (Not Found) lhgmq.ca/:85
Uncaught SyntaxError: Unexpected token ILLEGAL

thx a lot ;)

70
4
Lekins101 posted Dec 13 '13 at 11:19 am

I just downloaded Joomla! 3.2, and I am using the latest version of joomla! installed it but module is not visible checked my phpmyadmin freichat structures are visible but wont show on the site. the last time i installed freichat and it worked, it was the admin that did it but deleted some of my modules and i wish you could do it again without deleting modules.

118
6
GTN posted Dec 11 '13 at 5:24 pm

I have uploaded the software to my forum, but don't know where to find the parameters needed to complete the setup (DBHost, DBPort, etc.). Any assistance would be greatly appreciated.

104
8
nonno posted Dec 10 '13 at 1:45 am

hello,

to test I installed the basic version and module for joomla however it does not work.
I have the module on the homepage but not empty, I can go to the admin page.
I phpbb coupled with joomla it just might be there.
when the administration moseration tab and I did a search I will post :
Fatal error: Call to a member function fetchAll() on a non-object in /home/clubs793/public_html/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 129

Thank you.

www.clubstationlive.fr

59
4

Hi,

Ive just watched the video for installing Freichat.v.9.5 and followed the instructions -

- Unzipped download,
- copied to Joomla directory

But when i then try and run the installation page - http://commerce3.derby.ac.uk/~st100284606/joomla/freichat/

I get the 404 page cannot be found error message.

I have also tried this page to run the installation - http://commerce3.derby.ac.uk/~st100284606/joomla/freichat/installation/install.php

But also get the same error message.

Any help would be greatly appreciated,

Joomla 3.0
Windows 7

Many Thanks

67
3
Ericles posted Dec 6 '13 at 8:04 pm

Hello,
I've been very happy with Freichat but today we had over a dozen people chatting and my web hosting got shut down for "high CPU overload".
We're running version 9.2 and using "Short Polling". Would using Comet polling be better?
Thanks!

56
2
vagabondbzh posted Dec 3 '13 at 1:54 pm

Hello,
sorry for my broken English.
I have installed on my page freichat but the module does not work and the appearance of the cat at the bottom of the site does not work as the demo.
Could you take a look at my page?
www.collectifetudiant.org

In advance, thank you for your advice.

60
2
novbary posted Dec 2 '13 at 10:12 am

I installed your application. Everything worked fine, but now I do not see users online. Chat disappears after about 3 minutes.

Joomla 2.5

108
0
admin posted Nov 30 '13 at 5:34 pm

 


FreiChat V9.5 is released , it mainly includes many important bug fixes , so we recommend you to update to the latest version. 


Features



  • phpfusion avatar and link to profile integration

  • time next to messages in save conversation

  • german file added thanks to homburg.<wbr>andreas@gmail.<wbr>com</wbr></wbr>

  • guests can now change their names

  • added mobile tranlations

  • CSS improvements

  • improved chatroom backend configuration options


 


Bugs



  • prevent banned users from posting

  • chatroom name with quotes bug fixed

  • ACL options not affecting mobile chat fixed

  • mobile chat unusable after refresh in subpages fixed

  • mobile chat back button bug fixed

  • theme maker gradient editor bugs fixed

  • theme maker save function not working fixed(also made more effecient )

  • multiple chatwindow duplication bug fixed

  • fixed duplicate users in mobile chat

  • fixed chat sound notifications

  • profile link inconsistencies fixed

  • mail widget fixed in mobile chat

93
1
ifws posted Nov 29 '13 at 1:16 pm

When I start the videochat in Internet Explorer 11 I get a message:

Needs an upgrade!
Sorry , but your browser does not have the required features to support video chat
You will need to upgrade your browser ! Download Chrome or firefox

What is missing to start the video chat in Internet Explorer?

52
1
sonal123 posted Nov 29 '13 at 7:03 am

Hi ,
ihave installed free version for joomla cms.
only admin user is shows online
why no other user shows online whether they are online.
and one thing also - can its support to jomsocial alos

58
2

Hi, have downloaded your free version and are considering upgrading to the platinum version,

I need it so the registered users can only see a specific user group in the whos online menu,
I have pretty much achieved this via 'Who should be on the online users list' in the backend however the issue is now the specific user group cannot see the registered users.

Basically I need it so the registered user can only see and messages this specific user group but the specific user group can see everyone and message everyone.
I need the above for client privacy reasons.

Please advise if this is possible.

56
1
je007 posted Nov 27 '13 at 7:41 pm

I installed freichat in joomla platform. I respective tutorial exactly and it worked out well, I published, but when I load the chat page does not appear. please help yourself.

88
5
tfernandez posted Nov 26 '13 at 9:49 pm

I initially installed Freichat locally to test and it installed perfectly. So then I installed it on our internal server to use with on of our applications. The chat message window shows up however it does not show the logged in user's name instead it shows as guest. It is passing the userid to freichat/main.php

<script type="text/javascript" language="javascipt" src="freichat/client/main.php?id=1&xhash=fd8f364391f8f26eec108dc97076a773">
</script><link rel="stylesheet" href="freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">


But once it gets there it just goes to 0 and guest:
// GEN => GENERAL   CONFIGURATION
GEN : {
is_guest : '0',//
url:'https://stg-testcase.flex125.com/freichat/',
ses_status:'1',//
reidfrom:'1385612634',//
getid:'1',
fromname:'Guest-9ub',
custom_mesg:Get_Cookie('frei_custom_mesg'),
time:Get_Cookie('frei_time'),
fromid:'1385612634',
referer:window.location.href,
rtl:'',
content_height:'200px',
user_defined_chatbox_content_status:'false',
BOOT:'yes',
force_load_jquery: 'NO',
custom_error_handling: 'YES'
},


I have verified that it is calling the correct fields in the database to get the username. As I mentioned, this is working fine on my local wamp but not on the server. This is an internal server so I am unable to send any links. Also, on the admin page, the Moderation Page only has the side menu and your logo at the top. The rest of the page is blank. On my local version it has the table with the list of users, number of messages etc. I did a reinstall to see if any of this would be corrected and it didn't help.
49
1
soool posted Nov 25 '13 at 5:31 pm

Hello, i don't need chatrooms within my website. Is there any way i can remove the chatrooms? I only need the one-to-one chats between users

122
3

Hello. I currently have shoutbox running as a chat on my SMF forum. I wanted to try out FreiChat. I unzipped it and uploaded all directories and files to my server. I navigated to the freichat installation page on my site and went through the install process. I can log in just fine to the adminster panel. It even tells me that users are logged in and other information. However on my forum, I cannot see any sort of freichat or anything different. I then installed the mod onto the SMF forum, it also told me that the install was successful, but I cant see anything different.

When I click on configuration in freichat I get the following error.

array(3) { ["freiload"]=> string(23) "chatrooms/configuration" ["__cfduid"]=> string(46)

When I click on create a chatroom I get

array(3) { ["freiload"]=> string(19) "chatrooms/chatrooms" ["__cfduid"]=> string(46)

(I have removed the PHP session and other string information from this post)


82
5
damsoi01 posted Nov 22 '13 at 6:31 pm

Hi,

I tested codopm, excellent first version! I saw the projects for future releases, I would like to suggest that the user receives an email to his personal inbox (a little like facebook notifies users of new emails to the users' email address).

236
4
linksmas posted Nov 20 '13 at 6:36 pm

I instaled you Frei chat. Instaled chat module, but on my web page I see only empty module (see here: http://www.seimos.eu/freichat.JPG).
Checked all Frei administration point..
Template: http://www.shape5.com/product_details/free_templates/vertex_-_free_joomla_template.html
Work with Joomla 2.5
Frei chat installed in "..Joomla/chat"

75
1
Tunbay posted Nov 17 '13 at 10:17 am

I have upgraded freichat to corporate version. But i cannot use mobile chat. I have tried adress forum/freichat/client/main.php. The result is blank page.

My sistem is smf and with mod freichat integration and i have tried mobile chat with galaxy s3. My forum site and frei chat is working ok.

Please help

60
1
gtb posted Nov 16 '13 at 11:56 am

does the sound notification on new message work in the free version?

geoff

Categories
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Previous
Next
With selected deselect topics
Pending draft ... Click to resume editing
Discard draft