FreiChat related discussions
custom install dont work

I'm using dreamweaver for my web development
but installing freichat and I use my database does not work for me
and follow your tutorial but still people did not appear online
is always asking you to log
but when I select guest if it works perfectly.
can you help me?

I'm using dreamweaver for my web development but installing freichat and I use my database does not work for me and follow your tutorial but still people did not appear online is always asking you to log but when I select guest if it works perfectly. can you help me?

You may have not followed the custom installation steps properly .

Can you tell me the error , by enabling debug mode in FreiChatX
You will get log file in freichat folder

You may have not followed the custom installation steps properly . Can you tell me the error , by enabling debug mode in FreiChatX You will get log file in freichat folder
Necessity is the mother of all inventions!

October 27, 2011, 10:38 am: connected to database successfully

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name
FROM sessions AS s
LEFT JOIN users AS u ON u.uid = s.uid
WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: main.php loaded

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name
FROM sessions AS s
LEFT JOIN users AS u ON u.uid = s.uid
WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: connected to database successfully

October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name
FROM sessions AS s
LEFT JOIN users AS u ON u.uid = s.uid
WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters

October 27, 2011, 10:38 am: connected to database successfully October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name FROM sessions AS s LEFT JOIN users AS u ON u.uid = s.uid WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: main.php loaded October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name FROM sessions AS s LEFT JOIN users AS u ON u.uid = s.uid WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: connected to database successfully October 27, 2011, 10:39 am: Incorrect Query : SELECT DISTINCT s.uid, u.name FROM sessions AS s LEFT JOIN users AS u ON u.uid = s.uid WHERE s.uid = '920557d581abb97484df0eaccdaa38c8' LIMIT 1, check parameters

I link it to my database to my sessions but none of my works 2 ways, it is very likely that something is doing wrong, since I am new to programming, if you can help me thank you very much.

I link it to my database to my sessions but none of my works 2 ways, it is very likely that something is doing wrong, since I am new to programming, if you can help me thank you very much.

From the debug , its clear that the query for getting user list
is not working .

The first possibility arises for such problem is that database details
in arg.php may be wrong.

[Below step may make FreiChatX to stop working .
So remember to revert the changes when done]

You can try to debug the query .
Go to freichat/server/drivers/Custom.php

After line 31 add this line

echo $query;

After that , reload the page , and if you have chrome
open the debugger , by right clicking -> inspect element
In the console panel , search for error related to freichat
On clicking it(right) , you will get a raw query , just copy-paste it here .
And dont forget to revert the change after doing it .

From the debug , its clear that the query for getting user list is not working . The first possibility arises for such problem is that database details in arg.php may be wrong. [Below step may make FreiChatX to stop working . So remember to revert the changes when done] You can try to debug the query . Go to freichat/server/drivers/Custom.php After line 31 add this line <code> echo $query; </code> After that , reload the page , and if you have chrome open the debugger , by right clicking -> inspect element In the console panel , search for error related to freichat On clicking it(right) , you will get a raw query , just copy-paste it here . And dont forget to revert the change after doing it .
Necessity is the mother of all inventions!
Usuarios [0] max option option status
<div class="freichathead" id="freichathead"> <b>Usuarios</b> [<span id="frei_user_count" class="frei_user_count">0</span>] <span class="min_freichathead" onmousedown="FreiChat.min_max_freichat()"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/min.png" alt="max" height="12" width="12/"> </span><span onmousedown="FreiChat.freichatopt("nooptions")"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/opt.gif" title="Cambiar estado" alt="option"> </span> <span onmousedown="FreiChat.freichatTool("nooptions")"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/tool.png" title="Opciónes adicionales" alt="option"> </span> <span class="self_status_img"> <img id="frei_status" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/invisible.png" alt="status" align="left"> </span></div>
Usuarios [0] max option option status
<div class="freichathead" id="freichathead"> <b>Usuarios</b> [<span id="frei_user_count" class="frei_user_count">0</span>] <span class="min_freichathead" onmousedown="FreiChat.min_max_freichat()"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/min.png" alt="max" height="12" width="12/"> </span><span onmousedown="FreiChat.freichatopt("nooptions")"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/opt.gif" title="Cambiar estado" alt="option"> </span> <span onmousedown="FreiChat.freichatTool("nooptions")"> <img id="frei_img" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/tool.png" title="Opciónes adicionales" alt="option"> </span> <span class="self_status_img"> <img id="frei_status" src="http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/invisible.png" alt="status" align="left"> </span></div>











