FreiChat related discussions
Two problems

Hello,

I'm new to Freichat. And i have two problems. I use PhpFusion and this is first problem:

If i install free version of Freichat, all work perfect. Now, i buy Corporate version, install it and i don't see any Guest or members anymore.

I think, the problem is here:
If i go to the admin panel -> Moderation i get this error:

Fatal error: Call to a member function fetchAll() on a non-object in /data/t/e/**/**.com/web/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 130

How can i fix this problem, please?

Problem nr. two:

Freichat don't support friend sync for PhpFusion. I now, PhpFusion don't have friend system.
But, admin on my site create for me friend system with everything (search, requests, member list etc.). What i must to do in Freichat for show my friend list in the chat?
my database look like something like this:

table_id........friend_who........friend_with
....0.....................2......................1
....1.....................1......................2

Thanx

PS: Sorry for my English smile

**Hello**, I'm new to Freichat. And i have two problems. I use PhpFusion and this is first problem: If i install free version of Freichat, all work perfect. Now, i buy Corporate version, install it and i don't see any Guest or members anymore. I think, the problem is here: If i go to the admin panel -> Moderation i get this error: _Fatal error: Call to a member function fetchAll() on a non-object in /data/t/e/********/********.com/web/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 130_ How can i fix this problem, please? Problem nr. two: Freichat don't support friend sync for PhpFusion. **I now, PhpFusion don't have friend system.** But, admin on my site create for me friend system with everything (search, requests, member list etc.). What i must to do in Freichat for show my friend list in the chat? my database look like something like this: **table_id........friend_who........friend_with ....0.....................2......................1 ....1.....................1......................2** Thanx PS: Sorry for my English :S

Can you try re-installing freichat ?

What i must to do in Freichat for show my friend list in the chat?

You need to edit the queries in the file freichat/server/drivers/phpfusion.php so that it fetches the friends in the methods get_guests() & get_users() .
Asking your developer who designed the friend system to do this would be easier .

Can you try re-installing freichat ? >What i must to do in Freichat for show my friend list in the chat? You need to edit the queries in the file freichat/server/drivers/phpfusion.php so that it fetches the friends in the methods get_guests() & get_users() . Asking your developer who designed the friend system to do this would be easier .

Yes, I have reinstalled it 5-6 times and despite that it´s still reporting the same error.

I don´t have at disposal the person that was making it.
It´s an old project which I want to innovate. When I rewrite Query, should I keep a part of the original code that refers to the database called frei_session?

Yes, I have reinstalled it 5-6 times and despite that it´s still reporting the same error. I don´t have at disposal the person that was making it. It´s an old project which I want to innovate. When I rewrite Query, should I keep a part of the original code that refers to the database called frei_session?

When I rewrite Query, should I keep a part of the original code that refers to the database called frei_session?

Yes, Also there are already existing drivers that integrate with freind system .
For reference you can view them :
server/drivers/Jsocial.php
server/drivers/JCB.php

As for the error, that can happen if the database prefix is wrong .
Did you install freichat in a different database than phpfox ?
Please check that the database connection details and prefix are correct in freichat/hardcode.php

>When I rewrite Query, should I keep a part of the original code that refers to the database called frei_session? Yes, Also there are already existing drivers that integrate with freind system . For reference you can view them : server/drivers/Jsocial.php server/drivers/JCB.php As for the error, that can happen if the database prefix is wrong . Did you install freichat in a different database than phpfox ? Please check that the database connection details and prefix are correct in freichat/hardcode.php
204
3
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft