FreiChat related discussions
I've got a Parse Error, need Help please

Hi All

I've installed the Chat on a IPB 3.2
Everything is ok but now I have got a Parse Error:

"Parse error: syntax error, unexpected '{' in /hp/bd/ab/sr/www/platform/freichat/server/admin_files/home/index.php on line 1"

That is line 1 in the index.php:

_________________________________________________________________


<?phpif (!isset($_SESSION['phplogin'])    || $_SESSION['phplogin'] !== true) {    header('Location: ../administrator/index.php'); //Replace that if login.php is somewhere else    exit;}require "../arg.php";/********************************************************************************************/class param{    public function __construct()    {      require("../arg.php");      $this->argpath="../arg.php";      $this->configpath = "../config.dat";      $this->themepath='../client/jquery/freichat_themes/';      $this->langpath='../lang/';      $this->themeray=$this->langray=array();      $this->driver=$driver;    }//--------------------------------------------------------------------------------------------    public function create_file()    {          //$handle = fopen($this->configpath,'w');//var_dump($_POST);		$parameters=unserialize(file_get_contents($this->configpath));		$parameters["show_name"]=$_POST['show_name'];		if($this->driver=="JCB" || $this->driver=="CBE" || $this->driver=="JSocial")		{			$parameters["displayname"]=$_POST['displayname'];		}		$parameters["show_module"]="visible";		$parameters["chatspeed"]=$_POST['chatspeed'];		$parameters["fxval"]=$_POST['fxval'];		$parameters["draggable"]=$_POST['draggable'];		$parameters["conflict"]=$_POST['conflict'];		$parameters["msgSendSpeed"]=$_POST['msgSendSpeed'];		$parameters["show_avatar"]=$_POST['show_avatar'];		$parameters["debug"]=$_POST['debug'];		$parameters["freichat_theme"]=$_POST['freichat_theme'];		$parameters["lang"]=$_POST['lang'];		$parameters["load"]=$_POST['load'];		$parameters["time"]=$_POST['time'];		$parameters["JSdebug"]=$_POST['JSdebug'];		$parameters["busy_timeOut"]=$_POST['busy_timeOut'];		$parameters["offline_timeOut"]=$_POST['offline_timeOut'];                file_put_contents($this->configpath,serialize($parameters));		/**/    }//--------------------------------------------------------------------------------------------    public function default_param($name,$given_value)    {        //require $this->configpath;		$parameters=unserialize(file_get_contents($this->configpath));//echo $parameters[$name] ." == ". $given_value."<br/>";        if($parameters[$name] == $given_value)        {            echo "selected";        }        else        {           // echo 'selected';        }    }    public function default_value($name,$dim=1)    {        //require $this->configpath;		$parameters=unserialize(file_get_contents($this->configpath));        if($dim == 1)        {            return $parameters[$name];        }        else if($dim == 2)        {            return $parameters[$name[0]][$name[1]];        }        else if($dim == 3)        {            return $parameters[$name[0]][$name[1]][$name[2]];        }        else        {            echo "Out of bounds!";        }    }//--------------------------------------------------------------------------------------------}/********************************************************************************************///require_once 'admin_files/paramclass.php';$param = new param();if(isset($_POST['draggable'])==true){    $param->create_file();}?><form name="params" action='<?php $_SERVER['PHP_SELF']; ?>' method="POST"><input id="paramsubmit1" type="submit" value="SUBMIT"><br/><br/><div class="parameters"><div id="tabs">	<ul>		<li><a href="#client">Client side parameters</a></li>		<li><a href="#server">Server side parameters</a></li>                <!--<li><a href="#added">Plugins parameters</a></li>-->                <li><a href="#account">Additional parameters</a></li>	</ul>    <!-- First TAB -->	<div id="client">        <ol id ="parametejrs" style="list-style-type: upper-roman;">        <li>            <p>Show Guests or Resgistered Users</p><br/>            <select name="show_name">             <option value="guest"<?php $param->default_param("show_name","guest"); ?>>Guests</option>             <option value="user"<?php $param->default_param("show_name","user"); ?>>Users</option>             <?php if($driver=="JCB" || $driver=="CBE" || $driver=="JSocial")             {               echo '<option value='."buddy "; $param->default_param("show_name","buddy");  echo">Buddies</option>";             }             ?>            </select>              <br/><br/><hr/>        </li>        <li>            <p>Show Avatar</p><br/>            <select name="show_avatar">            <option value="block"<?php $param->default_param("show_avatar","block"); ?>>Yes</option>            <option value="none"<?php $param->default_param("show_avatar","none"); ?>>No</option>            </select>            <br/><br/><hr/>        </li>        <?php if($driver=="JCB" || $driver=="CBE" || $driver=="JSocial" || $driver=="Joomla")        {         echo '<li><p>Show Username or Nickname(name)</p><br/><select name="displayname">';         echo '<option value='."username "; $param->default_param("displayname","username");  echo">username</option>";         echo '<option value='."name "; $param->default_param("displayname","name");  echo">nickname</option>";         echo '</select><br/><br/><hr/></li>';        }        ?>        <li>            <p>Select a theme for the chat</p><br/>            <select name="freichat_theme">            <?php            if ($handle = opendir('../client/jquery/freichat_themes/')) {                while (false !== ($file = readdir($handle))) {                    if ($file != "." && $file != ".." && $file!='.svn' && is_dir('../client/jquery/freichat_themes/'.$file)) {                        echo '<option value='."$file "; $param->default_param("freichat_theme",$file);  echo">$file</option>";                    }                }                closedir($handle);            }            else            {                    echo 'directory open failed';                    }            ?>            </select>            <br/><br/><hr/>        </li>        <li>            <p>Draggable chatwindows feature should be </p>            <select name="draggable">            <option value="enable"<?php $param->default_param("draggable","enable"); ?>>Enabled</option>            <option value="disable"<?php $param->default_param("draggable","disable"); ?>>Disabled</option>            </select>            <br/><br/><hr/>        </li>        <li>             <p>ChatBox on load should be</p>            <select name="load">            <option value="show"<?php $param->default_param("load","show"); ?>>Maximized</option>            <option value="hide"<?php $param->default_param("load","hide"); ?>>Minimized</option>            </select><br/><br/><hr/>        </li>        <li>            <p>Remove Jquery Conflicts <span onmousedown="helpme1()"><img src="<?php echo '../client/jquery/img/about.jpeg' ?>" alt="About"/></a></span></p>            <select name="conflict">            <option value="true"<?php $param->default_param("conflict","true"); ?>>Yes</option>            <option value=""<?php $param->default_param("conflict",""); ?>>No</option>            </select><br/><br/>        </li>        <li>            <p>Show Jquery Animations</p><br/>            <select name="fxval">            <option value="true"<?php $param->default_param("fxval","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("fxval","false"); ?>>No</option>            </select>            <br/><br/>        </li>        </ol>	</div>    <!-- Second TAB -->	<div id="server">            <ol  style="list-style-type: upper-roman;">        <li>            <p>Save Message History For</p><br/>            <select name="time">            <option value="600"<?php $param->default_param("time","600"); ?>>10 Minutes</option>            <option value="3600"<?php $param->default_param("time","3600"); ?>>1 Hour</option>            <option value="36000"<?php $param->default_param("time","36000"); ?>>10 Hours</option>            <option value="86400"<?php $param->default_param("time","86400"); ?>>1 Day</option>            </select>            <br/><br/><hr/>        </li>        <li>            <p>Change Chat Speed to</p><br/>            <select name="chatspeed">            <option value="7000"<?php $param->default_param("chatspeed","7000"); ?>>Slow</option>            <option value="5000"<?php $param->default_param("chatspeed","5000"); ?>>Normal</option>            <option value="3000"<?php $param->default_param("chatspeed","3000"); ?>>Fast</option>            <option value="1000"<?php $param->default_param("chatspeed","1000"); ?>>SuperFast</option>            </select><br/><br/>            Note:<br/>            1. Normal speed recommended for users using free webhosting service.<br/>            2. Fast speed can be used by users using any paid webhosting service.<br/>            3. SuperFast speed should be used by users at their own risk and needs.<br/>            <br/><br/><hr/>        </li>        <li>            <p>Choose any Language</p><br/>            <select name="lang">            <?php            if ($handle = opendir('../lang/')) {                while (false !== ($file = readdir($handle))) {                    if ($file != "." && $file != ".." && $file!='.svn') {                        $file_name=str_replace(".php", "", $file);                        echo '<option value='."$file_name "; $param->default_param("lang",$file_name);  echo">$file_name</option>";                    }                }                closedir($handle);            }            else            {              echo 'directory open failed';            }            ?>            </select>        </li>        <li><hr/>            <p>Time interval between messages</p><br/>            <select name="msgSendSpeed">            <option value="500"<?php $param->default_param("msgSendSpeed","500"); ?>>0.5 second</option>            <option value="1000"<?php $param->default_param("msgSendSpeed","1000"); ?>>1 seconds</option>            <option value="1500"<?php $param->default_param("msgSendSpeed","1500"); ?>>1.5 seconds</option>            <option value="2000"<?php $param->default_param("msgSendSpeed","2000"); ?>>2 seconds</option>            </select><br/><br/>            Note:<br/>            1. This is the time FreiChatX will wait between two requests (messages sent)<br/>            2. Increase the time interval if you want to reduce server resource usage<br/>            3. 1 second is the default time interval.Do not reduce it further if you <br/>dont               know what you are doing.<br/>            <br/><br/><hr/>        </li>        </ol>	</div>    <!-- Third TAB -->    <!-- Fourth TAB -->    <div id ="account">        <ol style="list-style-type: upper-roman;">         <!--<li>            Change FreiChatX administrator password<br/><br/>            A . Enter your old password<br/>            <input type="password" name="adminpassold1"/>            <br/>            B . Enter your old password again<br/>            <input type="password" name="adminpassold2"/>            <br/>            <br/>            C. Enter your new password <br/>            <input type ="password" name="adminpassnew"/>        </li>-->        <li>            Busy time out<br/><br/>              User status will be changed to busy after <br/>              <input name="busy_timeOut" value="<?php echo $param->default_value('busy_timeOut'); ?>" type="text"> seconds              <br/><br/><hr/>        </li>        <li>            Offline time out<br/><br/>              User status will be changed to offline after <br/>              <input name="offline_timeOut" value="<?php echo $param->default_value('offline_timeOut'); ?>" type="text"> seconds              <br/><br/><hr/>        </li>        <li>            <p>PHP debugging</p><br/>            <select name="debug">            <option value="true"<?php $param->default_param("debug","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("debug","false"); ?>>No</option>            </select>            <br/><br/>        </li>        <li>            <p>JavaScript debugging</p><br/>            <select name="JSdebug">            <option value="true"<?php $param->default_param("JSdebug","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("JSdebug","false"); ?>>No</option>            </select>            <br/><br/>        </li>        </ol>    </div></div></div><br/><input id="paramsubmit2" type="submit" value="SUBMIT"></form>


_____________________________________________________________

I've opened the index.php with notepad++ The complete code above is in "line 1" ?!? The unexpected '{' is a open tag or ? I know a bit html but not to much about php.

So whats to do ? How to solf that erreor? Hope someone can help me.

Best regards from Germany and sorry for my bad english stammering, hope You understand what I mean?

Andy

Hi All I&#039;ve installed the Chat on a IPB 3.2 Everything is ok but now I have got a Parse Error: &quot;Parse error: syntax error, unexpected &#039;{&#039; in /hp/bd/ab/sr/www/platform/freichat/server/admin_files/home/index.php on line 1&quot; That is line 1 in the index.php: _________________________________________________________________ &amp;lt;code&amp;gt;&amp;lt;?phpif (!isset($_SESSION[&#039;phplogin&#039;]) || $_SESSION[&#039;phplogin&#039;] !== true) { header(&#039;Location: ../administrator/index.php&#039;); //Replace that if login.php is somewhere else exit;}require &quot;../arg.php&quot;;/********************************************************************************************/class param{ public function __construct() { require(&quot;../arg.php&quot;); $this-&amp;gt;argpath=&quot;../arg.php&quot;; $this-&amp;gt;configpath = &quot;../config.dat&quot;; $this-&amp;gt;themepath=&#039;../client/jquery/freichat_themes/&#039;; $this-&amp;gt;langpath=&#039;../lang/&#039;; $this-&amp;gt;themeray=$this-&amp;gt;langray=array(); $this-&amp;gt;driver=$driver; }//-------------------------------------------------------------------------------------------- public function create_file() { //$handle = fopen($this-&amp;gt;configpath,&#039;w&#039;);//var_dump($_POST); $parameters=unserialize(file_get_contents($this-&amp;gt;configpath)); $parameters[&quot;show_name&quot;]=$_POST[&#039;show_name&#039;]; if($this-&amp;gt;driver==&quot;JCB&quot; || $this-&amp;gt;driver==&quot;CBE&quot; || $this-&amp;gt;driver==&quot;JSocial&quot;) { $parameters[&quot;displayname&quot;]=$_POST[&#039;displayname&#039;]; } $parameters[&quot;show_module&quot;]=&quot;visible&quot;; $parameters[&quot;chatspeed&quot;]=$_POST[&#039;chatspeed&#039;]; $parameters[&quot;fxval&quot;]=$_POST[&#039;fxval&#039;]; $parameters[&quot;draggable&quot;]=$_POST[&#039;draggable&#039;]; $parameters[&quot;conflict&quot;]=$_POST[&#039;conflict&#039;]; $parameters[&quot;msgSendSpeed&quot;]=$_POST[&#039;msgSendSpeed&#039;]; $parameters[&quot;show_avatar&quot;]=$_POST[&#039;show_avatar&#039;]; $parameters[&quot;debug&quot;]=$_POST[&#039;debug&#039;]; $parameters[&quot;freichat_theme&quot;]=$_POST[&#039;freichat_theme&#039;]; $parameters[&quot;lang&quot;]=$_POST[&#039;lang&#039;]; $parameters[&quot;load&quot;]=$_POST[&#039;load&#039;]; $parameters[&quot;time&quot;]=$_POST[&#039;time&#039;]; $parameters[&quot;JSdebug&quot;]=$_POST[&#039;JSdebug&#039;]; $parameters[&quot;busy_timeOut&quot;]=$_POST[&#039;busy_timeOut&#039;]; $parameters[&quot;offline_timeOut&quot;]=$_POST[&#039;offline_timeOut&#039;]; file_put_contents($this-&amp;gt;configpath,serialize($parameters)); /**/ }//-------------------------------------------------------------------------------------------- public function default_param($name,$given_value) { //require $this-&amp;gt;configpath; $parameters=unserialize(file_get_contents($this-&amp;gt;configpath));//echo $parameters[$name] .&quot; == &quot;. $given_value.&quot;&amp;lt;br/&amp;gt;&quot;; if($parameters[$name] == $given_value) { echo &quot;selected&quot;; } else { // echo &#039;selected&#039;; } } public function default_value($name,$dim=1) { //require $this-&amp;gt;configpath; $parameters=unserialize(file_get_contents($this-&amp;gt;configpath)); if($dim == 1) { return $parameters[$name]; } else if($dim == 2) { return $parameters[$name[0]][$name[1]]; } else if($dim == 3) { return $parameters[$name[0]][$name[1]][$name[2]]; } else { echo &quot;Out of bounds!&quot;; } }//--------------------------------------------------------------------------------------------}/********************************************************************************************///require_once &#039;admin_files/paramclass.php&#039;;$param = new param();if(isset($_POST[&#039;draggable&#039;])==true){ $param-&amp;gt;create_file();}?&amp;gt;&amp;lt;form name=&quot;params&quot; action=&#039;&amp;lt;?php $_SERVER[&#039;PHP_SELF&#039;]; ?&amp;gt;&#039; method=&quot;POST&quot;&amp;gt;&amp;lt;input id=&quot;paramsubmit1&quot; type=&quot;submit&quot; value=&quot;SUBMIT&quot;&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;div class=&quot;parameters&quot;&amp;gt;&amp;lt;div id=&quot;tabs&quot;&amp;gt; &amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#client&quot;&amp;gt;Client side parameters&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#server&quot;&amp;gt;Server side parameters&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;!--&amp;lt;li&amp;gt;&amp;lt;a href=&quot;#added&quot;&amp;gt;Plugins parameters&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;--&amp;gt; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#account&quot;&amp;gt;Additional parameters&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; &amp;lt;!-- First TAB --&amp;gt; &amp;lt;div id=&quot;client&quot;&amp;gt; &amp;lt;ol id =&quot;parametejrs&quot; style=&quot;list-style-type: upper-roman;&quot;&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Show Guests or Resgistered Users&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;show_name&quot;&amp;gt; &amp;lt;option value=&quot;guest&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;show_name&quot;,&quot;guest&quot;); ?&amp;gt;&amp;gt;Guests&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;user&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;show_name&quot;,&quot;user&quot;); ?&amp;gt;&amp;gt;Users&amp;lt;/option&amp;gt; &amp;lt;?php if($driver==&quot;JCB&quot; || $driver==&quot;CBE&quot; || $driver==&quot;JSocial&quot;) { echo &#039;&amp;lt;option value=&#039;.&quot;buddy &quot;; $param-&amp;gt;default_param(&quot;show_name&quot;,&quot;buddy&quot;); echo&quot;&amp;gt;Buddies&amp;lt;/option&amp;gt;&quot;; } ?&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Show Avatar&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;show_avatar&quot;&amp;gt; &amp;lt;option value=&quot;block&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;show_avatar&quot;,&quot;block&quot;); ?&amp;gt;&amp;gt;Yes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;none&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;show_avatar&quot;,&quot;none&quot;); ?&amp;gt;&amp;gt;No&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;?php if($driver==&quot;JCB&quot; || $driver==&quot;CBE&quot; || $driver==&quot;JSocial&quot; || $driver==&quot;Joomla&quot;) { echo &#039;&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Show Username or Nickname(name)&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;select name=&quot;displayname&quot;&amp;gt;&#039;; echo &#039;&amp;lt;option value=&#039;.&quot;username &quot;; $param-&amp;gt;default_param(&quot;displayname&quot;,&quot;username&quot;); echo&quot;&amp;gt;username&amp;lt;/option&amp;gt;&quot;; echo &#039;&amp;lt;option value=&#039;.&quot;name &quot;; $param-&amp;gt;default_param(&quot;displayname&quot;,&quot;name&quot;); echo&quot;&amp;gt;nickname&amp;lt;/option&amp;gt;&quot;; echo &#039;&amp;lt;/select&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;/li&amp;gt;&#039;; } ?&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Select a theme for the chat&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;freichat_theme&quot;&amp;gt; &amp;lt;?php if ($handle = opendir(&#039;../client/jquery/freichat_themes/&#039;)) { while (false !== ($file = readdir($handle))) { if ($file != &quot;.&quot; &amp;&amp; $file != &quot;..&quot; &amp;&amp; $file!=&#039;.svn&#039; &amp;&amp; is_dir(&#039;../client/jquery/freichat_themes/&#039;.$file)) { echo &#039;&amp;lt;option value=&#039;.&quot;$file &quot;; $param-&amp;gt;default_param(&quot;freichat_theme&quot;,$file); echo&quot;&amp;gt;$file&amp;lt;/option&amp;gt;&quot;; } } closedir($handle); } else { echo &#039;directory open failed&#039;; } ?&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Draggable chatwindows feature should be &amp;lt;/p&amp;gt; &amp;lt;select name=&quot;draggable&quot;&amp;gt; &amp;lt;option value=&quot;enable&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;draggable&quot;,&quot;enable&quot;); ?&amp;gt;&amp;gt;Enabled&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;disable&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;draggable&quot;,&quot;disable&quot;); ?&amp;gt;&amp;gt;Disabled&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;ChatBox on load should be&amp;lt;/p&amp;gt; &amp;lt;select name=&quot;load&quot;&amp;gt; &amp;lt;option value=&quot;show&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;load&quot;,&quot;show&quot;); ?&amp;gt;&amp;gt;Maximized&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;hide&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;load&quot;,&quot;hide&quot;); ?&amp;gt;&amp;gt;Minimized&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Remove Jquery Conflicts &amp;lt;span onmousedown=&quot;helpme1()&quot;&amp;gt;&amp;lt;img src=&quot;&amp;lt;?php echo &#039;../client/jquery/img/about.jpeg&#039; ?&amp;gt;&quot; alt=&quot;About&quot;/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;select name=&quot;conflict&quot;&amp;gt; &amp;lt;option value=&quot;true&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;conflict&quot;,&quot;true&quot;); ?&amp;gt;&amp;gt;Yes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;conflict&quot;,&quot;&quot;); ?&amp;gt;&amp;gt;No&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Show Jquery Animations&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;fxval&quot;&amp;gt; &amp;lt;option value=&quot;true&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;fxval&quot;,&quot;true&quot;); ?&amp;gt;&amp;gt;Yes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;false&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;fxval&quot;,&quot;false&quot;); ?&amp;gt;&amp;gt;No&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;/ol&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;!-- Second TAB --&amp;gt; &amp;lt;div id=&quot;server&quot;&amp;gt; &amp;lt;ol style=&quot;list-style-type: upper-roman;&quot;&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Save Message History For&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;time&quot;&amp;gt; &amp;lt;option value=&quot;600&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;time&quot;,&quot;600&quot;); ?&amp;gt;&amp;gt;10 Minutes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;3600&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;time&quot;,&quot;3600&quot;); ?&amp;gt;&amp;gt;1 Hour&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;36000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;time&quot;,&quot;36000&quot;); ?&amp;gt;&amp;gt;10 Hours&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;86400&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;time&quot;,&quot;86400&quot;); ?&amp;gt;&amp;gt;1 Day&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Change Chat Speed to&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;chatspeed&quot;&amp;gt; &amp;lt;option value=&quot;7000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;chatspeed&quot;,&quot;7000&quot;); ?&amp;gt;&amp;gt;Slow&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;5000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;chatspeed&quot;,&quot;5000&quot;); ?&amp;gt;&amp;gt;Normal&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;3000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;chatspeed&quot;,&quot;3000&quot;); ?&amp;gt;&amp;gt;Fast&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;1000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;chatspeed&quot;,&quot;1000&quot;); ?&amp;gt;&amp;gt;SuperFast&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; Note:&amp;lt;br/&amp;gt; 1. Normal speed recommended for users using free webhosting service.&amp;lt;br/&amp;gt; 2. Fast speed can be used by users using any paid webhosting service.&amp;lt;br/&amp;gt; 3. SuperFast speed should be used by users at their own risk and needs.&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;Choose any Language&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;lang&quot;&amp;gt; &amp;lt;?php if ($handle = opendir(&#039;../lang/&#039;)) { while (false !== ($file = readdir($handle))) { if ($file != &quot;.&quot; &amp;&amp; $file != &quot;..&quot; &amp;&amp; $file!=&#039;.svn&#039;) { $file_name=str_replace(&quot;.php&quot;, &quot;&quot;, $file); echo &#039;&amp;lt;option value=&#039;.&quot;$file_name &quot;; $param-&amp;gt;default_param(&quot;lang&quot;,$file_name); echo&quot;&amp;gt;$file_name&amp;lt;/option&amp;gt;&quot;; } } closedir($handle); } else { echo &#039;directory open failed&#039;; } ?&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;p&amp;gt;Time interval between messages&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;msgSendSpeed&quot;&amp;gt; &amp;lt;option value=&quot;500&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;msgSendSpeed&quot;,&quot;500&quot;); ?&amp;gt;&amp;gt;0.5 second&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;1000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;msgSendSpeed&quot;,&quot;1000&quot;); ?&amp;gt;&amp;gt;1 seconds&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;1500&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;msgSendSpeed&quot;,&quot;1500&quot;); ?&amp;gt;&amp;gt;1.5 seconds&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;2000&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;msgSendSpeed&quot;,&quot;2000&quot;); ?&amp;gt;&amp;gt;2 seconds&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; Note:&amp;lt;br/&amp;gt; 1. This is the time FreiChatX will wait between two requests (messages sent)&amp;lt;br/&amp;gt; 2. Increase the time interval if you want to reduce server resource usage&amp;lt;br/&amp;gt; 3. 1 second is the default time interval.Do not reduce it further if you &amp;lt;br/&amp;gt;dont know what you are doing.&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;/ol&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;!-- Third TAB --&amp;gt; &amp;lt;!-- Fourth TAB --&amp;gt; &amp;lt;div id =&quot;account&quot;&amp;gt; &amp;lt;ol style=&quot;list-style-type: upper-roman;&quot;&amp;gt; &amp;lt;!--&amp;lt;li&amp;gt; Change FreiChatX administrator password&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; A . Enter your old password&amp;lt;br/&amp;gt; &amp;lt;input type=&quot;password&quot; name=&quot;adminpassold1&quot;/&amp;gt; &amp;lt;br/&amp;gt; B . Enter your old password again&amp;lt;br/&amp;gt; &amp;lt;input type=&quot;password&quot; name=&quot;adminpassold2&quot;/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; C. Enter your new password &amp;lt;br/&amp;gt; &amp;lt;input type =&quot;password&quot; name=&quot;adminpassnew&quot;/&amp;gt; &amp;lt;/li&amp;gt;--&amp;gt; &amp;lt;li&amp;gt; Busy time out&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; User status will be changed to busy after &amp;lt;br/&amp;gt; &amp;lt;input name=&quot;busy_timeOut&quot; value=&quot;&amp;lt;?php echo $param-&amp;gt;default_value(&#039;busy_timeOut&#039;); ?&amp;gt;&quot; type=&quot;text&quot;&amp;gt; seconds &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; Offline time out&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; User status will be changed to offline after &amp;lt;br/&amp;gt; &amp;lt;input name=&quot;offline_timeOut&quot; value=&quot;&amp;lt;?php echo $param-&amp;gt;default_value(&#039;offline_timeOut&#039;); ?&amp;gt;&quot; type=&quot;text&quot;&amp;gt; seconds &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;PHP debugging&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;debug&quot;&amp;gt; &amp;lt;option value=&quot;true&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;debug&quot;,&quot;true&quot;); ?&amp;gt;&amp;gt;Yes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;false&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;debug&quot;,&quot;false&quot;); ?&amp;gt;&amp;gt;No&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;li&amp;gt; &amp;lt;p&amp;gt;JavaScript debugging&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;select name=&quot;JSdebug&quot;&amp;gt; &amp;lt;option value=&quot;true&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;JSdebug&quot;,&quot;true&quot;); ?&amp;gt;&amp;gt;Yes&amp;lt;/option&amp;gt; &amp;lt;option value=&quot;false&quot;&amp;lt;?php $param-&amp;gt;default_param(&quot;JSdebug&quot;,&quot;false&quot;); ?&amp;gt;&amp;gt;No&amp;lt;/option&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;/li&amp;gt; &amp;lt;/ol&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;input id=&quot;paramsubmit2&quot; type=&quot;submit&quot; value=&quot;SUBMIT&quot;&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;/code&amp;gt; _____________________________________________________________ I&#039;ve opened the index.php with notepad++ The complete code above is in &quot;line 1&quot; ?!? The unexpected &#039;{&#039; is a open tag or ? I know a bit html but not to much about php. So whats to do ? How to solf that erreor? Hope someone can help me. Best regards from Germany and sorry for my bad english stammering, hope You understand what I mean? Andy

The below post will help you ,

http://evnix.com/drupal2/node/193

And i think from the next version of FreiChatX , these kind of problems too wont arise ,
because we have found a solution to this .

The below post will help you , http://evnix.com/drupal2/node/193 And i think from the next version of FreiChatX , these kind of problems too wont arise , because we have found a solution to this .
Necessity is the mother of all inventions!

You say You find a solution? Thats realy fantastic because I like freichat so much. Ok so I'll wait for the next release.

Thank You so much and have a nice day.

Kind Regards, Andy

You say You find a solution? Thats realy fantastic because I like freichat so much. Ok so I&#039;ll wait for the next release. Thank You so much and have a nice day. Kind Regards, Andy

Hi sorrry for double post but I found a solution that will help peoples with that Problem a bit:

Its a php and java based FTP Client for Your Server Root and it is possible to upload ZIP TAR Files and extract it online.

Here is the Link:

http://extplorer.sourceforge.net/

Best Regards, Andy

Hi sorrry for double post but I found a solution that will help peoples with that Problem a bit: Its a php and java based FTP Client for Your Server Root and it is possible to upload ZIP TAR Files and extract it online. Here is the Link: http://extplorer.sourceforge.net/ Best Regards, Andy
121
3
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft