conepr09 Unable to delete nor rename files even though I uncommented lines 56 and 57:
I just uploaded and then deleted a file on the link you gave.
Now deleted, as you can see it's not there any more.
You have some other problem on server. The menu isn't loading, because the request is responding "500 internal server error". Looks like something related to firewall (security extension) on server, because Files gallery doesn't create that output.
I am guessing maybe you are experiencing firewall issues with delete/rename? As you can see above, it works in my attempt, but clearly there are some issues on server, which may be causing problems across multiple tasks.