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 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 ?
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.
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 :)
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.
any ideas ?