when i run into lochalhost my chatbox and list working good when i try public
Can you please explain the difference between "run into localhost" and "when i try public" . We actually didn't understand this very well .
Also , looking at your image in previous post , the connection to database looks correct . So the problem can only occur in two places .
1. In freichat/hardcode.php
/* 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)
Make sure above details are correct .
2. the place where you include FreiChatRemember the place where you copy-pasted the FreiChat code in the last step of installation , it has a variable named "$ses" .
You need to store the user-id of the current user in this variable (according to the docs) .
Make sure that the user-id stored is correct .
<blockquote>when i run into lochalhost my chatbox and list working good when i try public</blockquote>
Can you please explain the difference between "run into localhost" and "when i try public" . We actually didn't understand this very well .
<br/>
Also , looking at your image in previous post , the connection to database looks correct . So the problem can only occur in two places .
<br/><br/>
<b>1. In freichat/hardcode.php </b>
<pre class="brush: php">
/* 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)
</pre>
<br/>
Make sure above details are correct .
<br/><br/>
<b>2. the place where you include FreiChat</b>
<br/>
Remember the place where you copy-pasted the FreiChat code in the last step of installation , it has a variable named "$ses" .
<br/>You need to store the user-id of the current user in this variable (according to the docs) .
<br/>
Make sure that the user-id stored is correct .