1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Trophy awarding issue (very odd)

Discussion in 'Troubleshooting and Problems' started by Glockie, Dec 28, 2015.

  1. Glockie

    Glockie Well-Known Member

    Hello and good evening,
    Some users get trophies, others don't.

    I even created an admin account for a developer earlier who's helping me with something, and 4-5 hours still no award for first post...

    I have tried everything in these threads;

    And clearing the trophy awards cache did it.
    The problem is, how do I ensure it doesn't happen again?
    I've never had to raise a single ticket yet - as it's that reliable, and I'd hate to now, but I am a bit lost as I cannot understand why trophies are not being issued..

    Will having the online status time increased, cause us an issue?
    Or could an add-on be conflicting?

    Under user options the online time is quite high, would this do it and thus affect the awards and a particular add-on that is somewhat based upon the same detection methods?

    We have it at;
    Online Status Timeout (minutes) 1440
    I followed this guide
    Maybe it's this, because when I run the cache, it works fine.

    Or is it an add on causing issues? Am a bit lost and a bit tired, so sorry if rambling.
    Many thanks
  2. wang

    wang Well-Known Member

    Can you disable that other add on and then monitor it to see how it will behave?
    Glockie likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    Do you mean rebuilding trophies? If so, that's somewhat expected, as trophies are only calculated when a user is active and then a couple additional times afters (until they're active again). The rebuild will redo trophies for all users at that time.

    So when a user is active, you'd want to wait at least (worst case) 2 hours to see if the trophy is awarded as expected. If not, then you will want to check to see if your crons are running (based on last run date listed in the control panel).
    Glockie and wang like this.
  4. Glockie

    Glockie Well-Known Member

    Okay thank you, they do run but seem to be taking an extremely long time to award the trophies.
    Even the developer who's helping us, waited 2 days I think before being awarded the first post trophy? Seems extremely long.
    I am quite unsure if the session is possibly causing this..
    Will keep digging and see what we can find.
    Thank you :)
  5. Glockie

    Glockie Well-Known Member

    Hmm I noticed something, last activity for users in the ACP is way off.
    For example, mine shows last active yesterday at 23:17, but I have been online since 5:45 this morning.. I have read about this somewhere before.
    @Mike would that have something to do with it? Surely it would.. wouldn't it?
  6. Mike

    Mike XenForo Developer Staff Member

    Yes, that would cause it. I note you posted in a thread last night talking about a 4GB session table and you made some references to online status timeout here, so it's very possible that those changes are related.
    Glockie likes this.
  7. Glockie

    Glockie Well-Known Member

    Yes indeed, I 'forced' the system into increasing the logout time period as mentioned in several threads.

    But of course, I am debugging and tracing as much as I can, and have a developer also looking - and I retraced my steps back to this. I think it's a considerable contributor to this issue.
    Some get awarded, some don't - it's erratic.
    Oddly user group promotions work, as do birthday trophies.

    So, resetting the timeout information will probably undo this would it?
    Many thanks again for the help. Appreciated a lot.

Share This Page