Skip to:
Content
Pages
Categories
Search
Top
Bottom

Strange behavior in forum post freshness

  • Avatar of Gene53
    Gene53
    Participant

    @gene53

    Hi,

    For some strange reason, my forum posts freshness show “(username) said sometime ago” instead of showing the correct elapsed time in my two WP/BP test installs.

    Main and group posts activity freshness are OK…

    Ideas?

    Gene

    WP 2.9.2 single install

    BP 1.2.3

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of jivany
    jivany
    Participant

    @jivany

    Yes, I think it has something to do with your date or timezone not being set properly on your server.

    bp_core_time_since() does a sanity check so as to not return negative times which is where the “sometime” string comes from. There’s been tickets on this before and a few topics in the forums too I think.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    If the activity works and it’s only a forum thing, it’s probably a bbPress bug.

    Just a guess, but perhaps it’s caused by how bbPress is saving the time to the DB? Haven’t looked into it to verify though.

    Avatar of Gene53
    Gene53
    Participant

    @gene53

    @jivany “Yes, I think it has something to do with your date or timezone not being set properly on your server”. Now that you mention it, my host went offline for about 20 mins. or so today. I wonder if the problem is not at their end, my timezone settings are fine on my WP installs.

    Avatar of Gene53
    Gene53
    Participant

    @gene53

    @r-a-y “If the activity works and it’s only a forum thing, it’s probably a bbPress bug”. As I told jivany, I think when the server went offline today, something at their end must have gone haywire becuase the forum post freshness was OK before the crash. I’ll report this incident to my host.

    BTW, I was taking a look at my DB via phpmyadmin and after I checked the tables, I got the following message in my wp_users table:

    “The following indexes appear to be equal and one of them should be removed: user_login, user_login_key”

    So now I’m a bit baffled…

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Ahh okay… gotcha. Ignore what I wrote above then!

    Avatar of gian-ava
    gian-ava
    Participant

    @gian-ava

    BTW, I was taking a look at my DB via phpmyadmin and after I checked the tables, I got the following message in my wp_users table:

    “The following indexes appear to be equal and one of them should be removed: user_login, user_login_key

    I got exactly the same thing. What is that?

    Avatar of stwc
    stwc
    Participant

    @stwc

    Yep, seen that as well.

    Avatar of stwc
    stwc
    Participant

    @stwc

    Yep, seen that as well.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.