• Resolved esmaeili

    (@esmaeili)


    I’m having this problem while your plugin is active.
    when uploading files(image, docs, etc.) though it uploaded on the library but will not pass the crunching stage and get stuck there.

    thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Benjamin

    (@benjaminowens)

    Hi esmaeili!

    Could you try the following (assuming you use Chrome) when trying to upload:
    – Right click anywhere on the page and select “Inspect”
    – Select the “Network” tab, then the “XHR” sub-tab below it
    – Click the “Upload X files” button
    – Click one of those new requests and then click on its “Response” tab

    And then provide the results here? I expect there’s an error on the server side that isn’t being reported by our new uploader, if I can just find out what the server is replying with I can fix the problem.

    Thanks!

    Thread Starter esmaeili

    (@esmaeili)

    Hi Benjamin,
    here are two screenshot hope that helps:

    https://ibb.co/D8QDzXx
    https://ibb.co/rZBfzJM

    best regards.

    Benjamin

    (@benjaminowens)

    That looks like there hasn’t been a request made to the server yet, try looking after clicking the “Upload X buttons” and the image fails?

    We’ve found a separate (possibly) bug where it’s possible to click the upload button before a gallery has been selected; can you confirm that you have created or selected a gallery before attempting to upload new images?

    If you are comfortable with some basic code editing I’ve committed a pretty simple change that fixes our uploader using a generic error message and makes it report what the server responds with. You can find that change on this github.com commit to get more detailed error reporting.

    Thread Starter esmaeili

    (@esmaeili)

    Actually, your plugin uploader is working fine, just the WordPress default uploader is stuck on crunching… not getting any response after the upload is finished.
    but when I deactivate your plugin, the upload works fine.

    any thoughts?

    thank you.

    • This reply was modified 4 years, 2 months ago by esmaeili.
    Benjamin

    (@benjaminowens)

    I’m sorry, I misunderstood you!

    Have you checked the server error logs, or could you try to do the same process as above but examine the response for the upload-image request when using the media library?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘file upload stuck on crunching while plugin is active’ is closed to new replies.