Files doesn't uploaded after dragging into the widget.

Created on 6 March 2025, about 1 month ago

Hello.
Was the whole day trying to work with plupload n Drupal 11. Used to work with it since Drupal 7 and always works fine but i don't know what's happening on Drupal 11 with 2.1 plupload file widget.

Im using plupload 3 library and, when i drag some files into the plupload widgets them start to upload, and after reach 100% it looks like no files there, like the start before dragging them.

I can see, on plupload-handle-uploads

{
"jsonrpc": "2.0",
"result": null,
"id": "id"
}

but im not getting any error, and anything on error_log or system message inside Drupal 11.

I don't know what more to try since I have no errors to check... any ideas?

I'll keep looking around.

Thank you.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇪🇸Spain ajimenezz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ajimenezz
  • 🇪🇸Spain ajimenezz

    Im now trying with 2.3.9 library. Still not working

  • 🇪🇸Spain budalokko Girona

    The "correct" setup:

    - plupload_widget - 2.1.0
    - plupload - 2.2.0
    - plupload library - v2.3.9

    v3 of the library might seem to work but it doesn't so please ensure the installed and detected version is 2.3.9 at /admin/reports/status

    I would enable "plupload test" module and check if the upload works fine just with that (/plupload-test).
    Might be useful checking the created file in temporary directory, and how it ends up at `/sites/default/files/plupload-test`.

    You don't mention the setup, so here are some random ideas:

    - Install on a minimal site without other modules
    - Add plupload widget to a content entity type, not a paragraphs field or other kind of field which does Ajax requests.
    - Start with a single valued field, and upload just one file.

  • 🇪🇸Spain ajimenezz

    Hello @budalokko, thank yo for your answer:

    Yes, im trying with:
    - plupload_widget - 2.1.0
    - plupload - 2.2.0
    - plupload library - v2.3.9

    on plupload test I still getting this error. On `/sites/default/files/plupload-test` the file doesn't exists, but in tmp folder, the files exists (not this one that im trying from plupload test, but others files are there as .tmp)

    Will try on a fresh drupal 11 and let you know later.

    Thank you.

  • 🇪🇸Spain ajimenezz

    On a fresh drupal 11 works... I think that something is conflicting with it.

    Will try to know which module is conflicting with plupload

Production build 0.71.5 2024