• Resolved ToffeeBear

    (@toffeebear)


    Hi There,

    I have purchased the Pro version and updated to version 3.0. Amazing plugin!

    The only problem is that I cannot delete uploaded files by clicking the red “Delete” buttons on the user frontend. I am using Ultimate Member plugin so that users can login and then start the workflow. But after uploading the photos, users cannot delete back the uploaded files if they choose the wrong files.

    FYI the shortcode I use is the demo shortcode:

    [wtf_fu_upload wtf_upload_dir=demofiles wtf_upload_subdir=images accept_file_types=jpg|jpeg|png|gif max_file_size=2 max_number_of_files=20]

    Please help. Thanks!

    https://ww.wp.xz.cn/plugins/work-the-flow-file-upload/

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

    (@lynton_reed)

    Hi ToffeeBear, Thanks you for buying the PRO version, I will do my best to help you solve this problem,

    The code you posted should work, so something else must be interfering with the delete process or perhaps there is a file permissions issue on the server or some other restriction that prevents file deletes.

    One of two possible things come to mind :

    1) Your web host has disabled apache DELETE http requests, if this is the case then you can ask your webhost if they will fix the issue or move to another host.

    2) The configuration of the membership plugin may perhaps be protecting the users files.

    To test try on another host if possible or even on localhost on a PC to see if it works there, if it does not then try disabling the membership plugin … if stil not going then disable all other plugins until you find what is causing the problem.

    I think the most likely culprit is 1).

    Let me know how you get on.

    Lynton

    Thread Starter ToffeeBear

    (@toffeebear)

    Thank you so much Lynton for the detailed information!

    I have contacted my webhost, which promptly allows the DELETE http requests, and it works now! The files can now be uploaded, rearranged and deleted on the frontend by users as desired.

    Appreciate so much for your prompt help Lynton!

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

The topic ‘Cannot delete uploaded files on user frontend’ is closed to new replies.