who's online

Permalink 1 user found helpful
Im running 5.3.3
i installed "who's online" package. Im getting this message on my webpage

Warning: filemtime() [function.filemtime]: open_basedir restriction in effect. File(/tmp/mysql.sock) is not within the allowed path(s): (/home/pcnettne:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/pcnettne/public_html/demo/packages/block_whosonline/blocks/theoryblister_whos_online/controller.php on line 48

I looked around - but not sure what this is ???

oaknshield
View Replies: View Best Answer
oaknshield replied on at Permalink Reply
oaknshield
i put my website in Production DEbug level and now the message is not showing up. But does this mean its working properly?. I'm getting 20 users online and I don't think i have that much online right now ?
any ideas ?
argvader replied on at Permalink Best Answer Reply
argvader
You will probably get alot of false positives right now. I had to remove some of the internal logic because it used file io based php calls and many ISP's have these functions disabled. So, right now it really will count the number of active php sessions. This does not directly align with the number of users. Because a user can have several sessions. For example a new user will have a session but then after login they will have a new one. The add-on will count both as different users right now.

I am working on some fixes for this and may have then ready next week.

But for now it is 'working' its just not as accurate as I would like.
GrandForksCAP replied on at Permalink Reply
GrandForksCAP
Hello.

Any updates on your fix?
argvader replied on at Permalink Reply
argvader
Yes there is.

I am hoping to release a new version by next week. I have coded an alternate way of calculating the online users and preliminary testing has been good.

I am trying a couple other ISP's to validate it. If those tests work out then I just have some clean up work and walla :)

Thanks for asking.
GrandForksCAP replied on at Permalink Reply
GrandForksCAP
Thanks for the quick response and your efforts. If I can be of assistance with testing let me know...

If you could update this thread when you have posted a final version that would also be helpful.
argvader replied on at Permalink Reply
argvader
I updated the extension to 2.0.
Uninstall the current version and install this one. It should provide better results. You MUST enable application events in Concrete5 for this extension to work correctly however.

You can also use [Registered] to show the number of registered users logged in.

Next feature will be using group membership numbers.
oaknshield replied on at Permalink Reply
oaknshield
OK -- great - this updated version is working fine. thanks