Forums

[resolved] Import Issue: Comment Threading Gone (18 posts)

  1. flymansWife
    Member
    Posted 2 years ago #

    I imported my wordpress.com blog to my new wordpress.org blog on my domain i recently purchased. it seems to have imported everything without any issues except that comment threading did not stay intact. any replies i may have made to commentors are showing up as the last few comments rather than showing up as replies...

    any idea how to fix this??

  2. @mercime
    Member
    Posted 2 years ago #

    Change your wordpress.org theme to that which has threaded comments coded and styled into it. Some possibilities:
    http://wordpress.org/extend/themes/tags/threaded-comments

  3. flymansWife
    Member
    Posted 2 years ago #

    my theme does have threaded comments. and i tested them. i am able to reply and it shows up properly. the import just didn't keep the threaded comments.

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    There's a patch here, http://core.trac.wordpress.org/ticket/8019 but that would seem to require redoing the import which meanse dropping tables, redoing wp-admin/install.php, then do the import.

    Backup your existing database before proceeding.

  5. flymansWife
    Member
    Posted 2 years ago #

    i'm sorry, I've looked at that link and i'm just incredibly confused... what exactly do i need to do? i'm guessing i need to install some sort of a patch from that page but i'm not sure what link to use and where to install/add the patch.

    basically i need some step by step instructions... can someone help? i'm also not sure what exactly i need to be backing up before proceeding.

    thanks for getting me on the right track!

  6. MichaelH
    Volunteer
    Posted 2 years ago #

    You should backup your database just in case you need it. WordPress Backups explains backing up you database as well as your files.

  7. MichaelH
    Volunteer
    Posted 2 years ago #

    The patch is another thing. Review the SVN article and the Resources there...Westi's blog post on "using Tortise SVN in Windows" is good (just use http://svn.automattic.com/wordpress/tags/2.8.4 as the URL of the Checkout URL of repository.)

  8. MichaelH
    Volunteer
    Posted 2 years ago #

    Here's wp-admin/includes/wordpress.php at 2.8.4, with fix from http://core.trac.wordpress.org/attachment/ticket/8019/wordpress.php.diff

    So just replace the existing wp-admin/includes/wordpress.php with this.

    Note: I haven't tested this.

    If this doesn't work for you please comment about that at trac http://core.trac.wordpress.org/ticket/8019

  9. MichaelH
    Volunteer
    Posted 2 years ago #

    Darn, I didn't paste the link to the pastebin...

    replace the existing wp-admin/includes/wordpress.php with this:
    http://wordpress.pastebin.ca/1574674

  10. flymansWife
    Member
    Posted 2 years ago #

    Michael - are you saying not to do the patch and just replace the php file?

  11. MichaelH
    Volunteer
    Posted 2 years ago #

    I provided the whole wordpress.php, which includes the patch, just in case people didn't want to hassle with the SVN/patch thing.

  12. flymansWife
    Member
    Posted 2 years ago #

    ugh bummer... that didn't solve it. i replaced the wordpress.php file and then did a new import and still nothing :-( all of the author replies are showing up at the end of the comments rather than as replies.

  13. MichaelH
    Volunteer
    Posted 2 years ago #

    Darn.

    If you don't have a zillion comments, guess you could consider fixing the comment_parent field in your wp_comments table...

    Ugly choice you say....

  14. MichaelH
    Volunteer
    Posted 2 years ago #

    Have noted in Trac that your problem was not resolved by the fix there.

    Please, flymansWife, hold on to that export file just in case it might help one of the devs research the issue. Thanks.

  15. flymansWife
    Member
    Posted 2 years ago #

    thanks for your help in trying to resolve the issue....

  16. pbarron
    Member
    Posted 2 years ago #

    Michael: I've been working with flymansWife, and wanted to let you know that the wordpress.php fix does in fact solve this issue. The problem with flymansWife's earlier attempt was that after installing the new file, she re-imported her export file into the old database, so nothing changed. I repeated her steps on a test blog, deleted and replaced the database, did a quick reinstall of WP, then imported the export file with success. Threaded comments were restored.

    Thanks for your work on this! Much appreciated.

  17. Scordisian
    Member
    Posted 2 years ago #

    Is there a fix for this for WP-mu as well? I noticed this file doesn't excist in there?

  18. MichaelH
    Volunteer
    Posted 2 years ago #

    I would guess yes, but not sure. Maybe someone in the MU forums would know:
    http://mu.wordpress.org/forums/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags