collapse collapse

* Archive Notice

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work. This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 132
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Who's Online Unknown Action  (Read 17100 times)

0 Members and 1 Guest are viewing this topic.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Who's Online Unknown Action
« on: May 08, 2012, 10:48:38 PM »
EDIT: It wasn't the shoutbox, it is simpleportal period.

I am running SMF 2.0.2 and SimplePortal 2.3.5

Whenever I have simpleportal enabled on my forum, ALL of my member actions under Who's Online are displayed as "unknown action." Is there any way to return the list functionality? Myself and my members use this feature frequently and I don't want to lose simpleportal just to return it.
« Last Edit: May 15, 2012, 06:05:26 PM by avepeachy »
<><

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #1 on: May 15, 2012, 06:06:07 PM »
Anyone? Bueller? Bueller?
<><

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #2 on: May 15, 2012, 06:09:47 PM »
I have the same.


Stef.

Offline abvs

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #3 on: May 28, 2012, 07:26:19 AM »
also have this problem...

Offline Kryzen

  • Localizer
  • Language
  • *
  • Posts: 826
  • Gender: Male
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Who's Online Unknown Action
« Reply #4 on: May 28, 2012, 07:42:40 AM »
I can't reproduce this problem on this site and I don't have access to my local Simple Portal installation right now, but what blocks are enabled? Do you have any other mods installed?

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #5 on: June 06, 2012, 07:39:33 PM »
If you want i can give you a administrator account?
Than you can see what happens.

Stef.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #6 on: June 07, 2012, 08:57:20 AM »
As you can see, on this site, Who's online gives information about most users online:
http://simpleportal.net/index.php?action=who;start=0;show=all;sort=user

The issue may have to do with the actions chosen.  It may have to do with other mods installed. It may take some time to track down the problem.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #7 on: June 22, 2012, 04:30:54 AM »
I have this problem too.  I'll see what I can find internally.

The site I'm now doing has a bunch of packages:
Stars And Badges      2.2
AjaxChat Integration   3.2.2b
WYSIWYG Quick Reply   2.3
SMF 2.0.2 Update      1.0
Order Custom Profile Fields    1.1.1
Member NotePad      2.0.2
Karma Description Mod   2.7.1
Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.0
Switch Permissions   1.0
Member Color Link      3.1
SMFShop         3.1.7
Post Unapproval      1.1.4
Aeva Media      1.4w
SimplePortal      2.3.5
SMF Staff Page      1.7
SMF Bay         2.0rc1
Member Awards      2.2.3
SMF Links      2.3.2
Topic Solved      1.1.1
Bookmarks      2.3

Thank you!
« Last Edit: July 10, 2012, 07:53:50 AM by Aimee »

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #8 on: June 22, 2012, 07:59:15 AM »
That is a very long list of mods.

If you want to figure out the problem, you could try uninstalling mods in the reverse order they were installed, looking each time to see if/when the problem goes away.

Please give this a try.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #9 on: June 22, 2012, 09:30:02 AM »
Ok; I can do that on my development system.

Here's some more info on what I've seen so far.

Who's Online seems to work ok; the problem is that the url_list from which it's working (about line 325 in Who.php) does not have the right level of detail -- as though every shoutbox update (mine is set to 30 seconds) supersedes the post/display info.  Maybe that helps you, but I'll also try to track it back to the origin of the url_list.

Thanks so far.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #10 on: June 22, 2012, 11:04:52 AM »
Tracking it back to the url_list could help you make sense of it. 

And remember -- this is not just about Simple Portal. Whois works fine on SimplePortal.net, for example.

It seems like it is some collision with some other thing. Or a larger collision between a number of mods.
Or dependant on one or more settings.
If you can narrow it down, you'll have a lot more to go on.

Could be a pain to figure out; good luck!
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #11 on: June 22, 2012, 04:09:32 PM »
Ok the salient part is in the writeLog function in Subs.php, which uses session info to write to {db_prefix}log_online from session data, which is then re-read in Who's Online.

I'm starting to think that it's related to the following effect:  If I let my browser sit and just watch the shoutbox, the user never "falls off the bottom" of Who's Online, whereas it used to in 2.3.3.  It's as though the shoutbox now automatically and actively issues a shoutbox-refresh statement rather than passively waiting for more content.  Stated differently, Who's Online is accurate until the first shoutbox refresh.

Should be able to remove modules this weekend.

Offline Metacritter

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #12 on: June 22, 2012, 06:50:46 PM »
I am seeing the same effect on my 2.0.2-2.3.5 forum with very few mods.

Tracing past the writeLog() function, I noticed this in my index.php smf_main()

Shouldn't writeLog() be inside the "// Don't track stats of portal xml actions" block?  Stepping over the code skips that block from a shoutbox refresh but not from a page load, so the detection appears to be working as the comment indicates.

Lines 192-205 of index.php
Code: [Select]
    // Do some logging, unless this is an attachment, avatar, toggle of editor buttons, theme option, XML feed etc.
    if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'findmember', 'jseditor', 'jsoption', 'requestmembers', 'smstats', '.xml', 'xmlhttp', 'verificationcode', 'viewquery', 'viewsmfile')))
    {
        // Log this user as online.
        writeLog();

        // Don't track stats of portal xml actions.
        if (empty($_REQUEST['action']) || $_REQUEST['action'] != 'portal' || !isset($_GET['xml']))
        {
            // Track forum statistics and hits...?
            if (!empty($modSettings['hitStats']))
                trackStats(array('hits' => '+'));
        }
    }



[Edit: From here down.  Tested and reporting a fix on my install]
Changed the placement of writeLog(), confirmed that I'm back to the behavior I expected to see from 2.3.3.  (No "Who's Online" time bump for users idling on a page containing an auto-refreshing shoutbox, normal bumps for normal navigation.) 
Code: [Select]
// Do some logging, unless this is an attachment, avatar, toggle of editor buttons, theme option, XML feed etc.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'findmember', 'jseditor', 'jsoption', 'requestmembers', 'smstats', '.xml', 'xmlhttp', 'verificationcode', 'viewquery', 'viewsmfile')))
{
// Don't track stats of portal xml actions.
if (empty($_REQUEST['action']) || $_REQUEST['action'] != 'portal' || !isset($_GET['xml']))
{

// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}
}

Aimee, I notice that you talked about prior behavior in 2.3.3.  Did you skip 2.3.4?  I jumped versions from 2.3.3 to 2.3.5.  I wonder if this causes issues with how the install is applied?
« Last Edit: June 22, 2012, 07:28:00 PM by Metacritter »

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #13 on: June 22, 2012, 08:55:46 PM »
You're onto something.  If the session data is loaded differently than in 2.3.3, which I've seen it is, then it could confuse the code you've highlighted and other code dependent on the session objects such as the contents of Who's Online.

When I saw that 2.3.5 said to uninstall SP entirely, I took that to mean 2.3.5 is, like, self-contained.

Further, I've seen that my guests (spiders, mostly) both age out and work in who's online correctly.
« Last Edit: June 22, 2012, 09:53:45 PM by Aimee »

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #14 on: June 22, 2012, 09:54:41 PM »
Yes, Metacritter, I skipped 2.3.4.  Just now I went back to 2.3.3, then did 2.3.4, then 2.3.5.  Same weird symptoms; no difference.

Made the (very sensible) change you suggested, and everything is good now  :)

This is Solved for me!  Thank you very much!

Offline Metacritter

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #15 on: June 22, 2012, 10:02:48 PM »
That's great!  And thank you very much!  Without your pointer on where to start looking, this would surely have taken me ages to figure out.  :)
Yes, Metacritter, I skipped 2.3.4.  Just now I went back to 2.3.3, then did 2.3.4, then 2.3.5.  Same weird symptoms; no difference.

Made the (very sensible) change you suggested, and everything is good now  :)

This is Solved for me!  Thank you very much!

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #16 on: July 10, 2012, 07:01:19 AM »
Thanks,

This works very good.

Stef.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #17 on: July 23, 2012, 03:15:23 PM »
I think this may have gone off course... My problem isn't with displaying who's online, it's with displaying their actions.

When I click to view who's online and see what they are doing, their action is displayed as "action unknown." I would like to be able to see the actions again.
<><

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #18 on: July 23, 2012, 04:44:38 PM »
Uh, no, it's right.  The contents of my Who's Online became pointless until I made the change above.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #19 on: July 30, 2012, 04:13:33 PM »
I made the change above as well and I am still encountering the same problem of a majority of my members being displayed with unknown action under the Who's Online.
<><

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #20 on: July 31, 2012, 11:03:21 AM »
Aimee -- the code you changed -- is this "pure" SMF code, or is it code SimplePortal modified?
If this is an SMF bug, it really ought to be reported to the SMF devs.  That's why I'd like to find out if it is an SMF bug.

