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

[NOT BUG] 1.0.9 b4 who's online bug
http://forum.joomla.org/viewtopic.php?f=11&t=66501
Page 1 of 1

Author:  Imago [ Sun Jun 04, 2006 7:13 am ]
Post subject:  [NOT BUG] 1.0.9 b4 who's online bug

Instead of number of visitors the module displays $user_array and $guest_array in all templates

http://www.toplo.org

Author:  Robin [ Sun Jun 04, 2006 9:01 am ]
Post subject:  Re: 1.0.9 b4 who's online bug

Hi Imago,

Thanks for your report. I'm unable to replicate your problem, although I do see your problem on your site. Could you verify that you are running Joomla! 1.0.9. beta 4, and also give me your webserver stats? (php/mysql/apache versions).

Additional report by Robin/RobInk:

Description:
User info; Instead of number of visitors the module displays $user_array and $guest_array in all templates on http://www.toplo.org

Reported on:
- Joomla version/build

Classification:
Critical/High/Medium/Low/Enhancement

Affected functions:
- Who's online (module)

Related files:
- /modules/whosonline.php

Steps to replicate:
-
Analysis:
Confirmed/Unable to confirm/Rejected
Related file has not been changed since March. Also unable to replicate on clean install J!1.0.9.b4.

Edit; issue seems to occur on an updated site. See ot2sen's reply, it is related to the 3rd party language file which needs updating.

Conclusion; not a bug in core code files, topic marked accordingly

Proposed fix(es):

- add new language definitions to all language files in use, other than the english.php

Topic / Artifact ID:
-

System info:
-

Author:  ot2sen [ Sun Jun 04, 2006 9:23 am ]
Post subject:  Re: [UNCONFIRMED] 1.0.9 b4 who's online bug

Have a look at the language file  ;)

There a change in the Who´s online definitions from 1.0.8 to 1.0.9

1.0.8:

/** whos_online.php */
DEFINE('_WE_HAVE', 'Vi har ');
DEFINE('_AND', ' og ');
DEFINE('_GUEST_COUNT','$guest_array gæst');
DEFINE('_GUESTS_COUNT','$guest_array gæster');
DEFINE('_MEMBER_COUNT','$user_array medlem');
DEFINE('_MEMBERS_COUNT','$user_array medlemmer');

DEFINE('_ONLINE',' online');
DEFINE('_NONE','Ingen brugere online');

Change 1.0.9:

DEFINE('_GUEST_COUNT','%s gæst');
DEFINE('_GUESTS_COUNT','%s gæster');
DEFINE('_MEMBER_COUNT','%s medlem');
DEFINE('_MEMBERS_COUNT','%s medlemmer');


* Some danish text, but think you get the idea  :)

Author:  Robin [ Sun Jun 04, 2006 9:41 am ]
Post subject:  Re: [UNCONFIRMED] 1.0.9 b4 who's online bug

Hi,

Thats it, I was going to check the language file but forgot... to early in the morning  ;)
Thanks ot2sen, that's the solution, adding the new definitions to the language file.

Author:  Imago [ Sun Jun 04, 2006 9:45 am ]
Post subject:  Re: [UNCONFIRMED] 1.0.9 b4 who's online bug

Thank you, friends - SOLVED!

The site, as you may have noticed, is entirely on UTF-8, so I thought something went wrong when changing all instances of ISO-8859-1 to UTF-8.

ot2sen, give me your moneybookers account, to buy you a beer! :)

By the way, the SMF bridge in conjunction with the newest 1.4 discusbot work great on 1.0.9.

Author:  tom157 [ Tue Jun 06, 2006 9:26 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

Edit: Solved, my mistake :)

