Support » Plugin: GraphComment Comment system » Importing comments doesn’t work

  • Resolved formulaclick

    (@formulaclick)


    Hi

    I’ve installed and configured plugin, it looks great.

    My problem is that comments are not importing to GraphComment. I’ve tried some times and always appears 0 comments imported.

    https://pasteboard.co/IHHocWP.png

    Why is happening?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • formulaclick

    (@formulaclick)

    Logs:

    [debug][19-11-21 10:55:02] – GcParamsService::fetchApiKeys()
    [debug][19-11-21 10:55:02] – fetch keys
    [debug][19-11-21 10:55:02] – Gc sync: 0 new comments
    [debug][19-11-21 10:55:02] – GcParamsService::fetchApiKeys()
    [debug][19-11-21 10:55:02] – Gc sync: start
    [debug][19-11-21 10:54:57] – WP_Async_Task: launch
    [debug][19-11-21 10:54:57] – GcImportService::importInit() – Everything is ok
    [debug][19-11-21 10:54:57] – GcGeneralController::handleOptionForm() – Init import
    [debug][19-11-21 10:54:57] – GcImportController::handleOptionForm()
    [debug][19-11-21 10:54:57] – options.php::handle_option_form() gc_action: importation

    Plugin Author graphcomment

    (@graphcomment)

    Hello,

    It’s a new kind of problem that we have never seen. Because it’s into the plugin, we can not have much more information than this logs. We need an access to your WordPress as temporary Admin. If you can do so, please send us the ID’s to support@graphcomment.com .
    Best regards,
    J.

    formulaclick

    (@formulaclick)

    I’ve found problem. I have WP Cerber Security plugin and this was blocking import. I’ve deactivated that plugin and then import worked:

    [error][19-11-21 17:47:58] – GcMenu::get_notif() – Got HTTP ret !== 200 ( url: https://graphcomment.com/api/website/5dd65ebb5397a55a4af6b8a4/notif)
    [debug][19-11-21 17:47:47] – GcParamsService::fetchApiKeys()
    [debug][19-11-21 17:47:47] – GcSynchronisationController::handleOptionForm() – Everything is ok
    [debug][19-11-21 17:47:47] – GcSynchronisationController::handleOptionForm()
    [debug][19-11-21 17:47:47] – options.php::handle_option_form() gc_action: synchronization
    [error][19-11-21 17:47:23] – GcMenu::get_notif() – Got HTTP ret !== 200 ( url: https://graphcomment.com/api/website/5dd65ebb5397a55a4af6b8a4/notif)
    [error][19-11-21 17:47:08] – GcMenu::get_notif() – Got HTTP ret !== 200 ( url: https://graphcomment.com/api/website/5dd65ebb5397a55a4af6b8a4/notif)
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – No more comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 0
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :0 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :0 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 21
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :15 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :21 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 30
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :18 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :30 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 30
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :19 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :30 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:45:01] – Gc sync: 0 new comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 30
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :18 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :30 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:45:01] – GcParamsService::fetchApiKeys()
    [debug][19-11-21 17:45:01] – Gc sync: start
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 30
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :19 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :30 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – Nbr Comments Found: 30
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :7 posts found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – SQL :30 comments found for sending
    [debug][19-11-21 17:44:12] – GcImportService::importNextComments() – request: Get Next Comments
    [debug][19-11-21 17:44:12] – handle_postback wp_async_import_comment exist ? true
    [debug][19-11-21 17:44:12] – WP_Async_Task: handle postback
    [debug][19-11-21 17:44:09] – before post wp_async_import_comment exist ? true
    [debug][19-11-21 17:44:09] – WP_Async_Task: launch
    [debug][19-11-21 17:44:09] – GcImportService::importInit() – Everything is ok
    [debug][19-11-21 17:44:09] – GcGeneralController::handleOptionForm() – Init import
    [debug][19-11-21 17:44:09] – GcImportController::handleOptionForm()
    [debug][19-11-21 17:44:09] – options.php::handle_option_form() gc_action: importation

    Anyway, I can’t find imported comments on GraphComment GC Admin. Should not appear instantly?

    https://pasteboard.co/IHKjra9.png

    Thanks

    Plugin Author graphcomment

    (@graphcomment)

    Hey you rocks !
    That great to hear that you succeed. Good to know that this plugin can be a problem, we will add this to our FAQ.
    About the missing comment, you must take a look to the PERIOD filter, it’s probably not on “All” meaning All the time from the beginning.
    Try this and let us know.
    Best,
    J.

    formulaclick

    (@formulaclick)

    You were right. Now I can see all comments.

    I still have a problem on those posts with comments that reply other comments.

    Example:
    https://harodigital.com/noticias/desafio-herrera-marcha-cicloturista-en-homenaje-al-equipo-kas-y-al-jatorrena/
    https://pasteboard.co/IHQwmjvT.png

    As you can see, in this post there are 2 comments but GraphComment says that there are 3. There is one comment duplicated. It’s not a sync problem, it’s synced and as I say, same problem happen in posts with comments replying other comments.

    Is this a bug? How can be solved?

    Plugin Author graphcomment

    (@graphcomment)

    Hi, that’s great.
    To have the same count, you must enable the synchronization option in the “SYNC & BACKUP” tab in your plugin settings of GraphComment. Set it to 1 minute if you have not much comments per hour.
    Let me know,
    Best,
    J.

    formulaclick

    (@formulaclick)

    Asi I said. Sync is activated. It’s not syncing problem. I’ve added a new comment and it’s synced but WordPress says there are 3 comments and Graph says there are 4 (one appears duplicated):

    [debug][19-11-22 11:15:01] – Gc sync: 1 new comments
    [debug][19-11-22 11:15:01] – GcParamsService::fetchApiKeys()

    But comments appear duplicated when they a replying another comment. Please check my last post again 🙂

    Check it: https://harodigital.com/noticias/desafio-herrera-marcha-cicloturista-en-homenaje-al-equipo-kas-y-al-jatorrena/#comments

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