WordPress.org

Ready to get started?Download WordPress

Forums

<![CDATA[name-of-author]]> shown in every comment (6 posts)

  1. outime
    Member
    Posted 6 years ago #

    Hi forum,

    I just migrate my old blog from WordPress.com to my own WordPress. I use the XML provided by WP.com for do this migration.

    The weird problem is that every comment doesn't have an author, appear in blank. And if I go to administration panel and watch the comments list, I have authors like:

    <![CDATA[abc]]>
    <![CDATA[zxy]]>
    <![CDATA[etc]]>

    Mails, web pages and IPs of the comments are stored ok, but not the names. What can I do to solve this?

    Thanks ;-)

  2. luckyblog
    Member
    Posted 6 years ago #

    I am having same problem.

    Here is link to the same problem on wordpress.com forum

    http://en.forums.wordpress.com/topic.php?id=12753&page&replies=5#post-103457

    I am going to try global replace of the
    <![CDATA[
    and
    ]]>

    But I presume they are used for something?
    They exist in tags other than the comments (e.g. they exist in the "categories" tags too) and don't seem to break import of categories.

  3. desertgrace
    Member
    Posted 6 years ago #

    SAME HEADACHE!!
    I GIVE UP!! My migration from wordpress.com to my own domain hosted by bluehost is NOT doing well. Please tell me what to do.

    I have exported the xml file and imported it in wordpress platform but the comments are not working properly. Comment authors not appearing! I have erased the <![CDATA[ and ]]> and replaced it with blank text..NOT WORKING STILL!!

    http://sandierpastures.wordpress.com

  4. Bournagain
    Member
    Posted 6 years ago #

    Nothing new to add unfortunately except that I have exactly the same problem with comment authors not showing up, and seeing that the global replace of the <![CDATA[ and ]]> didn't seem to work for someone on the related WordPress.com forum, I'm a bit reluctant to redo the whole import to my self-hosted wordpress.org blog again, as in other respects it's working well.

    So I add my little plea for help - anyone out there in wordpress.org land got a good solution that worked for them (preferably one that doesn't involve starting from scratch. Thanks.

  5. luckyblog
    Member
    Posted 6 years ago #

    Hi, there is a solution to the problem, the problem was reported as on a bug ticket and a patch is suggested there.

    So, to if you want to solve the problem, and if you are brave enough to mess with the code, then edit your 'wp-admin/import/wordpress.php' file and your 'wp-admin/export.php' file in the ways suggested, and it should work - I only had to edit my 'wp-admin/import/wordpress.php' file because I was importing a file from a wordpress.com blog which already does its cdata tags like that.

    cheers
    Helen

  6. luckyblog
    Member
    Posted 6 years ago #

    Oh, btw, for me, this involved: deleting all the posts on the wordpress.org blog which had comments, from the "manage posts" page. (Not soooo bad for me, as there were only 40 or so). Then (having made the changes from the patch) re-importing the file again - it is clever enough to not duplicate the non-commented posts which were still there.

Topic Closed

This topic has been closed to new replies.

About this Topic