General discussion
Install Help

hi. I am tryign to install the chat on http://icegrid.org/news.php and i am using PHP Fusion but i am not getting it to woork.

hi. I am tryign to install the chat on http://icegrid.org/news.php and i am using PHP Fusion but i am not getting it to woork.

Please delete the freichat folder , download it again , extract and do a fresh install because it looks like some files are corrupted.

Please delete the freichat folder , download it again , extract and do a fresh install because it looks like some files are corrupted.

ok i did that but now i get
Fatal error: Cannot redeclare class FreiChat in L:\wamp\www\icegrid\freichat\arg.php on line 14
wuy?

ok i did that but now i get Fatal error: Cannot redeclare class FreiChat in L:\wamp\www\icegrid\freichat\arg.php on line 14 wuy?

Make sure you are not copy pasted the code in the last step of installation twice . And in the copy pasted code replace arg.php with hardcode.php

Make sure you are not copy pasted the code in the last step of installation twice . And in the copy pasted code replace arg.php with hardcode.php

ok now i have my header.php like thi
<?php /*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";


if(!isset($userdata['user_id'])){
$ses=0;
}
else{
$ses=$userdata['user_id'];
}


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

if(is_file(THEMES."../freichat/arg.php")){

require THEMES."../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;
}
}

echo '<script type="text/javascript" language="javascipt" src="http://icegrid.org/freichat/client/main.php?id='.%24ses.'&amp;xhash='.freichatx_get_hash(%24ses).'">
</script>'; echo '<link rel="stylesheet" href="http://icegrid.org/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">';


echo "

\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv="Content-Type" content='text/html; charset=".$locale[' charset>\n";
echo "<meta name="description" content='".$settings[' description>\n";
echo "<meta name="keywords" content='".$settings[' keywords>\n";
echo "<link rel="stylesheet" href="%22.THEME.%22styles.css" type="text/css" media="screen">\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel="shortcut icon" href="%22.IMAGES.%22favicon.ico" type="image/x-icon">\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type="text/javascript" src="%22.INCLUDES.%22jquery/jquery.js"></script>\n";
echo "<script type="text/javascript" src="%22.INCLUDES.%22jscript.js"></script>\n";
echo "\n\n";

require_once THEMES."templates/panels.php";
ob_start();
?>
Anythink that i am dooing wrong?
ok now i have my header.php like thi &amp;lt;?php /*-------------------------------------------------------+ | PHP-Fusion Content Management System | Copyright (C) 2002 - 2011 Nick Jones | http://www.php-fusion.co.uk/ +--------------------------------------------------------+ | Filename: header.php | Author: Nick Jones (Digitanium) +--------------------------------------------------------+ | This program is released as free software under the | Affero GPL license. You can redistribute it and/or | modify it under the terms of this license which you | can read by viewing the included agpl.txt or online | at www.gnu.org/licenses/agpl.html. Removal of this | copyright header is strictly prohibited without | written permission from the original author(s). +--------------------------------------------------------*/ if (!defined(&quot;IN_FUSION&quot;)) { die(&quot;Access Denied&quot;); } require_once INCLUDES.&quot;output_handling_include.php&quot;; require_once INCLUDES.&quot;header_includes.php&quot;; require_once THEME.&quot;theme.php&quot;; require_once THEMES.&quot;templates/render_functions.php&quot;; if(!isset($userdata[&#039;user_id&#039;])){ $ses=0; } else{ $ses=$userdata[&#039;user_id&#039;]; } if(!function_exists(&quot;freichatx_get_hash&quot;)){ function freichatx_get_hash($ses){ if(is_file(THEMES.&quot;../freichat/arg.php&quot;)){ require THEMES.&quot;../freichat/arg.php&quot;; $temp_id = $ses . $uid; return md5($temp_id); } else { echo &#039;&amp;lt;script&amp;gt;alert(&quot;module freichatx says: arg.php file not found!&quot;);&amp;lt;/script&amp;gt;&#039;; } return 0; } } echo &#039;&amp;lt;script type=&quot;text/javascript&quot; language=&quot;javascipt&quot; src=&quot;http://icegrid.org/freichat/client/main.php?id=&#039;.$ses.&#039;&amp;xhash=&#039;.freichatx_get_hash($ses).&#039;&quot;&amp;gt; &amp;lt;/script&amp;gt;&#039;; echo &#039;&amp;lt;link rel=&quot;stylesheet&quot; href=&quot;http://icegrid.org/freichat/client/jquery/freichat_themes/freichatcss.php&quot; type=&quot;text/css&quot;&amp;gt;&#039;; echo &quot;&amp;lt;head&amp;gt;\n&amp;lt;title&amp;gt;&quot;.$settings[&#039;sitename&#039;].&quot;&amp;lt;/title&amp;gt;\n&quot;; echo &quot;&amp;lt;meta http-equiv=&#039;Content-Type&#039; content=&#039;text/html; charset=&quot;.$locale[&#039;charset&#039;].&quot;&#039; /&amp;gt;\n&quot;; echo &quot;&amp;lt;meta name=&#039;description&#039; content=&#039;&quot;.$settings[&#039;description&#039;].&quot;&#039; /&amp;gt;\n&quot;; echo &quot;&amp;lt;meta name=&#039;keywords&#039; content=&#039;&quot;.$settings[&#039;keywords&#039;].&quot;&#039; /&amp;gt;\n&quot;; echo &quot;&amp;lt;link rel=&#039;stylesheet&#039; href=&#039;&quot;.THEME.&quot;styles.css&#039; type=&#039;text/css&#039; media=&#039;screen&#039; /&amp;gt;\n&quot;; if (file_exists(IMAGES.&quot;favicon.ico&quot;)) { echo &quot;&amp;lt;link rel=&#039;shortcut icon&#039; href=&#039;&quot;.IMAGES.&quot;favicon.ico&#039; type=&#039;image/x-icon&#039; /&amp;gt;\n&quot;; } if (function_exists(&quot;get_head_tags&quot;)) { echo get_head_tags(); } echo &quot;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;&quot;.INCLUDES.&quot;jquery/jquery.js&#039;&amp;gt;&amp;lt;/script&amp;gt;\n&quot;; echo &quot;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;&quot;.INCLUDES.&quot;jscript.js&#039;&amp;gt;&amp;lt;/script&amp;gt;\n&quot;; echo &quot;&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;\n&quot;; require_once THEMES.&quot;templates/panels.php&quot;; ob_start(); ?&amp;gt; Anythink that i am dooing wrong?

yes , i said to replace all instances of

arg.php </code> with <code>hardcode.php
, which you have not yet made

yes , i said to replace all instances of &amp;lt;code&amp;gt;arg.php &amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;hardcode.php&amp;lt;/code&amp;gt; , which you have not yet made
Necessity is the mother of all inventions!

Go to freichat/arg.php , is a class FreiChat declared there , or is the file empty ?

Go to freichat/arg.php , is a class FreiChat declared there , or is the file empty ?
Necessity is the mother of all inventions!

This is my arg.php
<?php /* Data base details */
$con = 'mysql';
$username='djdanni';
$password='3234';
$client_db_name='icegrigweb';
$host='localhost';
$driver='Phpfusion';
$db_prefix='fusion9N2s4_';
$uid='507d6001cac4a';

$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true;
$admin_pswd='121266';

$debug = false;

/* email plugin */
$smtp_username = '';
$smtp_password = '';



/* Custom driver */
$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_field_name = '$avatar_field_name';
?>

This is my arg.php &amp;lt;?php /* Data base details */ $con = &#039;mysql&#039;; $username=&#039;djdanni&#039;; $password=&#039;3234&#039;; $client_db_name=&#039;icegrigweb&#039;; $host=&#039;localhost&#039;; $driver=&#039;Phpfusion&#039;; $db_prefix=&#039;fusion9N2s4_&#039;; $uid=&#039;507d6001cac4a&#039;; $PATH = &#039;freichat/&#039;; // Use this only if you have placed the freichat folder somewhere else $installed=true; $admin_pswd=&#039;121266&#039;; $debug = false; /* email plugin */ $smtp_username = &#039;&#039;; $smtp_password = &#039;&#039;; /* Custom driver */ $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_field_name = &#039;$avatar_field_name&#039;; ?&amp;gt;

Looks like you have merged the old version of freichat with the new version , because there was no class named FreiChat in previous version .

What you can do is , completely remove the current folder freichat and download and install the latest version of freichat i.e 7.5.4

Looks like you have merged the old version of freichat with the new version , because there was no class named FreiChat in previous version . What you can do is , completely remove the current folder freichat and download and install the latest version of freichat i.e 7.5.4
Necessity is the mother of all inventions!

Sorry for this, but I think there has been a major confusion.
we thought you had the latest version but you were actually using an old version.
Please delete the whole FreiChat directory from the server and reinstall without any modifications to the code.

If that too doesn't work, we will install it for you as we offer free installation for the Enterprise version.
If the program fails to run even after us trying, then you will get the complete refund.

Sorry for this, but I think there has been a major confusion. we thought you had the latest version but you were actually using an old version. Please delete the whole FreiChat directory from the server and reinstall without any modifications to the code. If that too doesn&#039;t work, we will install it for you as we offer free installation for the Enterprise version. If the program fails to run even after us trying, then you will get the complete refund.
Necessity is the mother of all inventions!

http://www.vinir.co.cc/fc2.png
Here you see that i have the latest chat.

http://www.vinir.co.cc/fc2.png Here you see that i have the latest chat.

ok what you can do is send us your server access details by opening a issue or using the contact us form, we will get it installed for you.

ok what you can do is send us your server access details by opening a issue or using the contact us form, we will get it installed for you.
Necessity is the mother of all inventions!

the issue has been resolved, It was because of missing InnoDB in MySQL

the issue has been resolved, It was because of missing InnoDB in MySQL
Necessity is the mother of all inventions!
112
17
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