Usuarios [0] max option option status


Por favor inicie sesión!

<font size="1">Powered By <a href="http://evnix.com" target="_blank">EvNix</a></font>




&amp;lt;div id=&quot;friechtahtml&quot;&amp;gt;&amp;lt;div id=&quot;FREICHATXDATASTORAGE&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;freicontain freicontain0&quot; id=&quot;freicontain0&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;freicontain freicontain1&quot; id=&quot;freicontain1&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;freicontain freicontain2&quot; id=&quot;freicontain2&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;freicontain freicontain3&quot; id=&quot;freicontain3&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;sound&quot; class=&quot;sound&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;hidfreichat&quot; class=&quot;hidfreichat&quot; style=&quot;visibility:hidden&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;freichat&quot; class=&quot;freichat&quot; style=&quot;z-index: 99999;&quot;&amp;gt;&amp;lt;div id=&quot;frei_options&quot; class=&quot;frei_options&quot; style=&quot;display: none; &quot;&amp;gt;&amp;lt;br&amp;gt; &amp;lt;span class=&quot;frei_status_options&quot;&amp;gt; &amp;lt;span class=&quot;status_available&quot;&amp;gt; &amp;lt;img src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/online.png&quot; title=&quot;Disponible&quot; alt=&quot;on&quot;&amp;gt;&amp;lt;a onmousedown=&quot;FreiChat.freichatopt(&amp;quot;goOnline&amp;quot;)&quot; href=&quot;javascript:void(0)&quot;&amp;gt; Available&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&quot;status_busy&quot;&amp;gt; &amp;lt;img src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/busy.png&quot; title=&quot;Ocupado&quot; alt=&quot;by&quot;&amp;gt;&amp;lt;a onmousedown=&quot;FreiChat.freichatopt(&amp;quot;goBusy&amp;quot;)&quot;&amp;gt;Busy&amp;lt;/a&amp;gt; &amp;lt;/span&amp;gt; &amp;lt;br&amp;gt; &amp;lt;span class=&quot;status_invisible&quot;&amp;gt; &amp;lt;img src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/invisible.png&quot; title=&quot;Invisible&quot; alt=&quot;in&quot;&amp;gt; &amp;lt;a onmousedown=&quot;FreiChat.freichatopt(&amp;quot;goInvisible&amp;quot;)&quot;&amp;gt;Invisible&amp;lt;/a&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span class=&quot;status_offline&quot;&amp;gt; &amp;lt;img src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/offlineimg.png&quot; title=&quot;Desconectado&quot; alt=&quot;of&quot;&amp;gt;&amp;lt;a onmousedown=&quot;FreiChat.freichatopt(&amp;quot;goOffline&amp;quot;)&quot;&amp;gt;Offline&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;div class=&quot;custom_mesg&quot; id=&quot;custom_mesg&quot;&amp;gt;&amp;lt;input type=&quot;text&quot; id=&quot;custom_message_id&quot;&amp;gt; &amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;frei_tools&quot; class=&quot;frei_tools_options&quot; style=&quot;display: none; &quot;&amp;gt;&amp;lt;img onmousedown=&quot;FreiChat.restore_drag_pos()&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/restore.png&quot; title=&quot;Recuperar posiciones&quot; alt=&quot;in&quot;&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;div class=&quot;freichathead&quot; id=&quot;freichathead&quot;&amp;gt; &amp;lt;b&amp;gt;Usuarios&amp;lt;/b&amp;gt; [&amp;lt;span id=&quot;frei_user_count&quot; class=&quot;frei_user_count&quot;&amp;gt;0&amp;lt;/span&amp;gt;] &amp;lt;span class=&quot;min_freichathead&quot; onmousedown=&quot;FreiChat.min_max_freichat()&quot;&amp;gt; &amp;lt;img id=&quot;frei_img&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/min.png&quot; alt=&quot;max&quot; height=&quot;12&quot; width=&quot;12/&quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span onmousedown=&quot;FreiChat.freichatopt(&amp;quot;nooptions&amp;quot;)&quot;&amp;gt; &amp;lt;img id=&quot;frei_img&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/opt.gif&quot; title=&quot;Cambiar estado&quot; alt=&quot;option&quot;&amp;gt; &amp;lt;/span&amp;gt; &amp;lt;span onmousedown=&quot;FreiChat.freichatTool(&amp;quot;nooptions&amp;quot;)&quot;&amp;gt; &amp;lt;img id=&quot;frei_img&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/tool.png&quot; title=&quot;Opciónes adicionales&quot; alt=&quot;option&quot;&amp;gt; &amp;lt;/span&amp;gt; &amp;lt;span class=&quot;self_status_img&quot;&amp;gt; &amp;lt;img id=&quot;frei_status&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/invisible.png&quot; alt=&quot;status&quot; align=&quot;left&quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;frei_user_brand&quot; class=&quot;frei_user_brand&quot;&amp;gt;&amp;lt;div id=&quot;frei&quot; class=&quot;frei&quot; style=&quot;height: 36px; &quot;&amp;gt;Por&amp;nbsp;favor&amp;nbsp;inicie&amp;nbsp;sesión!&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;evnix334power&quot; class=&quot;evnix896power&quot;&amp;gt;&amp;lt;font size=&quot;1&quot;&amp;gt;Powered By &amp;lt;a href=&quot;http://evnix.com&quot; target=&quot;_blank&quot;&amp;gt;EvNix&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;onfreioffline&quot; id=&quot;onfreioffline&quot; style=&quot;display: none; &quot;&amp;gt;&amp;lt;a href=&quot;javascript:void(0)&quot; onmousedown=&quot;FreiChat.freichatopt(&amp;quot;goOnline&amp;quot;)&quot;&amp;gt;&amp;lt;img onmouseover=&quot;FreiChat.toggle_image(&amp;quot;frei_img&amp;quot;)&quot; title=&quot;Click para chatear!&quot; id=&quot;offlineimg&quot; src=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/basic/offline.gif&quot; alt=&quot;offline&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;

