WordPress.org

Forums

Blogger Importer
[resolved] Comments Empty (21 posts)

  1. junelily
    Member
    Posted 1 year ago #

    I have a fairly large database that I am importing (1613 posts, 35996 Comments, 8674 images). The posts and images have come over perfectly and all the comments came too (author, date, etc...) only the comment itself is empty... on ALL of the comments. I can't find one single comment that actually has content.

    Help please. I have tried deleting the comments and running the import 3x now.

    https://wordpress.org/plugins/blogger-importer/

  2. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Hi JuneLily,
    if you try re-importing you need to remember to empty trash after deleting the comments.
    Do you have Akismet or any 3rd party spam filtering installed on your wordpress site?
    What language are your comments in?
    If you visit the RSS feed for your comments on blogger do they appear correctly there?
    Cheers,
    Andy

  3. junelily
    Member
    Posted 1 year ago #

    The trash was emptied. The blog is in English. I do not have Akismet running. I do have the following plugins, though:

    Auto Post Thumbnail
    Maintenance
    PHP Code Widget
    WP-Cycle

    For some reason my feed address is blank... here is the site:

    http://shopellestudio.com/blog

  4. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    I found your comments feed at

    https://www.blogger.com/feeds/8643368010334484588/comments/default

    That all looks fine. I can't see why it would not transfer.

  5. junelily
    Member
    Posted 1 year ago #

  6. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have a custom theme? Perhaps swapping that back for something like 2013 would help?

  7. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Perhaps disabling your plugins would help?

    Tried WP-Cycle, Maintenance and Auto Post Thumbnail plugins on my site and can still load posts and comments ok.

  8. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Forgive me if I'm pointing out the obvious but did you check the comments via the dashboard or via the front end of the website?

  9. junelily
    Member
    Posted 1 year ago #

    I have looked on the front end and don't see anything. I'll try disabling PHP Code Widget and see if that makes a difference.

    I do have a custom theme. I guess I can try swapping it and running the uploader again and see if it makes a difference... I'll keep you posted.

    Do you think there could be any issues with permissions or anything? I have had trouble with the host because of this for various reasons. My custom permalinks wouldn't work for awhile because they have it set so that they have to manually edit the htaccess file on the server side and my WordPress install can't do that on it's own... I wonder if that's why I can't see the feed too? Don't know that that would affect the comments though.

  10. junelily
    Member
    Posted 1 year ago #

    I am in the middle of uploading the comments again and I am checking them in the dashboard and out front as it goes and they are still blank... should I wait until they all load (does something happen at the end to fill it all in)? Or should I just stop it now and try something else?

  11. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    I was meaning that you should check the dashboard for comments as that would identify any theme display issues.

    If you did not have permissions to talk to google from your site I'd expect nothing to work and you'd get errors before where you are.
    The importer should not need to access any temporary files (other than for downloading the images) so I'd question if that is it.

    The importer does make use of various modules from Apache so it could be that your host is configured a lot differently from mine but no obvious places to check at the moment.

  12. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Tested ok with PHP Code Widget too

  13. junelily
    Member
    Posted 1 year ago #

    yes, I can see comments via the dashboard... they are there in name and author, but no content.

  14. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    There is no additional step for the comments so if they appear they should have content too. So yes you can abort the run by pressing "refresh blog list" or navigating off the page.

    I'm still thinking it might be filtering the comments some how.

    If can edit comment-entry.php there is a line

    $comment = wp_filter_comment($comment);

    If you can comment that out

    //$comment = wp_filter_comment($comment);

    And see if that helps.

  15. junelily
    Member
    Posted 1 year ago #

    I commented out that line that you stated above... uploaded the new file to my site and ran the importer again (this time with twentythirteen to make sure it wasn't a theme issue either), and it's still skipping all the content for the comments... I can see authors, dates, everthing... just no content.

  16. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    One last thing to try in your WP_CONFIG file set it to log to file and then re-process one comment.

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    Note, for testing purposes you only need to delete at least one comment (empty trash), refresh the blog list and then import.

    Once you've done that you should have a log file in the wp-content folder.
    Revert your changes from above otherwise you might end up with a big log.
    Have a look at that file to see if it mentioned anything interesting.

  17. junelily
    Member
    Posted 1 year ago #

    Here's what I got on the error log:
    [10-Mar-2014 23:27:32] PHP Notice: ob_end_flush(): failed to delete buffer zlib output compression. in /home/elle/blog/wp-includes/functions.php on line 2773
    [10-Mar-2014 23:27:43] Error saving blogger status
    [10-Mar-2014 23:27:43] array (
    'ID' => 0,
    'comments_url' => 'http://www.blogger.com/feeds/5830139936594943664/comments/default',
    'title' => 'In The Kitchen with Elle',
    'summary' => '',
    'id' => '5830139936594943664',
    'host' => 'inthekitchenwithelle.blogspot.com',
    'gateway' => NULL,
    'posts_url' => 'https://www.blogger.com/feeds/5830139936594943664/posts/default',
    'total_posts' => 0,
    'total_comments' => 0,
    'posts_done' => 0,
    'comments_done' => 0,
    'posts_skipped' => 0,
    'comments_skipped' => 0,
    'images_done' => 0,
    'images_progress' => 0,
    'images_skipped' => 0,
    'links_done' => 0,
    'links_progress' => 0,
    'mode' => 'init',
    )
    [10-Mar-2014 23:27:43] Error saving blogger status
    [10-Mar-2014 23:27:43] array (
    'ID' => 1,
    'comments_url' => 'http://www.blogger.com/feeds/5304468579773276445/comments/default',
    'title' => 'In The Kitchen with Elle',
    'summary' => '',
    'id' => '5304468579773276445',
    'host' => 'cookwithelle.blogspot.com',
    'gateway' => NULL,
    'posts_url' => 'https://www.blogger.com/feeds/5304468579773276445/posts/default',
    'total_posts' => 0,
    'total_comments' => 0,
    'posts_done' => 0,
    'comments_done' => 0,
    'posts_skipped' => 0,
    'comments_skipped' => 0,
    'images_done' => 0,
    'images_progress' => 0,
    'images_skipped' => 0,
    'links_done' => 0,
    'links_progress' => 0,
    'mode' => 'init',
    )
    [10-Mar-2014 23:27:43] Error saving blogger status
    [10-Mar-2014 23:27:43] array (
    'ID' => 2,
    'comments_url' => 'http://www.blogger.com/feeds/3508445248824461392/comments/default',
    'title' => 'Elle\'s Studio Dev Blog',
    'summary' => '',
    'id' => '3508445248824461392',
    'host' => 'slkd-es.blogspot.com',
    'gateway' => NULL,
    'posts_url' => 'https://www.blogger.com/feeds/3508445248824461392/posts/default',
    'total_posts' => 2,
    'total_comments' => 0,
    'posts_done' => 0,
    'comments_done' => 0,
    'posts_skipped' => 0,
    'comments_skipped' => 0,
    'images_done' => 0,
    'images_progress' => 0,
    'images_skipped' => 0,
    'links_done' => 0,
    'links_progress' => 0,
    'mode' => 'init',
    )
    [10-Mar-2014 23:27:43] Error saving blogger status
    [10-Mar-2014 23:27:43] array (
    'ID' => 3,
    'comments_url' => 'http://www.blogger.com/feeds/8643368010334484588/comments/default',
    'title' => 'Elle\'s Studio',
    'summary' => '',
    'id' => '8643368010334484588',
    'host' => 'ellesstudio.blogspot.com',
    'gateway' => NULL,
    'posts_url' => 'https://www.blogger.com/feeds/8643368010334484588/posts/default',
    'total_posts' => 1614,
    'total_comments' => 35996,
    'posts_done' => 1604,
    'comments_done' => 0,
    'posts_skipped' => 0,
    'comments_skipped' => 0,
    'images_done' => 7250,
    'images_progress' => 0,
    'images_skipped' => 0,
    'links_done' => 0,
    'links_progress' => 0,
    'mode' => 'init',
    )
    [10-Mar-2014 23:27:47] PHP Notice: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. Upgrading to PHP 5.x (which includes iconv) is highly recommended. in /home/elle/blog/wp-includes/class-simplepie.php on line 1446
    [10-Mar-2014 23:27:47] PHP Warning: DOMDocument not found, unable to use sanitizer in /home/elle/blog/wp-includes/SimplePie/Sanitize.php on line 252
    [10-Mar-2014 23:27:47] Error saving blogger status
    [10-Mar-2014 23:27:47] array (
    'ID' => 0,
    'comments_url' => 'http://www.blogger.com/feeds/5830139936594943664/comments/default',
    'title' => 'In The Kitchen with Elle',
    'summary' => '',
    'id' => '5830139936594943664',
    'host' => 'inthekitchenwithelle.blogspot.com',
    'gateway' => NULL,
    'posts_url' => 'https://www.blogger.com/feeds/5830139936594943664/posts/default',
    'total_posts' => 0,
    'total_comments' => 0,
    'posts_done' => 0,
    'comments_done' => 0,
    'posts_skipped' => 0,
    'comments_skipped' => 0,
    'images_done' => 0,
    'images_progress' => 0,
    'images_skipped' => 0,
    'links_done' => 0,
    'links_progress' => 0,
    'mode' => 'init',
    )

  18. junelily
    Member
    Posted 1 year ago #

    More:

    [10-Mar-2014 23:29:11] PHP Notice: ob_clean(): failed to delete buffer zlib output compression. in /home/elle/blog/wp-content/plugins/blogger-importer/blogger-importer.php on line 247
    [10-Mar-2014 23:29:11] PHP Notice: ob_end_flush(): failed to delete buffer zlib output compression. in /home/elle/blog/wp-includes/functions.php on line 2773
    [10-Mar-2014 23:29:11] PHP Warning: DOMDocument not found, unable to use sanitizer in /home/elle/blog/wp-includes/SimplePie/Sanitize.php on line 252

  19. junelily
    Member
    Posted 1 year ago #

    I am guessing from the error log that this is a server issue... what do I need to do?

  20. junelily
    Member
    Posted 1 year ago #

    Aaaaand it was a server issue afterall! I contacted them and apparently they had not installed the php-xml module!! How frustrating, but at least it's fixed now!

    Thanks for all your time!

  21. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Great news. Based on your error log I've simplified some of the code so that it does not log things that are standard operations and eliminated the ob_clean issue.
    I've also updated the FAQ to include this issue.
    Thanks for your diagnostic help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Blogger Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags