• Resolved chrisrollins

    (@chrisrollins)


    When trying to import a site I exported from another domain, I get the following error in my browser’s console:

    import.min.js?v=7.16&ver=5.3.2:1592 Uncaught Error: error
        at Object.error (import.min.js?v=7.16&ver=5.3.2:1592)
        at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)
        at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)
        at x (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4)
        at XMLHttpRequest.c (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4)
    error @ import.min.js?v=7.16&ver=5.3.2:1592
    i @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2
    fireWith @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2
    x @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4
    c @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4
    ajax @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4
    FileUploader.upload @ import.min.js?v=7.16&ver=5.3.2:1566
    (anonymous) @ import.min.js?v=7.16&ver=5.3.2:1452
    Import.checkDiskSpace @ import.min.js?v=7.16&ver=5.3.2:596
    (anonymous) @ import.min.js?v=7.16&ver=5.3.2:1448
    dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:3
    r.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:3
    load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:4 POST https://MYWEBSITE.COM/wp-admin/admin-ajax.php?action=ai1wm_import net::ERR_CONNECTION_RESET

    I’ve read through your pinned post here: https://www.ads-software.com/support/topic/uploading-a-file-stuck-at-100-what-to-do/ but none of the steps listed help in my case:

    1. I’m on a private Vultr server that shouldn’t be a problem. I have full control over my server.
    2. max_execution_time is set to 300, but the error occurs during the first second, so I highly doubt this is the issue.
    3. The import never even reaches the 1% mark let alone the 100% mark.
    4. There is no file size limit that I’m aware of. I even uploaded the entire wpress file via SFTP with no issues. I tried importing it via the “backup” function, but apparently that’s a premium feature. I’m not ready to purchase a plugin that isn’t working for me.

    Any idea what could be causing the problem? I’ve also updated all these values in both the cli and fpm php.inis:

    upload_max_filesize 256M
    post_max_size 256M
    memory_limit 512M
    max_execution_time 300
    max_input_time 300

    I’m on an nginx setup with PHP 7.1-fpm. Would there be any issues with that?

    Thanks again for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Yani

    (@yaniiliev)

    You can try opening your web developer tools and see what your backend is returning during the ajax calls.
    If the error happens after 1 second, then something is refusing the call. If the ajax request fails, the plugin should capture it and display you the error. Since the plugin doesn’t capture it, I suspect it might not be the backend but some plugin/theme conflict.
    Web Developer tools hold the answer.

    Thread Starter chrisrollins

    (@chrisrollins)

    Thanks for the reply, but the only thing web developer tools tells me is what I posted above. The net::ERR_CONNECTION_RESET is the only response from the ajax call admin-ajax.php?action=ai1wm_import. There’s no data returned from the call at all.

    It’s a fresh install of WordPress, so there are no plugins/themes to conflict with.

    Any idea what else could be the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import error immediately after beginning’ is closed to new replies.