You gave the HTML output of freichat .

Please click the console panel (in chrome)and look for the error.
If you give me your website url i will get the sql query .

You gave the HTML output of freichat . Please click the console panel (in chrome)and look for the error. If you give me your website url i will get the sql query .
Necessity is the mother of all inventions!

URL is
http://portal.lander.com.mx/

user: test
password: test

URL is http://portal.lander.com.mx/ user: test password: test

Looks like, you have not edited the arg.php properly .

Because the chat is not recognizing me as an logged in user .
Please see to it the table names are correct in arg.php
Because i guess that can be a possible problem.

Looks like, you have not edited the arg.php properly . Because the chat is not recognizing me as an logged in user . Please see to it the table names are correct in arg.php Because i guess that can be a possible problem.
Necessity is the mother of all inventions!

I have reviewed my archigo arg.php and I think it's OK, I've modified my index.php file
I have followed the custom installation instructions and still does not work.

I have reviewed my archigo arg.php and I think it&#039;s OK, I&#039;ve modified my index.php file I have followed the custom installation instructions and still does not work.

can you paste your table structure, your modified index.php code and the modified arg.php code here.
I guess it will be easier for us to understand whats wrong.

can you paste your table structure, your modified index.php code and the modified arg.php code here. I guess it will be easier for us to understand whats wrong.
Necessity is the mother of all inventions!

arg.php archive

/* Data base details */
$con='mysql';
$username='pancho';
$password='lander';
$client_db_name='portalander';
$host='localhost';
$driver='Custom';
$db_prefix='frei_';
$uid='4ed3f16a8cd9c';


/* NOTE:= Below setting only applies to users using custom driver*/

//Tell FreiChatX what to use { Pure session } OR { Session and database }
/*
* Psession -> Pure sessions
* Sdatabase -> Session with database
*/

$freiuse="Psession"; //can have value as Psession or Sdatabase

/* If you are using only sessions to store User details */
//Please use only the index of session variable

//The default value in user name or user id session when user is a guest
$default_ses=null; //If you dont make any checks leave it null

$ses_username='userid'; /* Username stored in session*/ //Only index value
$ses_userid='id_usuario'; /* Userid stored in session */ //Only index value

/* OR */

/* if you are using database table to store User details */
$usertable='usuario'; //specifies the name of the table in which your user information is stored.
$row_username='Usuario'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='id_usuario'; //specifies the name of the field in which the user's id is stored (usually id or userid)

