Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Brand Basket

    (@silentprints)

    Using this shortcode [wtf_fu_upload] only with no attributes.

    I can delete files from the wp admin, but not from the front end.

    Plugin Author lynton_reed

    (@lynton_reed)

    403 usually indicates permission problems somewhere.

    I’m afraid I have no idea what might be causing this on your server.

    Can you get it to work if you explicitly specify the directory attributes ‘wtf_fu_dir’ and ‘wtf_fu_subdir’ ?

    Plugin Author lynton_reed

    (@lynton_reed)

    Hmmm another user is having delete problems too,

    Its possibly a problem with the webserver configuration not allowing
    http DELETE requests.

    If you can supply your own ,htaccess file (assuming apache server)
    then you may be able to fix it usnig a .htaccess with something like

    <Limit GET POST PUT DELETE>
      Allow from all
    </Limit>

    or failing that enquire whether your webserver allows DELETE requests.

    Thread Starter Brand Basket

    (@silentprints)

    Added the snippet to the .htaccess … still no luck.

    Also spoke with the hosting provider. They mentioned that if it was a server permission issue, it wouldn’t delete from within the admin area either, since I am also logged in as an admin when I attempt to delete from the frontend. The server doesn’t consider if the admin is on the frontend or the backend.

    They suggest it may be a plugin or wordpress issue. I disabled all plugins except Work The Flow… still no luck.

    Changed themes … no luck.

    I’ve pretty much tried all I can to the extent of my knowledge.
    Any other options maybe?

    Plugin Author lynton_reed

    (@lynton_reed)

    Yes permissions must be ok fot the back end delete to work, thats why it points to the webserver configuration not supporting front end DELETE requests, because it is throwing a 403 error.

    It may be that your webhost does not support local .htaccess files either so your changes were not applied, or that the webserver is something other than apache (eg IIS)

    I suggest you specifically ask your host about this problem and whether the webserver is configured to support Http DELETE requests, and if not how to enable it for your installation.

    Here is a link to a stackoverflow discussion on this issue that may provide a bit more info.

    https://stackoverflow.com/questions/1402229/why-web-servers-does-not-allow-put-and-delete

    I cant be sure, but that is my best guess as to what is happening.
    Please let me know how you get on.

    Lynton.

    I also can not delete files from the directory

    Thread Starter Brand Basket

    (@silentprints)

    My hosting provider could not give me a definite answer to if http DELETE request were supported. This particular server was managed with their own control panel. So I finally opted to migrate to another server w/ CPANEL. This resolved the file delete issue.

    After migrating I did get a syntax error when attempting to upload. I disabled all plugins, and then reactivated them , and the error went away.

    So even though I didn’t get an answer, my issue is resolved.

    Thanks for the support Lynton… greatly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't delete files’ is closed to new replies.