Title: Cannot delete file
Last modified: November 6, 2017

---

# Cannot delete file

 *  [loweehahn](https://wordpress.org/support/users/loweehahn/)
 * (@loweehahn)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/)
 * Hello,
 * I’m facing an issue here. I can upload files but when I click on the X icon to
   delete the files, I get redirect back to the home page instead. My WooCommerce
   is running on Ubuntu powered by Nginx.
 * I’ve also checked the Nginx log. It looks ok. Here’s the log:
 * 123.456.789.0 – – [06/Nov/2017:09:28:11 +0000] “GET /?delete=198&item=1661 HTTP/
   1.1” 200 7792 “[https://www.example.com.com/?page_id=7&view-order=198&#8221](https://www.example.com.com/?page_id=7&view-order=198&#8221);“
   Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
   62.0.3202.75 Safari/537.36”

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

 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9654909)
 * [@loweehahn](https://wordpress.org/support/users/loweehahn/), let me have a look
   into it.
 *  Thread Starter [loweehahn](https://wordpress.org/support/users/loweehahn/)
 * (@loweehahn)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9691937)
 * Hello Ashok,
 * Any update?
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9692324)
 * [@loweehahn](https://wordpress.org/support/users/loweehahn/),
 * Sorry for the delay man. Will update you by this weekend, thank you for your 
   patience….
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9699202)
 * [@loweehahn](https://wordpress.org/support/users/loweehahn/),
 * I’m not able to regenerate this scenario.
    Can you set up a demo environment 
   so that I can verify it. Or this could be some code conflicts between theme functions
   and plugin’s function.
 * You can verify the working copy in the following url
    [http://demos.mydns.we.bs](http://demos.mydns.we.bs)
 * Thanks,
    Ashok
 *  Thread Starter [loweehahn](https://wordpress.org/support/users/loweehahn/)
 * (@loweehahn)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9715786)
 * Hi Ashok,
 * You may refer to this video link to better understand how I’m unable to delete
   the attachment.
 * [https://drive.google.com/open?id=1gtpx_9DC-ymiBrmjNkuLIzMM3mbXCQjO](https://drive.google.com/open?id=1gtpx_9DC-ymiBrmjNkuLIzMM3mbXCQjO)
 * Thanks.
    Kelvin
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9745749)
 * Sorry for the delay.
 * Can you copy the link url of the delete button.
 * Ashok
 *  Thread Starter [loweehahn](https://wordpress.org/support/users/loweehahn/)
 * (@loweehahn)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9748555)
 * Hi Ashok,
 * The link is something like this. [https://www.example.com/?delete=379&item=2931](https://www.example.com/?delete=379&item=2931)
 * Kelvin
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9763515)
 * Hello [@loweehahn](https://wordpress.org/support/users/loweehahn/),
 * Can u have a demo environment with the same features…. ?
 * skype: phpkidindia
 *  Thread Starter [loweehahn](https://wordpress.org/support/users/loweehahn/)
 * (@loweehahn)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9764212)
 * Hello Ashok,
 * May I know what exactly will you want me to do? Do you want me to give you a 
   live demo of the issue?
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9764329)
 * Nope,
 * I need to see the code where it breaks. coz I tested it in 3 different test instances,
   I cannot reproduce this issue.

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

The topic ‘Cannot delete file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-pay-to-upload-modification.
   svg)
 * [WooCommerce Pay to Upload](https://wordpress.org/plugins/woocommerce-pay-to-upload-modification/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pay-to-upload-modification/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pay-to-upload-modification/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pay-to-upload-modification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pay-to-upload-modification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pay-to-upload-modification/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-delete-file/#post-9764329)
 * Status: not resolved