//Avatar
$avatar_field_name = 'avatar';
?>

arg.php archive &amp;lt;code&amp;gt; /* Data base details */ $con=&#039;mysql&#039;; $username=&#039;pancho&#039;; $password=&#039;lander&#039;; $client_db_name=&#039;portalander&#039;; $host=&#039;localhost&#039;; $driver=&#039;Custom&#039;; $db_prefix=&#039;frei_&#039;; $uid=&#039;4ed3f16a8cd9c&#039;; /* NOTE:= Below setting only applies to users using custom driver*/ //Tell FreiChatX what to use { Pure session } OR { Session and database } /* * Psession -&amp;gt; Pure sessions * Sdatabase -&amp;gt; Session with database */ $freiuse=&quot;Psession&quot;; //can have value as Psession or Sdatabase /* If you are using only sessions to store User details */ //Please use only the index of session variable //The default value in user name or user id session when user is a guest $default_ses=null; //If you dont make any checks leave it null $ses_username=&#039;userid&#039;; /* Username stored in session*/ //Only index value $ses_userid=&#039;id_usuario&#039;; /* Userid stored in session */ //Only index value /* OR */ /* if you are using database table to store User details */ $usertable=&#039;usuario&#039;; //specifies the name of the table in which your user information is stored. $row_username=&#039;Usuario&#039;; //specifies the name of the field in which the user&#039;s name/display name is stored. $row_userid=&#039;id_usuario&#039;; //specifies the name of the field in which the user&#039;s id is stored (usually id or userid) //Avatar $avatar_field_name = &#039;avatar&#039;; ?&amp;gt; &amp;lt;code&amp;gt; database structure &amp;lt;code&amp;gt; -- phpMyAdmin SQL Dump -- version 2.8.2.4 -- http://www.phpmyadmin.net -- -- Servidor: localhost:3306 -- Tiempo de generación: 05-12-2011 a las 11:26:53 -- Versión del servidor: 5.0.32 -- Versión de PHP: 5.2.6 -- -- Base de datos: `portalander` -- CREATE DATABASE `portalander` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `portalander`; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `frei_chat` -- CREATE TABLE `frei_chat` ( `id` int(10) unsigned NOT NULL auto_increment, `from` int(11) NOT NULL, `from_name` varchar(30) NOT NULL, `to` int(11) NOT NULL, `to_name` varchar(30) NOT NULL, `message` text NOT NULL, `sent` datetime NOT NULL default &#039;0000-00-00 00:00:00&#039;, `recd` int(10) unsigned NOT NULL default &#039;0&#039;, `time` decimal(15,0) NOT NULL, `message_type` int(11) NOT NULL default &#039;0&#039;, `room_id` int(4) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Volcar la base de datos para la tabla `frei_chat` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `frei_rooms` -- CREATE TABLE `frei_rooms` ( `id` int(11) NOT NULL auto_increment, `room_name` text NOT NULL, `room_order` int(4) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Volcar la base de datos para la tabla `frei_rooms` -- INSERT INTO `frei_rooms` (`id`, `room_name`, `room_order`) VALUES (1, &#039;Innovative Talk&#039;, 3), (2, &#039;Fun Talk&#039;, 1), (3, &#039;Boring Talk&#039;, 0), (4, &#039;General Talk&#039;, 2), (5, &#039;Supreme talk&#039;, -4); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `frei_session` -- CREATE TABLE `frei_session` ( `id` int(100) NOT NULL auto_increment, `username` varchar(255) default NULL, `time` int(100) NOT NULL, `session_id` varchar(100) NOT NULL, `permanent_id` int(100) NOT NULL, `status` tinyint(4) NOT NULL, `status_mesg` varchar(100) NOT NULL, `guest` tinyint(3) NOT NULL, `in_room` int(4) NOT NULL default &#039;-1&#039;, PRIMARY KEY (`id`), UNIQUE KEY `permanent_id` (`permanent_id`) ) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ; -- -- Volcar la base de datos para la tabla `frei_session` -- INSERT INTO `frei_session` (`id`, `username`, `time`, `session_id`, `permanent_id`, `status`, `status_mesg`, `guest`, `in_room`) VALUES (19, &#039;Invitados-1kkp4&#039;, 1323040678, &#039;1323241047&#039;, 1323241047, 1, &#039;I am available&#039;, 1, -1), (18, &#039;Invitados-9ff2&#039;, 1322876591, &#039;1323283092&#039;, 1323283092, 1, &#039;I am available&#039;, 1, -1), (17, &#039;Invitados-9f2c&#039;, 1322770097, &#039;1323062920&#039;, 1323062920, 1, &#039;I am available&#039;, 1, -1), (16, &#039;Invitados-9fbr&#039;, 1322715079, &#039;1323156438&#039;, 1323156438, 0, &#039;I am available&#039;, 1, -1), (15, &#039;Invitados-1kcci&#039;, 1322672170, &#039;1322802030&#039;, 1322802030, 1, &#039;I am available&#039;, 1, -1), (14, &#039;Invitados-1kgyu&#039;, 1322617206, &#039;1322945450&#039;, 1322945450, 1, &#039;I am available&#039;, 1, -1), (13, &#039;Invitados-1kik3&#039;, 1322609522, &#039;1323093203&#039;, 1323093203, 1, &#039;I am available&#039;, 1, -1), (11, &#039;Invitados-1kgt&#039;, 1322590650, &#039;1322747475&#039;, 1322747475, 1, &#039;I am available&#039;, 1, -1), (12, &#039;Invitados-1kh0&#039;, 1322589021, &#039;1322785700&#039;, 1322785700, 1, &#039;I am available&#039;, 1, -1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usuario` -- CREATE TABLE `usuario` ( `id_usuario` int(11) NOT NULL auto_increment, `Nombre` varchar(200) character set latin1 NOT NULL, `Direccion` varchar(200) character set latin1 NOT NULL, `Telefono` varchar(20) character set latin1 NOT NULL, `Fecha_Nac` date NOT NULL, `Fecha_Ingreso` date default NULL, `Puesto` varchar(100) character set latin1 default NULL, `Usuario` varchar(50) collate utf8_unicode_ci NOT NULL, `Password` varchar(50) character set latin1 NOT NULL, `perfil` varchar(50) character set latin1 NOT NULL, PRIMARY KEY (`id_usuario`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ; -- -- Volcar la base de datos para la tabla `usuario` -- INSERT INTO `usuario` (`id_usuario`, `Nombre`, `Direccion`, `Telefono`, `Fecha_Nac`, `Fecha_Ingreso`, `Puesto`, `Usuario`, `Password`, `perfil`) VALUES (4, &#039;test&#039;, &#039;test&#039;, &#039;999999&#039;, &#039;1980-02-10&#039;, NULL, &#039;test&#039;, &#039;test&#039;, &#039;test&#039;, &#039;usuario&#039;); &amp;lt;/code&amp;gt; index.php file modification &amp;lt;code&amp;gt; &amp;lt;!--==========================FreiChatX====VERSIONS====5.X====START========================--&amp;gt; &amp;lt;!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code Then remove FreiChatX tables frei_session &amp; frei_chat if necessary The best/recommended way is using the module for installation --&amp;gt; &amp;lt;!--==========================FreiChatX====VERSIONS====5.X====START========================--&amp;gt; &amp;lt;!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code Then remove FreiChatX tables frei_session &amp; frei_chat if necessary The best/recommended way is using the module for installation --&amp;gt; &amp;lt;?php if (isset ($_SESSION[&#039;userid&#039;])){ if ($_SESSION[&#039;userid&#039;] == 0){ $ses = null; // Devuelve null si el usuario no se registra en } // Aquí nula es invitado { $sesiones = $_SESSION [&#039;userid&#039;]; // Mira ahora id de usuario se analiza para FreiChatX } } if(!function_exists(&quot;freichatx_get_hash&quot;)){ function freichatx_get_hash($ses){ if(is_file(&quot;/var/www/vhosts/lander.com.mx/subdomains/portal/httpdocs/chat/arg.php&quot;)){ require &quot;/var/www/vhosts/lander.com.mx/subdomains/portal/httpdocs/chat/arg.php&quot;; $temp_id = $ses . $uid; return md5($temp_id); } else { echo &quot;&amp;lt;script&amp;gt;alert(&#039;module freichatx says: arg.php file not found!&#039;);&amp;lt;/script&amp;gt;&quot;; } return 0; } } ?&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; language=&quot;javascipt&quot;src=&quot;http://portal.lander.com.mx/chat/client/main.php?id=&amp;lt;?php echo $ses;?&amp;gt;&amp;xhash=&amp;lt;?php echo freichatx_get_hash($ses); ?&amp;gt;&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; language=&quot;javascipt&quot; src=&quot;http://evnix-dot-com.appspot.com/?time=&amp;lt;?php echo time(); ?&amp;gt;&quot; &amp;gt;&amp;lt;/script&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;http://portal.lander.com.mx/chat/client/jquery/freichat_themes/freichatcss.php&quot; type=&quot;text/css&quot;&amp;gt; &amp;lt;!-- NOTE:: The copypaste code differs from 4.X to 5.X and may differ for further versions--&amp;gt; &amp;lt;!-- So to be at a safer side always replace the entire FreiChatX code during installation--&amp;gt; &amp;lt;!--===========================FreiChatX====VERSIONS====5.X====END=========================--&amp;gt; &amp;lt;/code&amp;gt;