Author:  selman [ Wed Jun 07, 2006 7:18 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

ot2sen you're really a hero :) fixed the problem  :-*

Author:  Jelte [ Wed Jun 07, 2006 10:02 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

I have updated to 1.0.9 but %s doesn't work with me, only $guest_array works...

Is this wrong? Do I need to fix this? How?

Author:  selman [ Wed Jun 07, 2006 10:26 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

Jelte wrote:
I have updated to 1.0.9 but %s doesn't work with me, only $guest_array works...

Is this wrong? Do I need to fix this? How?

wird  :o

Author:  raabjerg [ Wed Jun 07, 2006 2:40 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

I also just updated from 1.0.8 to 1.0.9 (final), and my (danish) site displays "Vi har $guest_array gæst online", instead of the count.

I'm not sure I understand what's posted above, but from what I gather, this was only a problem in the beta, and should be fixed in the final release?

In the "installed modules" administrative interface, all Joomla Project! modules are still listed as 1.0.0, is this normal?

Author:  ot2sen [ Wed Jun 07, 2006 2:45 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

Hi raabjerg,

Please update your danish language file to the Joomla!_1.0.9_danish_frontend which can be downloaded here:
http://forge.joomla.org/sf/frs/do/viewR ... h_frontend

Feel free to visit the local danish subboard too  :)
http://forum.joomla.org/http://phpbb.jo ... .php?f=6.0

Author:  raabjerg [ Wed Jun 07, 2006 2:53 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

wow - that's a fast answer :) Thanks!

In the meantime, I managed to understand what you meant above, and made the changes you listed manually.

Now, I have downloaded the language file just to be sure, but when I try installing it through the admin interface, it says the language is allready installed, and fails. Is there any way to update a language file "nicely"? (I know, I could just copy/paste, but still)

Author:  Jelte [ Wed Jun 07, 2006 3:13 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

selman wrote:
Jelte wrote:
I have updated to 1.0.9 but %s doesn't work with me, only $guest_array works...

Is this wrong? Do I need to fix this? How?

wird  :o


I also found this weird... on other Joomla sites i'm runing the %s works and $guest_array doesn't. With one site it is just different.

What is wrong with my site?

Author:  ot2sen [ Wed Jun 07, 2006 3:52 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

raabjerg wrote:
wow - that's a fast answer :) Thanks!

Think you´re gonna love this forum - best community one can find  8)
raabjerg wrote:
In the meantime, I managed to understand what you meant above, and made the changes you listed manually.

Now, I have downloaded the language file just to be sure, but when I try installing it through the admin interface, it says the language is allready installed, and fails. Is there any way to update a language file "nicely"? (I know, I could just copy/paste, but still)

Go to your admin and to: Site->Language Manager->Site Languages.
Mark language 'Danish' in left side. Then click delete in top menu.
Go to: 'Installers->Languages
Upload/Install the new language file.
Finally you are sent to: Site->Language Manager-Site Languages again, and there you:
mark language 'Danish' in left side. Then click 'Publish' in top menu.

Author:  raabjerg [ Wed Jun 07, 2006 5:33 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

Nice - thanks very much :)

Author:  navin123 [ Wed Jun 21, 2006 8:20 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

I'm getting this.
I updated all to 1.09.

We have %s guests online and %s members online

What to do?????

Author:  selman [ Wed Jun 21, 2006 8:27 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

navin123 wrote:
I'm getting this.
I updated all to 1.09.

We have %s guests online and %s members online

What to do?????

there is the solve in the 2nd answer... You have to change your language file...

Author:  Jelte [ Wed Jun 21, 2006 10:23 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

selman wrote:
navin123 wrote:
I'm getting this.
I updated all to 1.09.

We have %s guests online and %s members online

What to do?????

there is the solve in the 2nd answer... You have to change your language file...


He has changed the language file to 1.0.9 and then getting that. I have the same problem with an updated 1.0.9 language file... If I use the 1.0.8 language file on 1.0.9 all is fine.

What to do?

Author:  damo [ Fri Jun 23, 2006 8:05 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

i'm really not sure where to put this so i'm putting it here but with 1.0.8 the module never worked until you refreshed the page and not nothing has changed in 1.0.9

its bloody annoying as its a frontpage module, if it was anywhere else it wouldn't bother me but haw can it go backwards?

Author:  Deighardt1 [ Sun Jul 23, 2006 5:53 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

I have this problem to with the module displaying (We have %s guests online and %s members online)
I have upgraded to joomla 1.0.10 and this has happend.
Where do I go to get an updated language file, or how do I update it if the file already reads this in the language for who's online

/** whos_online.php */
DEFINE('_WE_HAVE', 'We have ');
DEFINE('_AND', ' and ');
DEFINE('_GUEST_COUNT','%s guest');
DEFINE('_GUESTS_COUNT','%s guests');
DEFINE('_MEMBER_COUNT','%s member');
DEFINE('_MEMBERS_COUNT','%s members');
DEFINE('_ONLINE',' online');
DEFINE('_NONE','No Users Online');

Thanks for your time

Author:  Jelte [ Sun Jul 23, 2006 8:04 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

My problem was that I was using the extended who's online module from joomlahacks... that one needed an update. When they released the new version, it worked fine (%s was displayed as the number of guest/ users)

Author:  kinetik [ Thu Aug 17, 2006 7:07 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

Hello, I looked into the language file and the updates that are given here are already in the file when they give me the %guest online error. Is there something I'm missing here? I updated from 1.0.4 to 1.0.9 to 1.0.10 and still can't wrap my head around what's wrong. any suggestions appreciated  ;)

Author:  superfirefox [ Tue Sep 05, 2006 1:41 pm ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

I have got the same bug...for my Italian version 1.011

(We have %s guests online and %s members online)
or
(Abbiamo %s utente online  )
in Italian



is it a security bug? I Have 2 alerts, and I keep them so because I have got modules that needs the Globals...
[I have tried to switch off..ma this Whosonline bug still remains]


/** whos_online.php */
DEFINE('_WE_HAVE', abbiamo ');    // And so on...I copied from above the english code
DEFINE('_AND', ' and ');
DEFINE('_GUEST_COUNT','%s guest');
DEFINE('_GUESTS_COUNT','%s guests');
DEFINE('_MEMBER_COUNT','%s member');
DEFINE('_MEMBERS_COUNT','%s members');
DEFINE('_ONLINE',' online');
DEFINE('_NONE','No Users Online');


I have uploaded the new Italian language file but the problem is still there
These are my Languages...The problem is on both.

English    1.0.0  2004-09-20  Joomla! Project  admin@joomla.org 
Italian  1.0.0  2005-09-14  TTI joomla.it  info@joomla.it 

Author:  masolv [ Thu Nov 02, 2006 9:54 am ]
Post subject:  Re: [NOT BUG] 1.0.9 b4 who's online bug

selman wrote:
ot2sen you're really a hero :) fixed the problem  :-*

ot2sen  is surely a Joomla Hero - thank you. If you should be in Hillerød I would also buy you a beer or two.  :P Men måske har du allerede fået for mange  ? It seems to be a popular thread :laugh:

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