FreiChat related discussions
Getting list of online user

i am installed freichat on customized website in localhost. whenever i am not logged in in two different browser, it will work as guest to guest chat. but if i logged in,, it is not showing online user, only getting list of online user.
i've read some post forum earlier. and i've tried to press f12, network, select any request. and this is the result

<br />
<b>Fatal error</b>:  Call to a member function rowCount() on a non-object in <b>C:\xampp\htdocs\freichat\server\drivers\base.php</b> on line <b>215</b><br />

but after i check at that file, it only counting banned user. how i can fix this problem? thanks

i am installed freichat on customized website in localhost. whenever i am not logged in in two different browser, it will work as guest to guest chat. but if i logged in,, it is not showing online user, only getting list of online user. i&#039;ve read some post forum earlier. and i&#039;ve tried to press f12, network, select any request. and this is the result ```` &amp;lt;br /&amp;gt; &amp;lt;b&amp;gt;Fatal error&amp;lt;/b&amp;gt;: Call to a member function rowCount() on a non-object in &amp;lt;b&amp;gt;C:\xampp\htdocs\freichat\server\drivers\base.php&amp;lt;/b&amp;gt; on line &amp;lt;b&amp;gt;215&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt; ```` but after i check at that file, it only counting banned user. how i can fix this problem? thanks

Hi,

Have you updated the hardcode.php properly with the correct table name and column names ?

Hi, Have you updated the hardcode.php properly with the correct table name and column names ?

yes. it works now. i found that i did it wrong when passing user id on the template. thanks.

yes. it works now. i found that i did it wrong when passing user id on the template. thanks.
124
2
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