in the arg.php file, use the following parameter

$db_prefix="";

It is the Prefix used by your tables and not of FreiChatX.

in the arg.php file, use the following parameter &amp;lt;code&amp;gt; $db_prefix=&quot;&quot;; &amp;lt;/code&amp;gt; It is the Prefix used by your tables and not of FreiChatX.
Necessity is the mother of all inventions!

helloo..
i want to installed chat application on my php website but it is not work.i changed arg.php file and index.php file as per followed by ur step but its still not work properly.its argent for me.
please help..!!

helloo.. i want to installed chat application on my php website but it is not work.i changed arg.php file and index.php file as per followed by ur step but its still not work properly.its argent for me. please help..!!

enable debugging from the backend(and refresh your site) and see what errors are logged in freichat/freixlog.log file.

enable debugging from the backend(and refresh your site) and see what errors are logged in freichat/freixlog.log file.
Necessity is the mother of all inventions!

Hi there, I am trying to install Freichat to Vanilla 2 as a plugin.

All the vanilla side (plugin) seems to be fine, the correct things are being added to the forum pages and firing Freichat seems fine but it just loads the pages and thats it, not an incling of the chat system.

I have followed all instructions and double checked them and the log says :

January 4, 2012, 4:46 pm: main.php loaded

January 4, 2012, 4:46 pm: connected to database successfully

