FreiChat related discussions
chat install issues

After installing freichat I get this error at the top of the website

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

The path to the hardcode.php is correct.

root@freeshellaccounts.com /var/www/html # locate hardcode.php

/var/www/html/freichat/hardcode.php

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

   if(is_file("/var/www/html/freichat/hardcode.php")){

           require "/var/www/html/freichat/hardcode.php";

           $temp_id =  $ses . $uid;

           return md5($temp_id);

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

   return 0;

Here is a screen shot of the website with the error...
5724fd8c32c15.png

**After installing freichat I get this error at the top of the website ** &quot;alert(&#039;module freichatx says: hardcode.php file not found!&#039;);&quot;; } return 0; } } ?&gt; &quot; **The path to the hardcode.php is correct.** root@freeshellaccounts.com /var/www/html # locate hardcode.php /var/www/html/freichat/hardcode.php if(!function_exists(&quot;freichatx_get_hash&quot;)){ function freichatx_get_hash($ses){ if(is_file(&quot;/var/www/html/freichat/hardcode.php&quot;)){ require &quot;/var/www/html/freichat/hardcode.php&quot;; $temp_id = $ses . $uid; return md5($temp_id); } else { echo &quot;&lt;script&gt;alert(&#039;module freichatx says: hardcode.php file not found!&#039;);&lt;/script&gt;&quot;; } return 0; **Here is a screen shot of the website with the error...** ![5724fd8c32c15.png](serve/attachment&amp;path=5724fd8c32c15.png)

May be the files don't have read permissions ?

Try giving 0755 or 0777 to all files and folders

May be the files don&#039;t have read permissions ? Try giving 0755 or 0777 to all files and folders

Thanks, actually that worked the chmod 755 wasn't working but 777 did... lol

Thanks, actually that worked the chmod 755 wasn&#039;t working but 777 did... lol

But now the chat room or the online user list won't populate... (in guest mode)

5725088286f88.png
572508838fc3c.png

But now the chat room or the online user list won&#039;t populate... (in guest mode) ![5725088286f88.png](serve/attachment&amp;path=5725088286f88.png) ![572508838fc3c.png](serve/attachment&amp;path=572508838fc3c.png)
edited Apr 30 '16 at 8:33 pm

Can you try this:

Open developer tools (f12 in chrome) -> network tab -> search for any requests made by freichat.

Check the response of that request for any errors.

Can you try this: Open developer tools (f12 in chrome) -&gt; network tab -&gt; search for any requests made by freichat. Check the response of that request for any errors.
181
4
2
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