• on the latest update (3.3.13 – 2025.04.17) srt file upload have an issue. it is not uploading. the progress bar is never completes.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support Nayeem Hyder

    (@nriddhi)

    Hello, @mujeebcpy,

    Hope you are well. Thanks for writing to us. You can keep from Downloads > Settings > Basic > Upload Settings > Allowed file types to upload
    given it to * or you can also allow .srt file types thus you can upload your desired file type. Please kindly check.

    Thank you and regards

    • This reply was modified 1 year, 1 month ago by Nayeem Hyder.
    Thread Starter mujeebcpy

    (@mujeebcpy)

    Hi, it was already there and was working well before latest version. i have been using this plugin around 4 years. so i know the basic settings. now i downgraded to 3.3.12 and there is no issue. without changing any settings it is working in 3.12 and not working in 3.13. only .srt is affected. zip is uploading. and there is no warning of unsupported file, just the progress bar stuck at 100%

    • This reply was modified 1 year, 1 month ago by mujeebcpy.
    Plugin Support Nayeem Hyder

    (@nriddhi)

    Can you please kindly check the network response too from browser tab where you are uploading the file, what response is coming for the file upload. Please kindly check.

    Thank you

    Thread Starter mujeebcpy

    (@mujeebcpy)

    HTTP/3 500
    date: Sun, 20 Apr 2025 09:11:09 GMT
    content-type: text/html; charset=UTF-8
    nel: {“success_fraction”:0,”report_to”:”cf-nel”,”max_age”:604800}
    report-to: {“endpoints”:[{“url”:”https:\/\/a.nel.cloudflare.com\/report\/v4?s=vbP12d2aglpXPUTfnWdgd0vEH%2BNLHvFZhjYcniIXVMkiDjkIxvQiQniP56CVHUUYP7nzvShCfg1ewFjIKASiTsoi2%2BDnVBsfY%2F663z31%2FNVBaAywZHNmM9OR%2FKuri%2BsGefNbCia0z6F6h6bEsA%3D%3D”}],”group”:”cf-nel”,”max_age”:604800}
    cf-edge-cache: no-cache
    access-control-allow-origin: https://new.malayalamsubtitles.org
    access-control-allow-credentials: true
    x-robots-tag: noindex
    x-content-type-options: nosniff
    referrer-policy: strict-origin-when-cross-origin
    x-frame-options: SAMEORIGIN
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-cache, must-revalidate, max-age=0, no-store, private
    cf-cache-status: DYNAMIC
    cf-ray: 933383364ecf5bae-VIE
    server: cloudflare
    alt-svc: h3=”:443″; ma=86400
    server-timing: cfL4;desc=”?proto=QUIC&rtt=91591&min_rtt=47545&rtt_var=51551&sent=1296&recv=546&lost=0&retrans=3&sent_bytes=1115512&recv_bytes=365011&delivery_rate=147&cwnd=223200&unsent_bytes=0&cid=bf586066d87eb0ac&ts=53747&x=16″

    Thread Starter mujeebcpy

    (@mujeebcpy)

    this is the first lines from the POST data, proceeded by all the text content in the .srt file.

    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”name”

    The.Good.the.Bad.and.the.Ugly.1966.720p.BrRip.x264.YIFY.Msone.srt
    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”_ajax_nonce”

    62aa9c8513
    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”type”

    package_attachment
    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”package_id”

    49583
    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”action”

    wpdm_admin_upload_file
    ——geckoformboundaryf09ee95ee64872d83e3df78cf4617dd8
    Content-Disposition: form-data; name=”package_file”; filename=”The.Good.the.Bad.and.the.Ugly.1966.720p.BrRip.x264.YIFY.Msone.srt”
    Content-Type: application/x-subrip

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Successfully uploaded file response generelly comes like this as I image attached,
    https://ibb.co.com/Q7VjSRZ1
    Can you please kindly check again?

    Thank you

    Thread Starter mujeebcpy

    (@mujeebcpy)

    The image is not loading because of ssl issue. i tried many time. it is not my machine or network problem. my friend tried from india and i am currently trying from germany. same for both of us.

    Thread Starter mujeebcpy

    (@mujeebcpy)

    for now we rollbacked the plugin and it working. so the issue must be in new version. can you please check? or can you try uploading an srt file?

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Sorry for the inconvenience. We are checking the issue. I have already forwarded it to our related team authority regarding the issue. Please kindly check and let me know if you have any more queries.

    Thank you and kind regards

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Kindly update your WPDM free version to the latest. The issue has been resolved on the latest version. Please kindly check.

    Thank you

    Same problem here but with .dwg files (and probably other non-standard WP filetypes).
    I think the problem is with the Plupload library as it streams the upload to the server instead a regular HTTP upload.
    Because of this the tmp file is a application/octet-stream mime type and this results in an error in FileSystem::validateUploadMimeType.

    My current workaround for this bug is as follows:

    add_filter( 'wpdm_is_valid_mime_type', function ( $isValidMimeType, $actualMimeType, $extMimeType ) {
    if ( $isValidMimeType ) {
    return $isValidMimeType;
    }

    // Fallback for bug in Download Manager.
    return in_array( 'application/octet-stream', $extMimeType );
    }, 10, 3 );

    Cheers, Jory

    • This reply was modified 1 year ago by Jory Hogeveen. Reason: Added arguments
    • This reply was modified 1 year ago by Jory Hogeveen.
    Plugin Support Nayeem Hyder

    (@nriddhi)

    I have already forwarded it to our related team authority regarding the issue. Please kindly check and let me know if you have any more queries.

    Thank you and kind regards

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Your issue can occur from your server too, for checking in details you can also open a support ticket on our official website for checking the issue more elaborately. However, dwg file upload is working fine on our testing site. Please kindly check.

    Thank you and kind regards

    Hi @nriddhi

    I think a regular upload will be fine as the mimetype in my tests was detected as a stream. Therefore this probably only happens on larger files that require an upload stream instead of a regular upload.

    Cheers, Jory

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Yes, that can happen too. Please kindly check and let me know, if you have any queries more.

    Thank you and kind regards

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘cant upload .srt file’ is closed to new replies.