avepeachy -- I think there may be more than one possible cause for the "unknown action" problem you observe. So Aimee's fix may or may not have any affect at all on some or all of your "unknown Actions".

That said, there can always be some "unknown action" in the who list (I see one right here right now, for example).
It's when there are "too many" of them that we suspect a problem.

avepeachy -- you may need to uninstall mods, in the reverse order that you installed them, until you reach the point where things work again.  That will help to narrow down which mod is associated with the problem.

After that, it could be possible to find out if the problem is in the mod or in SMF itself.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 91
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.11
  • SP Version: 2.3.5
  • Elkarte Version: None
Re: Who's Online Unknown Action
« Reply #21 on: August 16, 2012, 10:52:01 PM »
I don't think reverse uninstalling will work for me; my online list was working perfectly well prior to Installing Simple Portal, which is the last mod I have Installed. It is the first time I've installed SP on my forum, and it installed cleanly.

I attempted the change which Aimee put up, and is has brought about no change. The memberlist still reads entirely as "Unknown Action" except in the following instances:

User is viewing the Portal
User is viewing a Page

Guests and Spiders show as viewing topics. It is only the members that are filing as Action Unknown at all times aside from the above mentioned.
« Last Edit: August 16, 2012, 10:59:19 PM by FireDitto »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Who's Online Unknown Action
« Reply #22 on: August 17, 2012, 10:27:34 AM »
Yeah, I may have done something that broke who's online in the last version. I'll look into it soon, as soon as I can.
And slowly, you come to realize... It's all as it should be...

Offline FireDitto

  • Jr. Member
  • **
  • Posts: 91
  • Gender: Female
    • Second Pass Weyr
  • SMF Version: 2.0.11
  • SP Version: 2.3.5
  • Elkarte Version: None
Re: Who's Online Unknown Action
« Reply #23 on: August 17, 2012, 10:09:38 PM »
Thank you, that would be great. I'm rather fond of that page =)

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #24 on: August 22, 2012, 02:35:35 PM »
AngelinaBelle, yes it was SMF code not SP.  It started happening after I upgraded SP however, so there's some type of linkage.
I'll follow up with SMF.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #25 on: August 23, 2012, 01:46:21 PM »
There may be something "funny" going on. Clearly, "everything" to do with that seems to work OK on SimplePortal.net.  But not on your site.  What is different between the two sites?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline joey791

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Who's Online Unknown Action
« Reply #26 on: September 16, 2012, 11:18:35 PM »
SMF 2.0.2 and Simpleportal 2.3.5 and having the same issues


Offline goodman854

  • Newbie
  • Posts: 3
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #27 on: September 02, 2013, 12:09:57 AM »
Massive Bump, Probably breaking forum rules.
I see no reason to make a new topic since it is the exact same issue.

I have confirmed it is in fact Simple Portal.

Using the trick located at: http://www.simplemachines.org/community/index.php?topic=467136.0

I have found that all users that are doing "Unknown Action"
Are now in fact, viewing the portal.
Something is causing this.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Who's Online Unknown Action
« Reply #28 on: September 02, 2013, 04:27:46 PM »
It's related to the change related to keeping users online when they are not refreshing any forum page but just using the shoutbox. That change will be reverted in the next version and it should solve the issue.
And slowly, you come to realize... It's all as it should be...

Offline goodman854

  • Newbie
  • Posts: 3
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #29 on: September 03, 2013, 06:33:23 AM »
It's related to the change related to keeping users online when they are not refreshing any forum page but just using the shoutbox. That change will be reverted in the next version and it should solve the issue.
Ok thank you.

Also just today my forum randomly made it so if I shout in the shout box the whole page refreshes. I don't think I installed anything, I guess someone changed something? Any idea what could have caused that?

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Who's Online Unknown Action
« Reply #30 on: January 02, 2014, 06:10:23 PM »
And slowly, you come to realize... It's all as it should be...

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Who's Online Unknown Action
« Reply #31 on: August 14, 2014, 11:16:16 AM »
Fixed for the upcoming version.
And slowly, you come to realize... It's all as it should be...