Joomla!
http://forum.joomla.org/

Who's Online module not showing anything
http://forum.joomla.org/viewtopic.php?f=32&t=12381
Page 1 of 1

Author:  Checkmate [ Sat Oct 15, 2005 12:53 am ]
Post subject:  Who's Online module not showing anything

I have just upgrade from Joomla 1.0.2 to 1.0.3 with the patch package and now my 'Who's Online' module is showing  'No Users Online' while I am logged in.

Anybody any idea?

Edit:

I noticed there's a new mod_whosonline.php in the package... there are a few tiny differences like using != instead of <>, but I don't think that's the issue...

Author:  ptvideo [ Sat Oct 15, 2005 1:06 am ]
Post subject:  Re: Who's Online module not showing anything

The same problem happens to me too! The module shows everybody, logged or not as guest.

Author:  motohero [ Sat Oct 15, 2005 5:10 am ]
Post subject:  Re: Who's Online module not showing anything

i am using the uddeim whos onilne hack, and this doesnt work either since the path to 1.0.3.. ive only been using joomla for a week. any thoughts?

Author:  Datso [ Sat Oct 15, 2005 8:31 am ]
Post subject:  Re: Who's Online module not showing anything

after upgrading 102 to 103 - same problem

call from a database is true:

Code:
$query = "SELECT DISTINCT count(username) as user_online FROM #__session WHERE guest=0 AND usertype <> 'administrator' AND usertype <> 'superadministrator'";
   $database->setQuery( $query );
   $user_array = $database->loadResult();
       
    $content .= "<div align='right'>Users online: $user_array</div>";


where is a problem?...

Author:  LeGaS [ Sat Oct 15, 2005 9:13 am ]
Post subject:  Re: Who's Online module not showing anything

It has been reported yet: http://developer.joomla.org/sf/go/artf1574?nav=1

Author:  apt [ Sat Oct 15, 2005 11:14 am ]
Post subject:  Re: Who's Online module not showing anything

Any further news on this bug ??? Tracker priority seems to have been downgraded (3 - 5).

apt

Author:  Checkmate [ Sat Oct 15, 2005 1:11 pm ]
Post subject:  Re: Who's Online module not showing anything

A solution has been posted in the tracker:

Quote:
i have found the cause in database.php (from 1.0.3)  at the line 560
Code:
//$val = "''";

when i remove the slashes "who is online" againe works fine.


database.php can be found in the includes directory.

Author:  Datso [ Sat Oct 15, 2005 2:04 pm ]
Post subject:  Re: Who's Online module not showing anything

is don't work for me

Author:  alphanostrum [ Sat Oct 15, 2005 2:11 pm ]
Post subject:  Re: Who's Online module not showing anything

clear your browser cache, then it will work :)

Author:  Datso [ Sat Oct 15, 2005 2:26 pm ]
Post subject:  Re: Who's Online module not showing anything

alphanostrum wrote:
clear your browser cache, then it will work :)


thanks, now this work  :)

Author:  Wil [ Sat Oct 15, 2005 4:50 pm ]
Post subject:  Re: Who's Online module not showing anything

Datso wrote:
alphanostrum wrote:
clear your browser cache, then it will work :)


thanks, now this work  :)

Nope, has no affect  >:(

Author:  motohero [ Sat Oct 15, 2005 5:01 pm ]
Post subject:  Re: Who's Online module not showing anything

good catch, thanks! works ok now

Author:  Datso [ Sat Oct 15, 2005 9:12 pm ]
Post subject:  Re: Who's Online module not showing anything

Quote:
Nope, has no affect


try clear data from jos/mos_sessions in phpMyAdmin

Author:  alphanostrum [ Sun Oct 16, 2005 10:15 am ]
Post subject:  Re: Who's Online module not showing anything

@Wil
Quote:
Nope, has no affect

where are the session otherwise, if not in browser cache? the empty caches forces the browser to load all sources again. even for various login problems this empty helps. what to you think why?

Author:  stroller [ Sun Oct 16, 2005 2:22 pm ]
Post subject:  Re: Who's Online module not showing anything

didn't immediately fix it for me until I cleared my local windows cache and then logged off / back on to my joomla site

Author:  Wil [ Sun Oct 16, 2005 5:52 pm ]
Post subject:  Re: Who's Online module not showing anything

Sorry, the who's online standard inside Joomla is working afther clearing the cache. But I'm using the Members online module Pro from MamboToys at http://www.mambotoys.com
Afther upgrading to joomla 1.0.3 it's not working properly anymore. Loged in members are not showing only counting the online guests. I think it has something to do with the changes in the database.php!

Author:  alphanostrum [ Mon Oct 17, 2005 3:57 am ]
Post subject:  Re: Who's Online module not showing anything

hi wil,
on the developers website you can read:
Quote:
Members Online Pro Module v2.2 and has been tested on Mambo 4.5.0 [Boon] and has no reported problems.

maybe this module is too old.

Author:  Wil [ Mon Oct 17, 2005 4:24 pm ]
Post subject:  Re: Who's Online module not showing anything

No, it's not so old. It has been working 100 %, still does but it's counting no logged members anymore  :-[
That's a pity because it's a real nice piece off skill, great module.  :-*

Author:  m42 [ Fri Oct 28, 2005 2:49 am ]
Post subject:  Re: Who's Online module not showing anything

Yeah works for me too, removing the slashes.

Author:  mophsy [ Mon Nov 14, 2005 8:50 pm ]
Post subject:  Re: Who's Online module not showing anything

mophsy confirmed: is working! :)

Author:  Jing [ Wed Nov 30, 2005 2:14 am ]
Post subject:  Re: Who's Online module not showing anything

Thanks a lot guys... It worked for me...  :laugh:

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/