FreiChat related discussions

Got any problems? Then this is the best place for all your questions regarding FreiChat


I just purchased the upgrade to Corporate from Free. I'm not sure what I need to adjust to allow my SMF forum's visitors to use Freichat on their mobile phone or tablet. The current workaround is to show the website on the mobile device in desktop mode. I'm sure there is something I need to add to get access to the mobile chat feature in the paid version.

Thanks and I look forward to a prompt response.


recent by kaooss  ·  May 31 '18 at 2:33 am
obergfellja posted May 17 '18 at 5:13 pm

I am looking at the mobile section and Chat section and wondered if there is a way to activate the Mobile Rendering of the FREI Chat (which I have bought the Corporate version 11 a while back) ? I wanted to be able to give my users the ability to flip to a chat page if they want to, but unsure what the link would be.

I think it would be [domain]/freichat/client/chat.php , but would like some guidance to ensure it is setup properly and all.

recent by admin  ·  May 19 '18 at 2:04 pm

Humhub 1.25 Stream doesn't load when freichat 11 is activated.

Here are the errors I get:

Uncaught TypeError: $ is not a function
at setMailMessageCount (index.php?r=dashboard%2Fdashboard:192)
at index.php?r=dashboard%2Fdashboard:183
index.php?r=dashboard%2Fdashboard:407 Uncaught TypeError: $ is not a function
at index.php?r=dashboard%2Fdashboard:407
index.php?r=dashboard%2Fdashboard:547 Uncaught TypeError: $ is not a function
at index.php?r=dashboard%2Fdashboard:547
index.php?r=dashboard%2Fdashboard:673 Uncaught TypeError: $ is not a function
at index.php?r=dashboard%2Fdashboard:673
index.php?r=dashboard%2Fdashboard:693 Uncaught TypeError: $ is not a function
at index.php?r=dashboard%2Fdashboard:693
index.php?r=dashboard%2Fdashboard:909 Uncaught TypeError: jQuery is not a function
at index.php?r=dashboard%2Fdashboard:909

recent by admin  ·  May 15 '18 at 5:24 pm
Harlekin posted Apr 8 '18 at 9:27 am

There are errors if i use freichat on PHP 7.2.4 with PHP Fusion

  1. admin_base.php line 75:
$dim = count($name);

should be:

$dim = is_array($name) ? count($name) : 1;
  1. i become this error:
Warning: in_array() expects parameter 2 to be array, null given in ... administrator/admin_files/home/client_side/index.php on line 42
  1. if i disable chatrooms in ACP, i have a blue field on bottom of the site. (I think it was a problem on freichat 10 too)

  2. I use freichat with the PHP Fusion driver, but i can not change the setting for "Show link to user's profile". That will not save.

recent by Harlekin  ·  Apr 16 '18 at 4:23 pm
MKWeb posted Mar 31 '18 at 8:07 pm

Once installed and I login to the admin area, everything I click on (other then the dashboard itself) returns an error in arg.php

Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/arg.php on line 65

Fatal error: Call to a member function fetchAll() on a non-object in /home/u72/public_html/daytraderstar/chat/administrator/admin_files/chatrooms/chatrooms/index.php on line 218

Plus, I have added the code between the <head> and </head> tags and still see this message in the check form:

freichat code is not found ....
looks like you have copy pasted the code in the wrong location/file . please correct it

adamlevine posted Mar 6 '18 at 4:54 am

tôi đã cố gắng cho tuần nay để có được freichat làm việc
tôi có nó được cài đặt và trong quản trị tất cả người dùng từ trang web của tôi có

liều ai biết nơi tôi có thể đặt các tập lệnh php để có được các cuộc trò chuyện để hiển thị trên trang web của tôi

<? php
$ ses = null;

if (! function_exists ("freichatx_get_hash" nụ cười) {
chức năng freichatx_get_hash ($ ses) {


           require "/home/theopenr/public_html/naughty/freichat/hardcode.php";

           $temp_id =  $ses . $uid;

           return md5($temp_id);

           echo "<script>alert('module freichatx says: hardcode.php file not

tìm!' nụ cười; </ script> ";

   return 0;


recent by admin  ·  Mar 10 '18 at 6:09 am
Aahz posted Jan 16 '18 at 2:56 pm

Where can i download the FreiChat plugin for Codoforum integration, the download link from this page sends to download the regular install package.

Is there a ready to use plugin as mentioned, that i could upload to Codoforum directory and turn on on Codoforum admin panel?

I also noticed a chat related piece of commented code in the site, even though i haven't installed nothing yet from FreiChat:

                <script type="text/javascript" language="javascipt" src="http://localhost/codoforum/freichat/client/main.php"></script>
                <link rel="stylesheet" href="http://localhost/codoforum/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">


recent by Aahz  ·  Jan 23 '18 at 7:48 am

freichat don't get the online users.

Everyone is a guest also the users who are online.

Here the code:

$ses = $row['id']; //tell freichat the userid of the current user
setcookie("freichat_user", "LOGGED_IN", time()+3600, "/" ); // do not change -> freichat code
else {
$ses = null; //tell freichat that the current user is a guest
setcookie("freichat_user", null, time()+3600, "/" ); //
do not change -> freichat code

when i print $ses out it works it's printing the right userid but its not workink.

hope someone can help


I have followed the install instructions
Got to the end,
Gave me choice to download module, but that leads to 404 not found

Then tried to manually install code but I do not know where to put it
I have tried to look at my template but I cannot

I think for me it is better the module, maybe you could send me the module, or does that need to be generated by my server after install?

In admin interface
When I save in client side tab I see error
Warning: in_array() expects parameter 2 to be array, null ......

I would also like to disable the codologic copyright link
I have purchased the corporate edition

Thank you for your kind assistance

Kindly assist
Thank you

Hide topic messages
Enable infinite scrolling
123456 ... 67
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft