Support » Plugin: GatherContent Plugin » Import Hangs at 1%

  • Resolved invisiblue

    (@jayharle)


    Hello,

    We have a development site setup and were attempting to test the latest version of this plugin, but the import process seems to hang at 1%.

    The site is fully password protected, and we have CRON disabled currently. Any idea if those things could be an issue?

    Thanks,
    Jason

Viewing 13 replies - 16 through 28 (of 28 total)
  • Plugin Author Justin Sternberg

    (@jtsternberg)

    if you have the gc debug enabled, you’ll see some new options on the settings page: /wp-admin/admin.php?page=gathercontent-import

    Try clicking the “Review stuck sync statuses?” and clicking save… let me know if anything shows there. If so, do the same with “Delete stuck sync statuses?”

    Hi Justin,

    I tried clicking the “Review stuck sync statuses” and then save and it says “There are no stuck statuses”.

    There are no stuck statuses

    If this helps, see here the gif below, the activity that happens in the developer console while hanged in 1%. This comes from the log() method on gathercontent.js file.

    dev console log

    Does that tells you something about what or where it might be failing?

    Thank you,

    • This reply was modified 2 years, 3 months ago by  Elvis Morales. Reason: Update GIF image URL

    Hey Justin,

    I think the recent change for v3.0.8 to detect if HTTP authentication is enabled on the site might have broken the sync for those sites where NO HTTP authentication is enabled.

    I just tested the same project setup I described I have in my vagrant box (accesible via localhost:8081), but on the staging site where is enabled basic HTTP authentication and I had to provide the credentials for, and it worked out of the bat. However from localhost:8081 where no basic auth is needed it keeps hanging there at 1% with no further info or errors around.

    Can you check if without basic auth is still working for you?

    Thanks,

    Correction Justin,

    Seems like my setup under localhost:[port] is the problem. I just changed to access the site trough mysite.10.0.0.1.xip.io and it worked perfectly.

    If you want to add support for the plugin to work also under localhost:[port] will be neat and something less to worry about for the future.

    Plugin Author Justin Sternberg

    (@jtsternberg)

    Thanks for reporting back. I use local domains for all my local dev, so I have not run into this problem. I’m honestly not sure what it would take to make it work for that type of url, but if you happen to figure it out, feel free to submit a pull request: https://github.com/zao-web/gathercontent-wordpress-plugin

    jdub233

    (@jdub233)

    Hello,

    I tracked our import problem to an issue with the cookie for the admin-post.php request that initiates the async process. I opened an issue for the problem here:
    https://github.com/gathercontent/wordpress-plugin/issues/27

    Any ideas for workarounds?

    Plugin Author Justin Sternberg

    (@jtsternberg)

    Good question. I’ll do some testing and get back to you.

    Plugin Author Justin Sternberg

    (@jtsternberg)

    New release (3.1.0) should address the cookie issue.

    cselin

    (@cselin)

    I’ve just started using the plugin and I’m having the same issue where it stalls at 1%. If it try to import just 1 page, it stalls at 25%.

    I am using Gathercontent in conjunction with a custom post type and I am attempting to import content in Advanced Custom Fields. My ACF pro, Gathercontent and WordPress are all up to date.

    Any ideas on how I can resolve this?

    Plugin Author Justin Sternberg

    (@jtsternberg)

    cselin, have you reviewed the previous threads to see if your issue has been addressed in one of those? Maybe this one or this one if you have a site password (more info).

    jdub233

    (@jdub233)

    Thanks for the quick response Justin! The new release fixes the problem.

    cselin

    (@cselin)

    Thanks Justin, I have reviewed those threads as well. My site isn’t password protected, and it’s located live on the web at the moment. So it shouldn’t be anything to do with security or using a localhost URL structure.

    I tried enabling debug but nothing is getting output to debug.log.

    Could it be that I’m doing the ACF integration wrong? I couldn’t find clear documentation on that, my template mappings have ‘mapped wordpress field’ as ‘Custom Fields’ and then the mapped field is written in as text in the second input, eg ‘banner_title’. Is that correct?

    Plugin Author Justin Sternberg

    (@jtsternberg)

    Hmm the template mapping seems correct, but that wouldn’t affect it importing anyway. You might need to get in contact with the general gathercontent support team where they can get site access credentials from you, and we can look at your particular installation.

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Import Hangs at 1%’ is closed to new replies.