FreiChat related discussions
I Have a Problem - alert('module

I Installed the Module in my DZCP installation ..

I can see the chatwindow down reight ..

But i become the message

alert('module freichatx says: arg.php file not found!');"; } return 0; } } ?>

And nothing goes on .. i tryed some pathways but nothing ..
I Dont know what should i do know ..

Can anyone help me?

Here my index.html Headercode and the arg.php code also the main.php code

What is wrong??

1:index.html

<!--==========================FreiChatX====VERSIONS====5.X====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=null;

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

if(is_file("/html/forum/inc/_templates_/version1.5/freichat/arg.php")){

require "/html/forum/inc/_templates_/version1.5/freichat/arg.php";

$temp_id = $ses . $uid;

return md5($temp_id);

}
else
{
echo "<script>alert('module freichatx says: arg.php file not
found!');";
}

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="%5Bdir%5D/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>"></script><script type="text/javascript" language="javascipt" src="http://evnix-dot-com.appspot.com/?time=<?php%20echo%20time();%20?>"></script><link rel="stylesheet" href="%5Bdir%5D/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!-- NOTE:: The copypaste code differs from 4.X to 5.X and may differ for further versions--><!-- So to be at a safer side always replace the entire FreiChatX code during installation--><!--===========================FreiChatX====VERSIONS====5.X====END=========================-->


2: arg.php

<?php /* FreiChatX parameters */

if(!defined('RDIR'))
{
define('RDIR', dirname(__FILE__));
define('PARENTDIR',dirname(RDIR));
}

if(@$_SERVER["HTTPS"] == "on")
{
$protocol = "https://";
}
else
{
$protocol = "http://";
}


$parameters=unserialize(file_get_contents(str_replace('arg.php','config.dat',__FILE__)));

$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true;
$admin_pswd='adminpass';
$url=$protocol.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
$show_name=$parameters['show_name']; //you can have guest or user
$displayname=$parameters['displayname']; //you can have username / name(nickname)
$show_module=$parameters['show_module']; //you can have'visible' or'hidden'
$chatspeed=$parameters['chatspeed']; //Do not change this value
$fxval=$parameters['fxval']; //Set it to false if you do not want animations
$draggable=$parameters['draggable'];
$conflict=$parameters['conflict']; //Jquery Conflicts 'true' or ''
$msgSendSpeed=$parameters['msgSendSpeed']; //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=$parameters['show_avatar']; //Can have block or none

$debug=$parameters['debug']; //option for debugging ,default is false
$freichat_theme=$parameters['freichat_theme'];
$css=$freichat_theme; //background color
$color=$css; //colour for chatbuttons
$lang=$parameters['lang']; //Language please do not include .php here only file name

$load=$parameters['load']; //chatbox
$dyncss='disable'; //template patch
$evnixpower='visible'; //powered by evnix
$show_chatbox='';
$time=$parameters['time']; //In seconds
$GZIP_handler = $parameters['GZIP_handler'];

$JSdebug=$parameters['JSdebug']; // Javascript debug info shown in firebug (firefox extension). No quotes around true or false
$busy_timeOut=$parameters['busy_timeOut']; //In seconds user will be switched to busy status
$offline_timeOut=$parameters['offline_timeOut']; //In seconds user will be switched to offline status

/*FreiChatX plugin parameters*/
// File sending
$show_file_sending_plugin=$parameters['plugins']['file_sender']['show'];
$file_size_limit=$parameters['plugins']['file_sender']['file_size']; //In Kilobytes
$expirytime=$parameters['plugins']['file_sender']['expiry']; //In minutes after which the uploaded files will be deleted
$valid_exts=$parameters['plugins']['file_sender']['valid_exts']; //valid extensions separated by comma
$playsound = $parameters["playsound"];

//Translate
$show_translate_plugin = 'enabled';

//Chatroom plugin
$show_chatroom_plugin = 'enabled';

//Video Chat plugin
$show_videochat_plugin = 'disabled'; //Pending !!

//coversation save
$show_save_plugin = 'enabled';

$show_smiley_plugin = 'enabled';
//send conversation plugin
$show_mail_plugin = 'enabled';
$smtp_username='';
$smtp_password='';
$mailtype=$parameters["plugins"]["send_conv"]["mailtype"];
$smtp_server=$parameters["plugins"]["send_conv"]["smtp_server"];
$smtp_port=$parameters["plugins"]["send_conv"]["smtp_port"];
$smtp_protocol=$parameters["plugins"]["send_conv"]["smtp_protocol"];
$mail_from_address=$parameters["plugins"]["send_conv"]["from_address"];
$mail_from_name=$parameters["plugins"]["send_conv"]["from_name"];


/* ACL PERMISSIONS */
/* Here allow or noallow can be used to grant and prohibit permissions respectively */


$ACL = array(
'FILE' => array( /* File upload/send plugin */
'user' => 'allow',
'guest' => 'allow'
),

'TRANSLATE' => array(
'user' => 'allow',
'guest' => 'allow'
),

'SAVE' => array(
'user' => 'allow',
'guest' => 'allow'
),

'SMILEY' => array(
'user' => 'allow',
'guest' => 'allow'
),

'MAIL' => array(
'user' => 'allow',
'guest' => 'allow'
),

'VIDEOCHAT' => array(
'user' => 'noallow',
'guest' => 'noallow'
)

);


/* ACL PERMISSIONS */

/* To ensure boolean is parsed */

if($debug == "true")
{
$debug = true;
}
else
{
$debug = false;
}

//Also

if($JSdebug == "true")
{
$JSdebug = true;
}
else
{
$JSdebug = false;
}


/* Data base details */
$con='mysql';
$username='web1217';
$password='7WrTvSNe';
$client_db_name='usr_web1217_2';
$host='localhost';
$driver='Custom';
$db_prefix='testing';
$uid='4ee3a51894a42';


/* 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='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)

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

3: main.php

<?php session_start();

error_reporting(-1);

require_once '../arg.php';

$zlib = false;

if($GZIP_handler == 'ON')
{
if (extension_loaded('zlib')) {
$zlib = true;
ob_start('ob_gzhandler');
}
}

//header("Content-type: text/javascript");

if (!isset($_GET['id']) || !isset($_GET['xhash'])) {
//exit;
}
//-------------------PHP includes----------------------------------------------
require '../define.php';

//require 'themeBC.php';
//-----------------------------------------------------------------------------
class X_main extends freichatXconstruct {

public function __construct() {
parent::__construct();
}

public function initiateFreiChatX() {
require_once '../server/drivers/' . $this->driver . '.php';
$this->freichat_debug("main.php loaded");

if (!isset($_SESSION[$this->uid . 'freistatus'])) {
$_SESSION[$this->uid . 'freistatus'] = 1;
}

if (!isset($_SESSION[$this->uid . 'custom_mesg'])) {
$_SESSION[$this->uid . 'custom_mesg'] = $this->frei_trans['default_status'];
}



if (isset($_SESSION[$this->uid . 'ses_id']) == false) {

$parameters = array(
"id" => strip_tags($_GET['id']),
"custom_mesg" => false,
"first" => false
);

if (!isset($_SESSION[$this->uid . 'in_room'])) {
$_SESSION[$this->uid . 'in_room'] = -1;
}

$this->connectDB();
$sessions = new $this->driver($this->db);
$sessions->uid = $this->uid;
$sessions->permanent_name = $this->permanent_name;
$sessions->permanent_id = $this->permanent_id;
$sessions->online_time = $this->online_time;
$sessions->online_time2 = $this->online_time2;
$sessions->time_string = $this->time_string;
$sessions->show_name = $this->show_name;
$sessions->usr_list_wanted = false;
$sessions->db_prefix = $this->db_prefix;
$sessions->displayname = $this->displayname;
$sessions->frei_trans = $this->frei_trans;
$sessions->debug = $this->debug;
$sessions->update_usr_info = true;
$sessions->url = $this->url;
$sessions->driver = $this->driver;
$sessions->to_freichat_path = $this->to_freichat_path;
$sessions->options = $parameters;
$sessions->row_username = $this->row_username;
$sessions->row_userid = $this->row_userid;
$sessions->usertable = $this->usertable;

$sessions->load_driver();
}
}

}

$construct = new X_main;
$construct->initiateFreiChatX();

if (isset($_SESSION)) {
$username = $_SESSION[$construct->uid . 'usr_name'];
$id = $_SESSION[$construct->uid . 'usr_ses_id'];
} else {
$construct->freichat_debug("Session Not Yet Created in client side");
}
$frei_trans[] = Array();

require '../arg.php';
require '../client/jquery/freichat_themes/defarg.php';
require '../client/jquery/freichat_themes/' . $freichat_theme . '/argument.php';
$frei_trans = $construct->inc_lang();

$url = str_replace('client/main.php', '', $url);


if(isset($_SERVER['HTTP_REFERER'])){
$referer_url = $_SERVER['HTTP_REFERER'];
}else
{
$referrer_url = $url;
}


if (strpos($referer_url, 'www.') == TRUE) {
$url = str_replace('http://', 'http://www.', $url);
}

if (strpos($url, 'www.www.') == TRUE) {
$url = str_replace('http://www.www.', 'http://www.', $url);
}

$pfromname = str_replace("'", "\'", $_SESSION[$uid . "usr_name"]);

$custom_mesg = "";


if (isset($_SESSION[$uid . "custom_mesg"])) {
if ($_SESSION[$uid . "custom_mesg"] != "" && $_SESSION[$uid . "custom_mesg"] != "i am null" && $_SESSION[$uid . "custom_mesg"] != null) {
$custom_mesg = $_SESSION[$uid . "custom_mesg"];
}
} else {
$custom_mesg = 'I am available';
}

require_once 'jquery/js/jquery.1.6.js';
require_once 'jquery/js/jquery-ui.js';
require_once 'plugins/translate/js/jquery.translate-1.3.9.min.js';
require_once 'jquery/js/combined.js'; //include SM 2_.2.97a + slick + dragx

require_once 'jsdef.js';
require_once 'plugins.js';
require_once 'freichat.js';
//require("chatroom_orig.js");
if ($construct->show_chatroom_plugin == 'enabled') {

}else{
//$jn("#dc-slick-9").hide();
}


if($GZIP_handler == 'ON')
{
if ($zlib == true) {
ob_end_flush();
}
}
?>


4. freixlog

December 10, 2011, 2:26 pm: Inserted the user with the following data :: Username = Gast-1kn7 And ID = 1323657119 Default status = I am available

December 10, 2011, 2:26 pm: main.php loaded

December 10, 2011, 2:26 pm: connected to database successfully

December 10, 2011, 2:26 pm: Wrong method defined!

December 10, 2011, 2:27 pm: main.php loaded

December 10, 2011, 2:27 pm: connected to database successfully

December 10, 2011, 2:27 pm: Wrong method defined!

December 10, 2011, 2:28 pm: main.php loaded

December 10, 2011, 2:28 pm: connected to database successfully

December 10, 2011, 2:28 pm: Wrong method defined!


The Adminpanel is working too ..

I Think my Minds are wrong but wich, where ?
The address 4 my site ( its 4 testing reasons don´t worry if it get a crash ;- ) )

http://eplay-forum.de

4 Admin ( Standardpassword )
http://www.eplay-forum.de/inc/_templates_/version1.5/freichat/administrator/index.php

login: WolF

PW: h6w5wZWUQW368GW

Thx 4 Help!

WOlF

If this here at the wrong Place .. Sry 4 that !

I Installed the Module in my DZCP installation .. I can see the chatwindow down reight .. But i become the message alert(&#039;module freichatx says: arg.php file not found!&#039;);&quot;; } return 0; } } ?&amp;gt; And nothing goes on .. i tryed some pathways but nothing .. I Dont know what should i do know .. Can anyone help me? Here my index.html Headercode and the arg.php code also the main.php code What is wrong?? 1:index.html &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;?php $ses=null; if(!function_exists(&quot;freichatx_get_hash&quot;)){ function freichatx_get_hash($ses){ if(is_file(&quot;/html/forum/inc/_templates_/version1.5/freichat/arg.php&quot;)){ require &quot;/html/forum/inc/_templates_/version1.5/freichat/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;[dir]/freichat/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;[dir]/freichat/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; 2: arg.php &amp;lt;?php /* FreiChatX parameters */ if(!defined(&#039;RDIR&#039;)) { define(&#039;RDIR&#039;, dirname(__FILE__)); define(&#039;PARENTDIR&#039;,dirname(RDIR)); } if(@$_SERVER[&quot;HTTPS&quot;] == &quot;on&quot;) { $protocol = &quot;https://&quot;; } else { $protocol = &quot;http://&quot;; } $parameters=unserialize(file_get_contents(str_replace(&#039;arg.php&#039;,&#039;config.dat&#039;,__FILE__))); $PATH = &#039;freichat/&#039;; // Use this only if you have placed the freichat folder somewhere else $installed=true; $admin_pswd=&#039;adminpass&#039;; $url=$protocol.$_SERVER[&#039;HTTP_HOST&#039;].$_SERVER[&#039;SCRIPT_NAME&#039;]; $show_name=$parameters[&#039;show_name&#039;]; //you can have guest or user $displayname=$parameters[&#039;displayname&#039;]; //you can have username / name(nickname) $show_module=$parameters[&#039;show_module&#039;]; //you can have&#039;visible&#039; or&#039;hidden&#039; $chatspeed=$parameters[&#039;chatspeed&#039;]; //Do not change this value $fxval=$parameters[&#039;fxval&#039;]; //Set it to false if you do not want animations $draggable=$parameters[&#039;draggable&#039;]; $conflict=$parameters[&#039;conflict&#039;]; //Jquery Conflicts &#039;true&#039; or &#039;&#039; $msgSendSpeed=$parameters[&#039;msgSendSpeed&#039;]; //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=$parameters[&#039;show_avatar&#039;]; //Can have block or none $debug=$parameters[&#039;debug&#039;]; //option for debugging ,default is false $freichat_theme=$parameters[&#039;freichat_theme&#039;]; $css=$freichat_theme; //background color $color=$css; //colour for chatbuttons $lang=$parameters[&#039;lang&#039;]; //Language please do not include .php here only file name $load=$parameters[&#039;load&#039;]; //chatbox $dyncss=&#039;disable&#039;; //template patch $evnixpower=&#039;visible&#039;; //powered by evnix $show_chatbox=&#039;&#039;; $time=$parameters[&#039;time&#039;]; //In seconds $GZIP_handler = $parameters[&#039;GZIP_handler&#039;]; $JSdebug=$parameters[&#039;JSdebug&#039;]; // Javascript debug info shown in firebug (firefox extension). No quotes around true or false $busy_timeOut=$parameters[&#039;busy_timeOut&#039;]; //In seconds user will be switched to busy status $offline_timeOut=$parameters[&#039;offline_timeOut&#039;]; //In seconds user will be switched to offline status /*FreiChatX plugin parameters*/ // File sending $show_file_sending_plugin=$parameters[&#039;plugins&#039;][&#039;file_sender&#039;][&#039;show&#039;]; $file_size_limit=$parameters[&#039;plugins&#039;][&#039;file_sender&#039;][&#039;file_size&#039;]; //In Kilobytes $expirytime=$parameters[&#039;plugins&#039;][&#039;file_sender&#039;][&#039;expiry&#039;]; //In minutes after which the uploaded files will be deleted $valid_exts=$parameters[&#039;plugins&#039;][&#039;file_sender&#039;][&#039;valid_exts&#039;]; //valid extensions separated by comma $playsound = $parameters[&quot;playsound&quot;]; //Translate $show_translate_plugin = &#039;enabled&#039;; //Chatroom plugin $show_chatroom_plugin = &#039;enabled&#039;; //Video Chat plugin $show_videochat_plugin = &#039;disabled&#039;; //Pending !! //coversation save $show_save_plugin = &#039;enabled&#039;; $show_smiley_plugin = &#039;enabled&#039;; //send conversation plugin $show_mail_plugin = &#039;enabled&#039;; $smtp_username=&#039;&#039;; $smtp_password=&#039;&#039;; $mailtype=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;mailtype&quot;]; $smtp_server=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;smtp_server&quot;]; $smtp_port=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;smtp_port&quot;]; $smtp_protocol=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;smtp_protocol&quot;]; $mail_from_address=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;from_address&quot;]; $mail_from_name=$parameters[&quot;plugins&quot;][&quot;send_conv&quot;][&quot;from_name&quot;]; /* ACL PERMISSIONS */ /* Here allow or noallow can be used to grant and prohibit permissions respectively */ $ACL = array( &#039;FILE&#039; =&amp;gt; array( /* File upload/send plugin */ &#039;user&#039; =&amp;gt; &#039;allow&#039;, &#039;guest&#039; =&amp;gt; &#039;allow&#039; ), &#039;TRANSLATE&#039; =&amp;gt; array( &#039;user&#039; =&amp;gt; &#039;allow&#039;, &#039;guest&#039; =&amp;gt; &#039;allow&#039; ), &#039;SAVE&#039; =&amp;gt; array( &#039;user&#039; =&amp;gt; &#039;allow&#039;, &#039;guest&#039; =&amp;gt; &#039;allow&#039; ), &#039;SMILEY&#039; =&amp;gt; array( &#039;user&#039; =&amp;gt; &#039;allow&#039;, &#039;guest&#039; =&amp;gt; &#039;allow&#039; ), &#039;MAIL&#039; =&amp;gt; array( &#039;user&#039; =&amp;gt; &#039;allow&#039;, &#039;guest&#039; =&amp;gt; &#039;allow&#039; ), &#039;VIDEOCHAT&#039; =&amp;gt; array( &#039;user&#039; =&amp;gt; &#039;noallow&#039;, &#039;guest&#039; =&amp;gt; &#039;noallow&#039; ) ); /* ACL PERMISSIONS */ /* To ensure boolean is parsed */ if($debug == &quot;true&quot;) { $debug = true; } else { $debug = false; } //Also if($JSdebug == &quot;true&quot;) { $JSdebug = true; } else { $JSdebug = false; } /* Data base details */ $con=&#039;mysql&#039;; $username=&#039;web1217&#039;; $password=&#039;7WrTvSNe&#039;; $client_db_name=&#039;usr_web1217_2&#039;; $host=&#039;localhost&#039;; $driver=&#039;Custom&#039;; $db_prefix=&#039;testing&#039;; $uid=&#039;4ee3a51894a42&#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;root&#039;; /* Username stored in session*/ //Only index value $ses_userid=&#039;loginid&#039;; /* Userid stored in session */ //Only index value /* OR */ /* if you are using database table to store User details */ $usertable=&#039;login&#039;; //specifies the name of the table in which your user information is stored. $row_username=&#039;root&#039;; //specifies the name of the field in which the user&#039;s name/display name is stored. $row_userid=&#039;loginid&#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; 3: main.php &amp;lt;?php session_start(); error_reporting(-1); require_once &#039;../arg.php&#039;; $zlib = false; if($GZIP_handler == &#039;ON&#039;) { if (extension_loaded(&#039;zlib&#039;)) { $zlib = true; ob_start(&#039;ob_gzhandler&#039;); } } //header(&quot;Content-type: text/javascript&quot;); if (!isset($_GET[&#039;id&#039;]) || !isset($_GET[&#039;xhash&#039;])) { //exit; } //-------------------PHP includes---------------------------------------------- require &#039;../define.php&#039;; //require &#039;themeBC.php&#039;; //----------------------------------------------------------------------------- class X_main extends freichatXconstruct { public function __construct() { parent::__construct(); } public function initiateFreiChatX() { require_once &#039;../server/drivers/&#039; . $this-&amp;gt;driver . &#039;.php&#039;; $this-&amp;gt;freichat_debug(&quot;main.php loaded&quot;); if (!isset($_SESSION[$this-&amp;gt;uid . &#039;freistatus&#039;])) { $_SESSION[$this-&amp;gt;uid . &#039;freistatus&#039;] = 1; } if (!isset($_SESSION[$this-&amp;gt;uid . &#039;custom_mesg&#039;])) { $_SESSION[$this-&amp;gt;uid . &#039;custom_mesg&#039;] = $this-&amp;gt;frei_trans[&#039;default_status&#039;]; } if (isset($_SESSION[$this-&amp;gt;uid . &#039;ses_id&#039;]) == false) { $parameters = array( &quot;id&quot; =&amp;gt; strip_tags($_GET[&#039;id&#039;]), &quot;custom_mesg&quot; =&amp;gt; false, &quot;first&quot; =&amp;gt; false ); if (!isset($_SESSION[$this-&amp;gt;uid . &#039;in_room&#039;])) { $_SESSION[$this-&amp;gt;uid . &#039;in_room&#039;] = -1; } $this-&amp;gt;connectDB(); $sessions = new $this-&amp;gt;driver($this-&amp;gt;db); $sessions-&amp;gt;uid = $this-&amp;gt;uid; $sessions-&amp;gt;permanent_name = $this-&amp;gt;permanent_name; $sessions-&amp;gt;permanent_id = $this-&amp;gt;permanent_id; $sessions-&amp;gt;online_time = $this-&amp;gt;online_time; $sessions-&amp;gt;online_time2 = $this-&amp;gt;online_time2; $sessions-&amp;gt;time_string = $this-&amp;gt;time_string; $sessions-&amp;gt;show_name = $this-&amp;gt;show_name; $sessions-&amp;gt;usr_list_wanted = false; $sessions-&amp;gt;db_prefix = $this-&amp;gt;db_prefix; $sessions-&amp;gt;displayname = $this-&amp;gt;displayname; $sessions-&amp;gt;frei_trans = $this-&amp;gt;frei_trans; $sessions-&amp;gt;debug = $this-&amp;gt;debug; $sessions-&amp;gt;update_usr_info = true; $sessions-&amp;gt;url = $this-&amp;gt;url; $sessions-&amp;gt;driver = $this-&amp;gt;driver; $sessions-&amp;gt;to_freichat_path = $this-&amp;gt;to_freichat_path; $sessions-&amp;gt;options = $parameters; $sessions-&amp;gt;row_username = $this-&amp;gt;row_username; $sessions-&amp;gt;row_userid = $this-&amp;gt;row_userid; $sessions-&amp;gt;usertable = $this-&amp;gt;usertable; $sessions-&amp;gt;load_driver(); } } } $construct = new X_main; $construct-&amp;gt;initiateFreiChatX(); if (isset($_SESSION)) { $username = $_SESSION[$construct-&amp;gt;uid . &#039;usr_name&#039;]; $id = $_SESSION[$construct-&amp;gt;uid . &#039;usr_ses_id&#039;]; } else { $construct-&amp;gt;freichat_debug(&quot;Session Not Yet Created in client side&quot;); } $frei_trans[] = Array(); require &#039;../arg.php&#039;; require &#039;../client/jquery/freichat_themes/defarg.php&#039;; require &#039;../client/jquery/freichat_themes/&#039; . $freichat_theme . &#039;/argument.php&#039;; $frei_trans = $construct-&amp;gt;inc_lang(); $url = str_replace(&#039;client/main.php&#039;, &#039;&#039;, $url); if(isset($_SERVER[&#039;HTTP_REFERER&#039;])){ $referer_url = $_SERVER[&#039;HTTP_REFERER&#039;]; }else { $referrer_url = $url; } if (strpos($referer_url, &#039;www.&#039;) == TRUE) { $url = str_replace(&#039;http://&#039;, &#039;http://www.&#039;, $url); } if (strpos($url, &#039;www.www.&#039;) == TRUE) { $url = str_replace(&#039;http://www.www.&#039;, &#039;http://www.&#039;, $url); } $pfromname = str_replace(&quot;&#039;&quot;, &quot;\&#039;&quot;, $_SESSION[$uid . &quot;usr_name&quot;]); $custom_mesg = &quot;&quot;; if (isset($_SESSION[$uid . &quot;custom_mesg&quot;])) { if ($_SESSION[$uid . &quot;custom_mesg&quot;] != &quot;&quot; &amp;&amp; $_SESSION[$uid . &quot;custom_mesg&quot;] != &quot;i am null&quot; &amp;&amp; $_SESSION[$uid . &quot;custom_mesg&quot;] != null) { $custom_mesg = $_SESSION[$uid . &quot;custom_mesg&quot;]; } } else { $custom_mesg = &#039;I am available&#039;; } require_once &#039;jquery/js/jquery.1.6.js&#039;; require_once &#039;jquery/js/jquery-ui.js&#039;; require_once &#039;plugins/translate/js/jquery.translate-1.3.9.min.js&#039;; require_once &#039;jquery/js/combined.js&#039;; //include SM 2_.2.97a + slick + dragx require_once &#039;jsdef.js&#039;; require_once &#039;plugins.js&#039;; require_once &#039;freichat.js&#039;; //require(&quot;chatroom_orig.js&quot;); if ($construct-&amp;gt;show_chatroom_plugin == &#039;enabled&#039;) { }else{ //$jn(&quot;#dc-slick-9&quot;).hide(); } if($GZIP_handler == &#039;ON&#039;) { if ($zlib == true) { ob_end_flush(); } } ?&amp;gt; &amp;lt;/code&amp;gt; 4. freixlog December 10, 2011, 2:26 pm: Inserted the user with the following data :: Username = Gast-1kn7 And ID = 1323657119 Default status = I am available December 10, 2011, 2:26 pm: main.php loaded December 10, 2011, 2:26 pm: connected to database successfully December 10, 2011, 2:26 pm: Wrong method defined! December 10, 2011, 2:27 pm: main.php loaded December 10, 2011, 2:27 pm: connected to database successfully December 10, 2011, 2:27 pm: Wrong method defined! December 10, 2011, 2:28 pm: main.php loaded December 10, 2011, 2:28 pm: connected to database successfully December 10, 2011, 2:28 pm: Wrong method defined! The Adminpanel is working too .. I Think my Minds are wrong but wich, where ? The address 4 my site ( its 4 testing reasons don´t worry if it get a crash ;- ) ) http://eplay-forum.de 4 Admin ( Standardpassword ) http://www.eplay-forum.de/inc/_templates_/version1.5/freichat/administrator/index.php login: WolF PW: h6w5wZWUQW368GW Thx 4 Help! WOlF If this here at the wrong Place .. Sry 4 that !

That error is telling that the path to the arg.php file is not correct

/html/forum/inc/_templates_/version1.5/freichat/arg.php

Is the above path to arg.php file correct ?
And what is DZCP installation ?

That error is telling that the path to the arg.php file is not correct &amp;lt;code&amp;gt; /html/forum/inc/_templates_/version1.5/freichat/arg.php &amp;lt;/code&amp;gt; Is the above path to arg.php file correct ? And what is DZCP installation ?
Necessity is the mother of all inventions!

Thx 4 Answer

I Know the Path is wrong, maybe, but i don´t kno why..

The Path after the fresh installation ( with : var.http://www.xxxx ) was also " wrong" such the many others that i tryed .. Im confused ..

WolF

Thx 4 Answer I Know the Path is wrong, maybe, but i don´t kno why.. The Path after the fresh installation ( with : var.http://www.xxxx ) was also &quot; wrong&quot; such the many others that i tryed .. Im confused .. WolF

Sry i forgot your Question ;-)

" and what is DZCP installation ? "

DZCP is an CMS System for Little Communitys Gamingclans ( or Other one )
Based on Php, SQL but not so big and complex to handle such Joomly or Drupal Wordpress etc. ( i tryed )
Its free but not Open Source
Look 4 More Informations @ Google ;-)

Greetings

WolF


Sry i forgot your Question ;-) &quot; and what is DZCP installation ? &quot; DZCP is an CMS System for Little Communitys Gamingclans ( or Other one ) Based on Php, SQL but not so big and complex to handle such Joomly or Drupal Wordpress etc. ( i tryed ) Its free but not Open Source Look 4 More Informations @ Google ;-) Greetings WolF

I guess you have inserted it inside a HTML template which doesn't execute PHP code, try a different place from where the PHP code can be executed.
another problem could be because of the permissions, make sure arg.php has the read permissions, if the problem still persists, drop us your details from the contact us form and we will do our very best to get it working.

I guess you have inserted it inside a HTML template which doesn&#039;t execute PHP code, try a different place from where the PHP code can be executed. another problem could be because of the permissions, make sure arg.php has the read permissions, if the problem still persists, drop us your details from the contact us form and we will do our very best to get it working.
Necessity is the mother of all inventions!
154
4
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