Show Categories
150
3
Smokey posted Apr 20 '13 at 9:39 am

I am trying to do a custom install for my game site but i keep getting this "hardcode.php not found" error printed at the top of the screen and I simply cannot figure out the issue. I've changed permission for all files in the freichat folder (which is in my root directory) to 755 but no luck. I placed the code in my header.php, I would appreciate any help I could get. I know this is a free version I'm trying to install and I wouldnt mind buying the full version if I knew for sure I would get the help needed to install it properly since it would be a custom install. BTW this is on a subdomain called playground which is my test server in case its important.

<?php class headers {
function startheaders() {
global $ir, $set;

echo <<<EOF

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<script src="js/jquery-1.7.2.min.js"></script><script src="js/lightbox.js"></script><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>{$set['game_name']} - Get Your Game On! </title>
<meta name="keywords" content="RPG, Online Mafia Game, Online Crime Game, Criminal Game">
<meta name="description" content=" {$set['game_name']} - Online Mafia Game ">
<meta name="author" content="Mayhem Productions">
<meta name="copyright" content="Copyright {$_SERVER['HTTP_HOST']} ">
<link type="text/css" rel="stylesheet" href="/style/style.css">
<link rel="SHORTCUT ICON" href="favicon.ico">
<link href="css/lightbox.css" rel="stylesheet">
<!--===========================FreiChatX=======START=========================--><!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code
Then remove FreiChatX tables frei_session & frei_chat if necessary
The best/recommended way is using the module for installation --><?php $ses=$userid;

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

if(is_file("/home1/darkmayh/public_html/playground/freichat/hardcode.php")){

require "/home1/darkmayh/public_html/playground/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="freichat/client/main.php?id=&lt;?php%20echo%20%24ses;?&gt;&amp;xhash=&lt;?php%20echo%20freichatx_get_hash(%24ses);%20?&gt;"></script><link rel="stylesheet" href="freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
<!--===========================FreiChatX=======END=========================-->
56
1
Ashir posted Apr 20 '13 at 8:49 am

Hi, Is possible to install Freichat without pdo and pdo-mysql?

I'm in a shared host server and to access those functions I will have to upgrade my account to a dedicated or VPS plan...

87
1
oss posted Apr 19 '13 at 10:54 am

hello, I can not add new smilies, it gives me a 403 error how can I do?

84
1
Harlekin posted Apr 14 '13 at 4:20 pm

Hello,

in the backend (administration) is the locale hardcoded, why do you not make locale that can be change for the administration too?

82
1

Hello,

i use the freichat with the php fusion driver, but it display no useravatar from php fusion. I am a newbie and i don't know what i must do to display the useravatar from php fusion in the freichat.

66
4
Hello3991 posted Apr 12 '13 at 9:56 am

Hi, I have a problem on my website, everytime i reload the page there is a new guest on freichat, how can i fix that ?
Thanks in advance.

52
1
mano posted Apr 11 '13 at 11:36 am

Hallo,
want to try freichat so i downloaded it to my wamp.
During installation the question what bb software i use but no smf to choose.
smf is so great but no install prosedure?..
Choosen the customized way and at the end have to past code in index.php ( i suppose in the template section? ) but smf have no index.php its colled there index.template.php, if i past the code there just before

157
1

Hello.

I just installed Freichat last night on Joomla 2.5 / CB 1.9 (standard free version)

We find that when clicking from one room to another, the text is not updated. Also it says nobody is online (I am online, do I not count? Perhaps it should say nobody else is online). One-to-one chats work ok.

Looking at the server logs, I see:

mod_fcgid: stderr: PHP Notice: Use of undefined constant DBprefix - assumed 'DBprefix' in freichat/server/drivers/JCB.php on line 138
mod_fcgid: stderr: PHP Notice: Use of undefined constant DBprefix - assumed 'DBprefix' in freichat/server/drivers/JCB.php on line 139
mod_fcgid: stderr: PHP Fatal error: Call to a member function fetchAll() on a non-object in freichat/server/drivers/JCB.php on line 151

I'm assuming the missing DBprefix in the first 2 errors is causing the fatal in the third line.

I edited freichat/server/drivers/JCB.php and at line 135 added (text in bold):

public function get_users() {

if (!defined('DBprefix')) {
define("DBprefix", $this->db_prefix);
}


This sorts this problem, but is probably not the correct way to do it.

I also see errors: mod_fcgid: stderr: PHP Notice: Undefined variable: res in freichat/server/freichat.php on line 305 and line 308


303 foreach($users as $user){
304
305 $guest = $res['username'];
306 $guest = strlen($guest) > 30 ? $this->msubstr($guest, 0, 16) . "..." : $guest;
307 //$img_url = $this->get_statusimg_url($res['status'],$onlineimg,$busyimg);
308 if ($this->linkprofile == 'enabled' && $res['guest'] == 0 && $_SESSION[$this->uid . "is_guest"] == 0) {

It would appear that $res is not defined. I have all guest access completely disabled. Could that cause it? In any case, it seems the warnings ought to be silenced.

I'd be interested in comments on these two problems.

80
0

Hello, I have a problem using the function FreiChat.create_chat_window_msg,
Si i have a button and when you clik on it it have to open a private chat window with a user so here is my problem :
When i click i get this error :

ReferenceError: simon is not defined
[Stopper sur une erreur]

FreiChat.create_chat_window_msg(simon,5);

Then i verified if simon was in the table frei_session and if the session id was correct...
So i don't know what to do.
Thanks in advance.

EDIT :
here is my code : <?phpecho '<div id="hello"><input class="btn_chat" type="button" value="Discuter avec '.$prenomAnnonceur.'" href="#" title="Contacter '.$prenomAnnonceur.'" onclick=" var nom=" freichat.create_chat_window_msg>';?>

I get a SyntaxError: syntax error on firefox console and a Uncaught SyntaxError: Unexpected token } on chrome console.

EDIT AGAIN:
OK I just resolved my problem, i was confused between php/js/html, sorry for the post ^^'.

92
4
autost posted Apr 9 '13 at 4:38 pm

Hi everybody!!

I used Freichat of you and i like it very much.

But, i have a problen with freichat:

i have website using joomla CMS, Tz portfolio module, and freichat show below picture:
http://nw6.upanh.com/b1.s34.d4/9133f421649671b8c26718647e6719af_54718736.screenshotfrom20130409221753.png

i attachments link download quickstart:
Freichat: http://www.mediafire.com/?56j73j58j95ewur
Template TZ Vania for Joomla 2.5: http://depositfiles.com/files/34rl77mvr
or: https://docs.google.com/file/d/0BxUA__UUGYl5cThpVWVubGJFNVE/edit?usp=sharing
Thanks, and look forward to receiving feedback.
thanks again!!

139
8
vindacochea posted Apr 8 '13 at 4:59 pm

Hi, tried install frieChat in SugarCrm, the process run smoothly, but when logging in sugarcrm I do not see the chat. The tables in DB mysql are created, and when you press CTRL + U, i see the line javascript with freichat. Also, i tried to change the position settings in the freichat admin console, but nothing solves the problem. Please help.

58
5

Hi,
i installed latest ver. of freichat (8.3), to joomla (integrated with CB) any published chat module on left.
Chat is set for registered users. After login cannot view chat :-(
Plese help. Website: bdsm-realita.cz

here is debuglog:
April 8, 2013, 12:53 am: main.php loaded

April 8, 2013, 12:54 am: main.php loaded

April 8, 2013, 12:54 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 12:54 am: main.php loaded

April 8, 2013, 12:56 am: main.php loaded

April 8, 2013, 12:56 am: main.php loaded

April 8, 2013, 12:56 am: main.php loaded

April 8, 2013, 12:56 am: main.php loaded

April 8, 2013, 12:56 am: main.php loaded

April 8, 2013, 12:56 am: Inserted the user with the following data :: Username = Kacir And ID = 663 Default status = Jsem dostupní

April 8, 2013, 12:57 am: main.php loaded

April 8, 2013, 12:57 am: Inserted the user with the following data :: Username = Host-1nsd And ID = 1365644271 Default status = Jsem dostupní

April 8, 2013, 12:59 am: main.php loaded

April 8, 2013, 12:59 am: Inserted the user with the following data :: Username = Host-1nsd And ID = 1365644271 Default status = Jsem dostupní

April 8, 2013, 1:00 am: main.php loaded

April 8, 2013, 1:00 am: Inserted the user with the following data :: Username = Guest-9yr And ID = 1365846463 Default status = Jsem dostupní

April 8, 2013, 1:01 am: main.php loaded

April 8, 2013, 1:02 am: main.php loaded

April 8, 2013, 1:02 am: main.php loaded

April 8, 2013, 1:02 am: main.php loaded

April 8, 2013, 1:07 am: main.php loaded

April 8, 2013, 1:07 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 1:07 am: main.php loaded

April 8, 2013, 1:12 am: main.php loaded

April 8, 2013, 1:12 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 1:16 am: main.php loaded

April 8, 2013, 1:16 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 1:16 am: main.php loaded

April 8, 2013, 1:16 am: main.php loaded

April 8, 2013, 1:27 am: main.php loaded

April 8, 2013, 1:27 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 1:33 am: main.php loaded

April 8, 2013, 1:33 am: Inserted the user with the following data :: Username = Host-9zy And ID = 1365597564 Default status = Jsem dostupní

April 8, 2013, 1:35 am: main.php loaded

April 8, 2013, 1:35 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 1:36 am: main.php loaded

April 8, 2013, 1:37 am: main.php loaded

April 8, 2013, 1:38 am: main.php loaded

April 8, 2013, 1:38 am: main.php loaded

April 8, 2013, 1:38 am: main.php loaded

April 8, 2013, 1:46 am: main.php loaded

April 8, 2013, 1:46 am: Inserted the user with the following data :: Username = Guest-9yr And ID = 1365846463 Default status = Jsem dostupní

April 8, 2013, 1:56 am: main.php loaded

April 8, 2013, 1:56 am: Inserted the user with the following data :: Username = Guest-9yr And ID = 1365846463 Default status = Jsem dostupní

April 8, 2013, 1:57 am: main.php loaded

April 8, 2013, 2:00 am: main.php loaded

April 8, 2013, 2:00 am: Inserted the user with the following data :: Username = temp And ID = 654 Default status = Jsem dostupní

April 8, 2013, 2:00 am: main.php loaded

April 8, 2013, 2:06 am: main.php loaded

April 8, 2013, 2:06 am: Inserted the user with the following data :: Username = Guest-9yr And ID = 1365846463 Default status = Jsem dostupní

April 8, 2013, 2:23 am: main.php loaded

April 8, 2013, 2:23 am: Inserted the user with the following data :: Username = Guest-9yr And ID = 1365846463 Default status = Jsem dostupní

April 8, 2013, 3:12 am: main.php loaded

April 8, 2013, 3:12 am: Inserted the user with the following data :: Username = Host-1nf And ID = 1365628836 Default status = Jsem dostupní

April 8, 2013, 3:14 am: main.php loaded

April 8, 2013, 3:14 am: Inserted the user with the following data :: Username = Host-1nf And ID = 1365628836 Default status = Jsem dostupní

61
7
sewhaa posted Apr 2 '13 at 6:59 pm

I have done all I possibly can to install the freichat application...It is still not working...I really want to had this to a site that I am building...the site name is... grannysay.com ...need some assistance please...Thanks in advancing

60
2
Skhyzo posted Mar 29 '13 at 11:19 pm

Hi,

I have installed FreiChat v8.2 to my Joomla 2.5.9 with Community Builder 1.9
I use only facebook like private chat.

If i choose Joomla driver, it works fine, but if I choose JCB driver there is error message:

Fetching...User..List
Querying DataBase
..............................


When I use the developer tool and choose Network tab i see the users, avatars, etc in the code BUT there is an error mesage on the top:

undefined index: in_room in ......../freichat/server/freichat.php on line 569

Can you help me?

130
20

hello, first of all, i really like this module, BUT i cannot install it into my website, i'm trying to do everything according to the guides that i can find in here and at the web but it just do not shows up. i'm using Ja purity 2 template, my address is arkal-portal.t15.org

Please someone help me 2 figure this put.
thanx

43
0
admin posted Mar 27 '13 at 12:41 pm

FreiChat v.8.2 has been released .

Features added :

1. avatar and status image added in chatroom users
2. Joomla group based access
3. chatroom slider position can be set as top or bottom in backend
4. chat options can be set to be shown as default in backend
5. ACL for private chat added in backend
6. reduce query usage for chatroom users by reusing the fetched users
7. mobile chat

Theme maker V 2.5 :

1. Hints added
2. Made compatible with firefox
3. Updated the HTML to the latest version
4. Improved functionality
5. rename bug solved
6. CSS parsing and many other bugs solved

Bugs :

1. Prototype function conflict
2. Sound bug after first message

Improvements :

1. css improvements for chatroom and backend theme maker

70
2
FuzMic posted Mar 26 '13 at 12:29 am

Hi admin

Since version 8.1 is working very well, like to understand more of its working. Here are some questions

What is the difference between send a file and save chat history?
What is the meaning of clear chat history, the current chat in the box or more?
How does the Chat Room (slider) work in relation to getting oneself into one of the chat rooms? What is significance of User and Room tabs in this slider?

Thanks in advance.

59
2
FuzMic posted Mar 25 '13 at 8:20 am

Hi admin

Let to restart this issue of sending the email in your new version 8..1.2 which i am now using

I use the following

'In the freichat panel
smtp
smtp.gmail.com
465
SSL

'in hardcore.php
UserName: mailaddres@gmail.com
Password: Password4mailaddress

'gmail account
POP/IMAP enabled


Error message is now

SMTP -> ERROR: Password not accepted from server: 535-5.7.1 Username and Password not accepted. Learn more at 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 dl1sm12581513pbc.17 - gsmtp
SMTP Error: Could not authenticate.
Message was not sent.

Mailer error: SMTP Error: Could not authenticate.

Any new insight? or where should i concentrate, looks like it is at gmail?

100
1
FuzMic posted Mar 22 '13 at 11:51 am

Hi guru

Your new version 8.1 looks very good, hence i tried on my local host. Everything works out fine. To do it right, i remove the old version by uninstalling, removal of the mysql tables and the related directories.

When i install in the host on the same way, the chat room slider did not appear. And the area where it show the user is right at the bottom left hand side. Also need to allow edit of all files 755 which block the installation at first. I am not sure if i miss any 755 that cause the problem.

In version 7.6 the chat room slides out fine at the top of the page and user appears at the bottom right side nicely, not in this version.

In the page where the chat room is, i assign it to the bottom position of the template involved. This position allows face book slider to come out nicely on the left hand top side. In the page with the chat room, no face book slider is there, i leave that space totally for chat room, hence it should worked.

Really like your new version, please help. Thanks.

99
13
slicks posted Mar 21 '13 at 4:34 pm

Hi, i got a small problem with FREICHTCHAT. Links in the chat are white on a white background. i do not know where i can change the format. I see there are many possibilitys in the admin section of FREICHAT but i do not see where i can change the linkcolors or the background color. Maybe someone can help me?

Thanks and regards from from germany,
Thorsten

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