..and no more, like I say, nothing is visible..

website is http://www.starpeaceonline.info

Hi there, I am trying to install Freichat to Vanilla 2 as a plugin. All the vanilla side (plugin) seems to be fine, the correct things are being added to the forum pages and firing Freichat seems fine but it just loads the pages and thats it, not an incling of the chat system. I have followed all instructions and double checked them and the log says : January 4, 2012, 4:46 pm: main.php loaded January 4, 2012, 4:46 pm: connected to database successfully ..and no more, like I say, nothing is visible.. website is http://www.starpeaceonline.info

This video will explain everything required for basic custom installation .
http://evnix.com/drupal2/node/459

This video will explain everything required for basic custom installation . http://evnix.com/drupal2/node/459
Necessity is the mother of all inventions!

Hi, thanks for the quick reply, the video itself didn't actually help, it was sifting through the code in the end and noticing the line for javascript debugging with firebug, so i got firebug instaled and working and discovered not long after that a db query was coming back empty, a little more looking and the problem was ..... you guessed it the table prefix. blanked it out and hey presto up and running.

My problem now is the fact that it works fine in chrome, opera, firefox but not in ie9, any idea why this would be and how to fix it, my community plays a game built on the backend of ie so use it as there main browser so i really need ie supporting it.

Many thanks to you for your hard work, this script is amazing.

Hi, thanks for the quick reply, the video itself didn&#039;t actually help, it was sifting through the code in the end and noticing the line for javascript debugging with firebug, so i got firebug instaled and working and discovered not long after that a db query was coming back empty, a little more looking and the problem was ..... you guessed it the table prefix. blanked it out and hey presto up and running. My problem now is the fact that it works fine in chrome, opera, firefox but not in ie9, any idea why this would be and how to fix it, my community plays a game built on the backend of ie so use it as there main browser so i really need ie supporting it. Many thanks to you for your hard work, this script is amazing.
12
338
25
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