None result: I don't find any file like "freixlog.log" after test with theparameter debug=true in the arg.php file!
I understand why: I use >Firefox 4, and it's not compatible with Firebug!
NOTE: it's necessary to "edit" my post to read the complete code inserted here (but I think you know it) !
====
Here is my "index.php" in my Joomla Template: did I insert your special lines into the right place ?
============================================================
<?php /**
* @version $Id: index.php 20874 2011-03-03 17:05:10Z dextercowley $
* @package Joomla.Site
* @subpackage tpl_beez2
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
// check modules
$showRightColumn = ($this->countModules('position-3') or $this->countModules('position-6') or $this->countModules('position-8'));
$showbottom = ($this->countModules('position-9') or $this->countModules('position-10') or $this->countModules('position-11'));
$showleft = ($this->countModules('position-4') or $this->countModules('position-7') or $this->countModules('position-5'));
if ($showRightColumn==0 and $showleft==0) {
$showno = 0;
}
JHTML::_('behavior.framework', true);
// get params
$color = $this->params->get('templatecolor');
$logo = $this->params->get('logo');
$navposition = $this->params->get('navposition');
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$templateparams = $app->getTemplate(true)->params;
$doc->addScript($this->baseurl.'/templates/beez_20/javascript/md_stylechanger.js', 'text/javascript', true);
?>
<!--------------------- lignes insérées pour utiliser le Chat "FreiChatX" ------------------>
<?php $session = JSession::getInstance("none",array()); $ses=$session->getId(); ?>
<script type="text/javascript" language="javascript" src="http://localhost/mon_site6/installed/directory/freichat/client/main.php?id=<?php%20echo%20%24ses;?>"></script><link rel="stylesheet" href="http://localhost/mon_site6/installed/directory/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
<!--------------------- fin insertion pour le Chat ----------------------------------------><include type="head"></include><link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/system/css/system.css" type="text/css">
<link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/position.css" type="text/css" media="screen,projection">
<link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/layout.css" type="text/css" media="screen,projection">
<link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/print.css" type="text/css" media="print">
<?php $files = JHtml::_('stylesheet','templates/beez_20/css/general.css',null,false,true);
if ($files):
if (!is_array($files)):
$files = array($files);
endif;
foreach($files as $file):
?><link rel="stylesheet" href="<?php%20echo%20%24file;?>" type="text/css">
<?php endforeach;
endif;
?><link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/<?php%20echo%20htmlspecialchars(%24color);%20?>.css" type="text/css">
<?php if ($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/template_rtl.css" type="text/css">
<?php if (file_exists(JPATH_SITE. DS . '/templates/beez_20/css/' . $color . '_rtl.css')) :?><link rel="stylesheet" href="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/css/<?php%20echo%20%24color%20?>_rtl.css" type="text/css">
<?php endif; ?><?php endif; ?><!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/beez_20/css/ieonly.css" rel="stylesheet" type="text/css" />
<?php if ($color=="personal") : ?>
<style type="text/css">
#line
{ width:98% ;
}
.logoheader
{
height:200px;
}
#header ul.menu
{
display:block !important;
width:98.2% ;
}
</style>
<?php endif; ?>
<![endif]--><!--[if IE 7]>
<link href="<?php echo $this->baseurl ?>/templates/beez_20/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]--><script type="text/javascript" src="<?php%20echo%20%24this->baseurl%20?>/templates/beez_20/javascript/hide.js"></script><script type="text/javascript">
var big ='<?php echo (int)$this->params->get('wrapperLarge');?>%';
var small='<?php echo (int)$this->params->get('wrapperSmall'); ?>%';
var altopen='<?php echo JText::_('TPL_BEEZ2_ALTOPEN',true); ?>';
var altclose='<?php echo JText::_('TPL_BEEZ2_ALTCLOSE',true); ?>';
var bildauf='<?php echo $this->baseurl ?>/templates/beez_20/images/plus.png';
var bildzu='<?php echo $this->baseurl ?>/templates/beez_20/images/minus.png';
var rightopen='<?php echo JText::_('TPL_BEEZ2_TEXTRIGHTOPEN',true); ?>';
var rightclose='<?php echo JText::_('TPL_BEEZ2_TEXTRIGHTCLOSE'); ?>';
var fontSizeTitle='<?php echo JText::_('TPL_BEEZ2_FONTSIZE'); ?>';
var bigger='<?php echo JText::_('TPL_BEEZ2_BIGGER'); ?>';
var reset='<?php echo JText::_('TPL_BEEZ2_RESET'); ?>';
var smaller='<?php echo JText::_('TPL_BEEZ2_SMALLER'); ?>';
var biggerTitle='<?php echo JText::_('TPL_BEEZ2_INCREASE_SIZE'); ?>';
var resetTitle='<?php echo JText::_('TPL_BEEZ2_REVERT_STYLES_TO_DEFAULT'); ?>';
var smallerTitle='<?php echo JText::_('TPL_BEEZ2_DECREASE_SIZE'); ?>';
</script><!--------------------- lignes insérées pour utiliser le Chat "FreiChatX" ------------------>
<!--------------------- fin insertion pour le Chat ----------------------------------------->
<!-- end logoheader -->
<?php echo JText::_('TPL_BEEZ2_NAV_VIEW_SEARCH'); ?>
<?php echo JText::_('TPL_BEEZ2_NAVIGATION'); ?>
<include type="modules" name="position-1"></include>
<?php echo JText::_('TPL_BEEZ2_SEARCH'); ?>
<include type="modules" name="position-0"></include>
<!-- end line -->
<!-- end header -->
<include type="modules" name="position-2"></include>
Here is my "arg.php" file after install: do you find any error into ?
========================================
<?php /* FreiChatX parameters */
if(!defined('RDIR'))
{
define('RDIR', dirname(__FILE__));
define('PARENTDIR',dirname(RDIR));
}
$admin_pswd='catherin';
$url="http://".$_SERVER["HTTP_HOST"].$_SERVER['SCRIPT_NAME'];
$show_name='guest'; //you can have guest or user
$displayname='username'; //you can have username / name(nickname)
$show_module='visible'; //you can have'visible' or'hidden'
$chatspeed='5000'; //Do not change this value
$fxval='true'; //Set it to false if you do not want animations
$draggable='enable';
$conflict=''; //Jquery Conflicts 'true' or ''
$msgSendSpeed='1000'; //Message are sent after 1 second of post, reducing it will increase FreiChatX message sending speed but also will send more requests to the server! NOTE:: Do not decrease it below 1000
$show_avatar='block'; //Can have block or none
$debug=false; //option for debugging ,default is false
$freichat_theme='ce_green';
$css=$freichat_theme; //background color
$color=$css; //colour for chatbuttons
$lang='french'; //Language please do not include .php here only file name
$load='show'; //chatbox
$dyncss='disable'; //template patch
$evnixpower='visible'; //powered by evnix
$show_chatbox='';
$time='36000'; //In seconds
$JSdebug=true; // Javascript debug info shown in firebug (firefox extension). No quotes around true or false
$busy_timeOut=200; //In seconds user will be switched to busy status
$offline_timeOut=500; //In seconds user will be switched to offline status
/*FreiChatX plugin parameters*/
// File sending
$show_file_sending_plugin='false';
$file_size_limit=2000; //In Kilobytes
$expirytime=3000; //In minutes after which the uploaded files will be deleted
$valid_exts='image/jpeg,image/png,image/jpg,image/gif,application/zip'; //valid extensions separated by comma
//Translate
$show_translate_plugin = 'enabled'; //Can have enabled or disabled
/* Data base details */
$con='mysql';
$DBusername='root';
$DBpassword='catherin';
$client_db_name='faceaface';
$host='localhost';
$driver='JCB';
$db_prefix='jus_';
$uid='1300287155';
/* 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="Sdatabase"; //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='root'; /* Username stored in session*/ //Only index value
$ses_userid='loginid'; /* Userid stored in session */ //Only index value
/* OR */
/* if you are using database table to store User details */
$usertable='login'; //specifies the name of the table in which your user information is stored.
$row_username='root'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='loginid'; //specifies the name of the field in which the user's id is stored (usually id or userid)
?>
NOTE: it's necessary to "edit" my post to read the complete code inserted here (but I think you know it) !
====
None result: I don't find any file like "freixlog.log" after test with theparameter debug=true in the arg.php file!
I understand why: I use &gt;Firefox 4, and it's not compatible with Firebug!
NOTE: it's necessary to "edit" my post to read the complete code inserted here (but I think you know it) !
====
Here is my "index.php" in my Joomla Template: did I insert your special lines into the right place ?
============================================================
&lt;?php
/**
* @version $Id: index.php 20874 2011-03-03 17:05:10Z dextercowley $
* @package Joomla.Site
* @subpackage tpl_beez2
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
// check modules
$showRightColumn = ($this-&gt;countModules('position-3') or $this-&gt;countModules('position-6') or $this-&gt;countModules('position-8'));
$showbottom = ($this-&gt;countModules('position-9') or $this-&gt;countModules('position-10') or $this-&gt;countModules('position-11'));
$showleft = ($this-&gt;countModules('position-4') or $this-&gt;countModules('position-7') or $this-&gt;countModules('position-5'));
if ($showRightColumn==0 and $showleft==0) {
$showno = 0;
}
JHTML::_('behavior.framework', true);
// get params
$color = $this-&gt;params-&gt;get('templatecolor');
$logo = $this-&gt;params-&gt;get('logo');
$navposition = $this-&gt;params-&gt;get('navposition');
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$templateparams = $app-&gt;getTemplate(true)-&gt;params;
$doc-&gt;addScript($this-&gt;baseurl.'/templates/beez_20/javascript/md_stylechanger.js', 'text/javascript', true);
?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="&lt;?php echo $this-&gt;language; ?&gt;" lang="&lt;?php echo $this-&gt;language; ?&gt;" dir="&lt;?php echo $this-&gt;direction; ?&gt;" &gt;
&lt;head&gt;
&lt;!--------------------- lignes insérées pour utiliser le Chat "FreiChatX" ------------------&gt;
&lt;?php $session = JSession::getInstance("none",array()); $ses=$session-&gt;getId(); ?&gt;
&lt;script type="text/javascript" language="javascript" src="http://localhost/mon_site6/installed/directory/freichat/client/main.php?id=&lt;?php echo $ses;?&gt;"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="http://localhost/mon_site6/installed/directory/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"&gt;
&lt;!--------------------- fin insertion pour le Chat ----------------------------------------&gt;
&lt;jdoc:include type="head" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/system/css/system.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/position.css" type="text/css" media="screen,projection" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/layout.css" type="text/css" media="screen,projection" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/print.css" type="text/css" media="print" /&gt;
&lt;?php
$files = JHtml::_('stylesheet','templates/beez_20/css/general.css',null,false,true);
if ($files):
if (!is_array($files)):
$files = array($files);
endif;
foreach($files as $file):
?&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $file;?&gt;" type="text/css" /&gt;
&lt;?php
endforeach;
endif;
?&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/&lt;?php echo htmlspecialchars($color); ?&gt;.css" type="text/css" /&gt;
&lt;?php if ($this-&gt;direction == 'rtl') : ?&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/template_rtl.css" type="text/css" /&gt;
&lt;?php if (file_exists(JPATH_SITE. DS . '/templates/beez_20/css/' . $color . '_rtl.css')) :?&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/&lt;?php echo $color ?&gt;_rtl.css" type="text/css" /&gt;
&lt;?php endif; ?&gt;
&lt;?php endif; ?&gt;
&lt;!--[if lte IE 6]&gt;
&lt;link href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/ieonly.css" rel="stylesheet" type="text/css" /&gt;
&lt;?php if ($color=="personal") : ?&gt;
&lt;style type="text/css"&gt;
#line
{ width:98% ;
}
.logoheader
{
height:200px;
}
#header ul.menu
{
display:block !important;
width:98.2% ;
}
&lt;/style&gt;
&lt;?php endif; ?&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;
&lt;link href="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/css/ie7only.css" rel="stylesheet" type="text/css" /&gt;
&lt;![endif]--&gt;
&lt;script type="text/javascript" src="&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/javascript/hide.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
var big ='&lt;?php echo (int)$this-&gt;params-&gt;get('wrapperLarge');?&gt;%';
var small='&lt;?php echo (int)$this-&gt;params-&gt;get('wrapperSmall'); ?&gt;%';
var altopen='&lt;?php echo JText::_('TPL_BEEZ2_ALTOPEN',true); ?&gt;';
var altclose='&lt;?php echo JText::_('TPL_BEEZ2_ALTCLOSE',true); ?&gt;';
var bildauf='&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/images/plus.png';
var bildzu='&lt;?php echo $this-&gt;baseurl ?&gt;/templates/beez_20/images/minus.png';
var rightopen='&lt;?php echo JText::_('TPL_BEEZ2_TEXTRIGHTOPEN',true); ?&gt;';
var rightclose='&lt;?php echo JText::_('TPL_BEEZ2_TEXTRIGHTCLOSE'); ?&gt;';
var fontSizeTitle='&lt;?php echo JText::_('TPL_BEEZ2_FONTSIZE'); ?&gt;';
var bigger='&lt;?php echo JText::_('TPL_BEEZ2_BIGGER'); ?&gt;';
var reset='&lt;?php echo JText::_('TPL_BEEZ2_RESET'); ?&gt;';
var smaller='&lt;?php echo JText::_('TPL_BEEZ2_SMALLER'); ?&gt;';
var biggerTitle='&lt;?php echo JText::_('TPL_BEEZ2_INCREASE_SIZE'); ?&gt;';
var resetTitle='&lt;?php echo JText::_('TPL_BEEZ2_REVERT_STYLES_TO_DEFAULT'); ?&gt;';
var smallerTitle='&lt;?php echo JText::_('TPL_BEEZ2_DECREASE_SIZE'); ?&gt;';
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;!--------------------- lignes insérées pour utiliser le Chat "FreiChatX" ------------------&gt;
&lt;div class="freichathtml" id="freichathtml"&gt; &lt;/div&gt;
&lt;!--------------------- fin insertion pour le Chat -----------------------------------------&gt;
&lt;div id="all"&gt;
&lt;div id="back"&gt;
&lt;div id="header"&gt;
&lt;div class="logoheader"&gt;
&lt;h1 id="logo"&gt;
&lt;?php if ($logo): ?&gt;
&lt;img src="&lt;?php echo $this-&gt;baseurl ?&gt;/&lt;?php echo htmlspecialchars($logo); ?&gt;" alt="&lt;?php echo htmlspecialchars($templateparams-&gt;get('sitetitle'));?&gt;" /&gt;
&lt;?php endif;?&gt;
&lt;?php if (!$logo ): ?&gt;
&lt;?php echo htmlspecialchars($templateparams-&gt;get('sitetitle'));?&gt;
&lt;?php endif; ?&gt;
&lt;span class="header1"&gt;
&lt;?php echo htmlspecialchars($templateparams-&gt;get('sitedescription'));?&gt;
&lt;/span&gt;&lt;/h1&gt;
&lt;/div&gt;&lt;!-- end logoheader --&gt;
&lt;ul class="skiplinks"&gt;
&lt;li&gt;&lt;a href="#main" class="u2"&gt;&lt;?php echo JText::_('TPL_BEEZ2_SKIP_TO_CONTENT'); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#nav" class="u2"&gt;&lt;?php echo JText::_('TPL_BEEZ2_JUMP_TO_NAV'); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php if($showRightColumn ):?&gt;
&lt;li&gt;&lt;a href="#additional" class="u2"&gt;&lt;?php echo JText::_('TPL_BEEZ2_JUMP_TO_INFO'); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endif; ?&gt;
&lt;/ul&gt;
&lt;h2 class="unseen"&gt;&lt;?php echo JText::_('TPL_BEEZ2_NAV_VIEW_SEARCH'); ?&gt;&lt;/h2&gt;
&lt;h3 class="unseen"&gt;&lt;?php echo JText::_('TPL_BEEZ2_NAVIGATION'); ?&gt;&lt;/h3&gt;
&lt;jdoc:include type="modules" name="position-1" /&gt;
&lt;div id="line"&gt;
&lt;div id="fontsize"&gt;&lt;/div&gt;
&lt;h3 class="unseen"&gt;&lt;?php echo JText::_('TPL_BEEZ2_SEARCH'); ?&gt;&lt;/h3&gt;
&lt;jdoc:include type="modules" name="position-0" /&gt;
&lt;/div&gt; &lt;!-- end line --&gt;
&lt;/div&gt;&lt;!-- end header --&gt;
&lt;div id="&lt;?php echo $showRightColumn ? 'contentarea2' : 'contentarea'; ?&gt;"&gt;
&lt;div id="breadcrumbs"&gt;
&lt;jdoc:include type="modules" name="position-2" /&gt;
&lt;/div&gt;
Here is my "arg.php" file after install: do you find any error into ?
========================================
&lt;?php
/* FreiChatX parameters */
if(!defined('RDIR'))
{
define('RDIR', dirname(__FILE__));
define('PARENTDIR',dirname(RDIR));
}
$admin_pswd='catherin';
$url="http://".$_SERVER["HTTP_HOST"].$_SERVER['SCRIPT_NAME'];
$show_name='guest'; //you can have guest or user
$displayname='username'; //you can have username / name(nickname)
$show_module='visible'; //you can have'visible' or'hidden'
$chatspeed='5000'; //Do not change this value
$fxval='true'; //Set it to false if you do not want animations
$draggable='enable';
$conflict=''; //Jquery Conflicts 'true' or ''
$msgSendSpeed='1000'; //Message are sent after 1 second of post, reducing it will increase FreiChatX message sending speed but also will send more requests to the server! NOTE:: Do not decrease it below 1000
$show_avatar='block'; //Can have block or none
$debug=false; //option for debugging ,default is false
$freichat_theme='ce_green';
$css=$freichat_theme; //background color
$color=$css; //colour for chatbuttons
$lang='french'; //Language please do not include .php here only file name
$load='show'; //chatbox
$dyncss='disable'; //template patch
$evnixpower='visible'; //powered by evnix
$show_chatbox='';
$time='36000'; //In seconds
$JSdebug=true; // Javascript debug info shown in firebug (firefox extension). No quotes around true or false
$busy_timeOut=200; //In seconds user will be switched to busy status
$offline_timeOut=500; //In seconds user will be switched to offline status
/*FreiChatX plugin parameters*/
// File sending
$show_file_sending_plugin='false';
$file_size_limit=2000; //In Kilobytes
$expirytime=3000; //In minutes after which the uploaded files will be deleted
$valid_exts='image/jpeg,image/png,image/jpg,image/gif,application/zip'; //valid extensions separated by comma
//Translate
$show_translate_plugin = 'enabled'; //Can have enabled or disabled
/* Data base details */
$con='mysql';
$DBusername='root';
$DBpassword='catherin';
$client_db_name='faceaface';
$host='localhost';
$driver='JCB';
$db_prefix='jus_';
$uid='1300287155';
/* NOTE:= Below setting only applies to users using custom driver*/
//Tell FreiChatX what to use { Pure session } OR { Session and database }
/*
* Psession -&gt; Pure sessions
* Sdatabase -&gt; Session with database
*/
$freiuse="Sdatabase"; //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='root'; /* Username stored in session*/ //Only index value
$ses_userid='loginid'; /* Userid stored in session */ //Only index value
/* OR */
/* if you are using database table to store User details */
$usertable='login'; //specifies the name of the table in which your user information is stored.
$row_username='root'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='loginid'; //specifies the name of the field in which the user's id is stored (usually id or userid)
?&gt;
NOTE: it's necessary to "edit" my post to read the complete code inserted here (but I think you know it) !
====