• Resolved yellofish

    (@yellofish)


    importation keeps failing – always end in an error/timeout. WP 5.8.1, Firewall (Wordfence) is disabled. Maybe I am on a shared host with cPanel and power ain’t enough.

    Is it possible to link the comments manually? I saw there is a wpxx_gc_comment_pairing table in MySQL. I did put some numbers manually, like 1 / 1 in each table, but that does not work.

    I also have a copy of the whole WordPress site on my PC running inside Xampp – that fails too

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author graphcomment

    (@graphcomment)

    Hello,

    We have tried to fix a problem on our side.
    Can you try again to import ?
    Maybe disable / Re enable the plugin before.
    And active the logs before launching it to get the eventual errors.
    Thx,
    J.

    Thread Starter yellofish

    (@yellofish)

    I did disable / Re enable and paired again, but no success…

    [error][21-09-17 04:19:30] - GcGeneralController::handleOptionForm() - Restart import fail
    [debug][21-09-17 04:19:30] - GcGeneralController::handleOptionForm() - Action: Restart import
    [debug][21-09-17 04:19:30] - GcImportController::handleOptionForm() (max execution time: 5000 seconds)
    [debug][21-09-17 04:19:30] - options.php::handle_option_form() gc_action: importation
    Plugin Author graphcomment

    (@graphcomment)

    Hello, we need to identify your website, can you send us your GraphComment ID to [email protected] ? We will fix it ASAP.
    Thanks
    J.

    Thread Starter yellofish

    (@yellofish)

    done.

    Thread Starter yellofish

    (@yellofish)

    What I did in the meantime:

    • deleted the GC plugin
    • removed the MySQL table (is not automatically deleted)
    • disabled Wordfence
    • installed GC again
    • init etc.

    import fails same as before

    [error][21-09-21 02:29:34] - GcGeneralController::handleOptionForm() - Restart import fail
    [debug][21-09-21 02:29:34] - GcGeneralController::handleOptionForm() - Action: Restart import
    [debug][21-09-21 02:29:34] - GcImportController::handleOptionForm() (max execution time: 5000 seconds)
    [debug][21-09-21 02:29:34] - options.php::handle_option_form() gc_action: importation
    [debug][21-09-21 02:25:42] - GcGeneralController::handleOptionForm() - Activate All
    [debug][21-09-21 02:25:42] - GcGeneralController::handleOptionForm() - Activate
    [debug][21-09-21 02:25:42] - GcGeneralController::handleOptionForm()
    [debug][21-09-21 02:25:42] - options.php::handle_option_form() gc_action: general
    [debug][21-09-21 02:24:12] - GcGeneralController::handleOptionForm() - Set website success: 5-Day-Shenzhen-Visa
    [debug][21-09-21 02:24:12] - GcSelectWebsiteController::handleOptionForm()
    [debug][21-09-21 02:24:12] - options.php::handle_option_form() gc_action: select_website
    [debug][21-09-21 02:18:00] - GcMenu::create_menu() - User wants to disconnect
    [debug][21-09-21 02:14:40] - _graphcomment_init_database
    [debug][21-09-21 02:14:37] - _graphcomment_init_database
    • This reply was modified 3 years, 2 months ago by yellofish.
    Plugin Author graphcomment

    (@graphcomment)

    Hello,

    We still have no record of your attempt to connect to us for the import. We think this is a problem in your WordPress configuration, probably a firewall or other type of plugin that prevents external requests from leaving.

    Please deactivate all your other plugins while you click on the import in our GraphComment plugin. Then if this is successful, of course reactivate all your other plugins.

    Thread Starter yellofish

    (@yellofish)

    I tried that before and again, not working.

    I will move to another comment system.

    • This reply was modified 3 years, 2 months ago by yellofish.
    Plugin Author graphcomment

    (@graphcomment)

    Ok, then the only way is to give us temporary access to your WordPress admin for us to test, because the problem is on the WordPress side, and on our side we are blind. You can send me your credentials at [email protected]

    Plugin Author graphcomment

    (@graphcomment)

    Hello,
    We’ve done a fix tutorial for you.

    1 / Go to Extensions menu and ? Edit ? on GraphComment plugin: Select plugin ? GraphComment ? and open the file:
    class > controllers > gc_import_controller.class.php
    
    2 / Go to line 67 and add theses 2 lines :
    
    

    update_option(GcImportService::getOptionsPrefix() . ‘status’, ”);
    update_option(GcImportService::getOptionsPrefix() . ‘batch_number’, ”);`

    you must have this final result:

    if (isset($this->post['gc-import-restart']) && $this->post['gc-import-restart'] == 'true') {
            GcLogger::getLogger()->debug('GcGeneralController::handleOptionForm() - Action: Restart import');
    
    update_option(GcImportService::getOptionsPrefix() . 'status', '');
    update_option(GcImportService::getOptionsPrefix() . 'batch_number', '');       
     if (($msg = $gc_import_service->restartImportationInit()) !== true) {
              GcLogger::getLogger()->error('GcGeneralController::handleOptionForm() - Restart import fail');

    3/ save modifications
    4 / restart import
    Best,`

    Thread Starter yellofish

    (@yellofish)

    Thank you for looking into this.

    I added:

    update_option(GcImportService::getOptionsPrefix() . 'status', '');
    update_option(GcImportService::getOptionsPrefix() . 'batch_number', '');   

    (careful with the code outside the code tags, ” and ” or ‘ ’/’ ‘ ain’t the same. The code inside is copy & paste)

    Looks like there is some progress, but got again stuck elsewhere:

    [error][21-09-23 00:17:55] - GcGeneralController::handleOptionForm() - Action: Restart import
    [error][21-09-23 00:17:55] - GcImportService::importInit() - An import is already pending
    [debug][21-09-23 00:17:55] - GcGeneralController::handleOptionForm() - Init import
    [debug][21-09-23 00:17:55] - GcImportController::handleOptionForm() (max execution time: 5000 seconds)
    [debug][21-09-23 00:17:55] - options.php::handle_option_form() gc_action: importation

    I saw some red numbers appearing. So something did happen. The comments are stored at your end I believe and not inside the MySQL db I believe.

    Will try later again.

    My aim is: get the old comments into GC. Delete the plugin and use the universal code instead (placed in the footer). And then make WP static with “simply static”.

    After that the working WordPress page will only be on my PC.

    Will that work for GC?

    • This reply was modified 3 years, 2 months ago by yellofish.
    Thread Starter yellofish

    (@yellofish)

    Stuck on 49% – but will try a little bit.

    Thread Starter yellofish

    (@yellofish)

    After switching off all plugins. deleting and re-installing GC, and a few more tries I got the green 100% now!

    On the GC.com dashboard I see like “260 replies(s)“, but on the website no messages show up, just the GC comments box to enter a new message. Except on one post, where they show up. So how can I bring back the old message on all posts/pages? Or does it take time to get sorted out?

    Plugin Author graphcomment

    (@graphcomment)

    Hello,
    Sometimes comments are attached to WordPress pages that you deleted or renamed. As a result, GraphComment cannot link these comments to the new page of your blog. You have to investigate and try to understand. You can go to the “comments” tab of WordPress and then see at which URL and which unique identifier a comment that does not appear in GraphComment is attached in WordPress. Then go to GraphComment, Moderation tab, find this comment and then see what URL it is linked to with us. You can send us sample URL’s by email to [email protected]
    Often it is the WordPress comments database that has been damaged by bugs.
    Best,
    J.

    Plugin Author graphcomment

    (@graphcomment)

    Forgot what I said, there is a problem indeed.
    We have to figure it out.
    I come back soon with a response.

    Thread Starter yellofish

    (@yellofish)

    Yesterday, no comments visible. Today they are all there.

    Did you changed anything after your last message? It looks very good now!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘importation keeps failing.’ is closed to new replies.