Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topics not found, only sticky topics show


  • myrandawicks
    Participant

    @myrandawicks

    I have forums with over 550+ public topics.

    None of which are displaying on the front-end end when navigating the forums. “Oh bother! No topics were found here!”

    Tried:
    Deactivated all other plugins – still didn’t work.
    Activated Twenty Twelve theme – still broken.

    Hack:
    When I set a topic to ‘sticky’ it will show up, and when I ‘un-stick’ it, it still shows. I dont want to have to stick and unstick over 550 topics individually for this to work.

    Any ideas out there?
    Thanks in advance.

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

  • Robin W
    Moderator

    @robin-w

    Can you clarify

    Did these show and have stopped?
    Have you just imported these?


    myrandawicks
    Participant

    @myrandawicks

    They are newly imported!


    Robin W
    Moderator

    @robin-w

    ok try

    dashboard>permalinks>and just click save

    This sometimes frees them up

    if not come back


    myrandawicks
    Participant

    @myrandawicks

    I have tried this a few times, no luck!

    Also tried the 2 WP fix plugins you had suggested in some other chains.

    Hmm, any other ideas?
    Thanks in advance.


    myrandawicks
    Participant

    @myrandawicks

    Is there any way to bulk edit them all to ‘stick’ and then un-stick? Because that seems to be the only solutions I’ve found.


    myrandawicks
    Participant

    @myrandawicks

    Oh, i am mistaken. It has nothing to do with sticking/unsticking. Its the “Update” button that fixes the displaying of topics.


    myrandawicks
    Participant

    @myrandawicks

    Ok so update: I have manually opened each of the 550 topics individually to click ‘update’ in order for all of them to appear in the forums. (Bulk updating does not fix it)

    But now I have 2,347 imported replies that behave the same way – not displaying until I hit the update btn on each.. :/

    saving/changing permalink does not fix. Nor do the forum repairs.


    Robin W
    Moderator

    @robin-w

    That’s shows determination !!

    Do you have phpmyadmin access ?


    myrandawicks
    Participant

    @myrandawicks

    From the site I am exporting from? No, but I can.
    From the site I am working on? Yes.


    Robin W
    Moderator

    @robin-w

    ok, so for site you are working on look at a single reply ID that is not working

    assuming you table have the wp_ prefix, then in sql type

    SELECT * FROM wp_posts WHERE ID = xx

    where xx is the name of the reply

    copy that line into anything (word, notepad etc.)

    then

    SELECT * FROM wp_postmeta WHERE post_id = xx

    and copy that.

    Then go into dashboard and do whatever you are doing to fix

    then repeat

    then come back here and say what items have changed if any

    that will get us much further forward even if nothing has changed.


    Robin W
    Moderator

    @robin-w

    oh, and before you do that, you haven’t run a repair – sorry I missed that you hadn’t done that – the stickying and unsticking led me away from that 🙂

    go to

    dashboard>tools>forums>repair forums and run one at a time – I’d start with the first, it may be all you need to do


    myrandawicks
    Participant

    @myrandawicks

    Yeah none of the Forum Repairs worked for me…

    Ok, so here is what I got from your database instructions:

    wp_posts:
    Difference in here between hitting the ‘update’ btn in the WP dashboard, are that values for ‘ping_status’ column went from closed to open. modification date/time changed, ‘post_parent’ from 0 to 14563, and ‘menu_order’ from 0 to 1.

    wp_postmeta:
    I didnt see any search results for the bbp reply… here’s a screengrab


    Robin W
    Moderator

    @robin-w

    ok, I think the key item is that it is repairing the post_parent, so a reply gets back it’s topic ID.

    I can only presume this is from the topic_id held in postmeta.

    Can you confirm for another reply that you haven’t updated that

    1. post_parent is 0 and
    2. postmeta has the entry _bbp_topic_id with a number against it.

    and then randomly check several more.

    then update a couple and confirm that post_parent is now complete.

    If all that checks out – I can write a quick programme that will go through each reply, pick up the topic_id from postmeta and set post parent.


    myrandawicks
    Participant

    @myrandawicks

    Hi Robin,

    I have confirmed with 5 random reply posts that arent working:
    – all have ‘0’ for post_parent.(also ping_status is closed)
    – all have a postmeta _bbp_topic_id #

    When I click Update on all of them, they all get a post_parent #…

    If you could help with writing that programme for me, that would lave my life!!

    Thank so much.


    Robin W
    Moderator

    @robin-w

    ok, can you contact me via my website so we can exchange info

    http://www.rewweb.co.uk


    jkw217
    Participant

    @jkw217

    I am having the exact same problem! I am actually manually saving over 1400 topics and this solves the issue BUT I have over 14,000 replies. What is the solution? Everything you mentioned above does not work.


    Robin W
    Moderator

    @robin-w

    can you confirm that

    5 random reply posts that arent working:
    – all have ‘0’ for post_parent.
    – all have a postmeta _bbp_topic_id #

    and I can give you some code


    jkw217
    Participant

    @jkw217

    @robin-w do you have a solution for this problem?


    Robin W
    Moderator

    @robin-w

    @jkw217 if you can confirm my post above – ie

    can you confirm that

    “5 random reply posts that arent working:
    – all have ‘0’ for post_parent.
    – all have a postmeta _bbp_topic_id #

    I need to know that you

    a) have EXACTLY the same problem and
    b) have the postmeta as above

    then I can give you some code


    jkw217
    Participant

    @jkw217

    I imported forums and that went fine.

    I imported topics and they do not show in any forums. I re-save topics and they show up in forums. But having to save over 1,400 topics is a problem.

    I have not yet imported replies but based on other people’s problems this is also going to be an issue. I cannot re-save over 15,000 replies to have them show up in topics.

    This is using the WordPress built in export and import.

    I have tried disabling all plugins except bbpress. I have tried saving permalinks. Nothing has worked.

    I have tried the latest bbpress version, I have tried the RC version and I have tried the beta version. All with the same results.


    Robin W
    Moderator

    @robin-w

    ok, we need to do some tests

    can you contact me via my website

    http://www.rewweb.co.uk


    Stephen Edgar
    Keymaster

    @netweb

    @jkw217, You do not have the exact same problem, please add some more information to the post I’ve just made here https://bbpress.org/forums/topic/import-parent-and-child-relationships/

    p.s. Please create your own topics in future instead of replying to other topics, 99.9999% of the time your import issues will be different to that of someone else’s, if you need to you can link o other topics as a reference and say it is “similar to xyz”

Viewing 22 replies - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.
Skip to toolbar