Giter VIP home page Giter VIP logo

Comments (14)

andreas-stricker avatar andreas-stricker commented on May 27, 2024

i also can not delete files as a system administrator or other user.
Is there a solution?

from projectsend.

bchhun avatar bchhun commented on May 27, 2024

@strigga yes. you need to assign the file you want to delete to a user or a group and then delete it.

from projectsend.

andreas-stricker avatar andreas-stricker commented on May 27, 2024

Thank you. This works!
But why does it not assign automatically to the user who has uploaded the file?

So if i have 50 files and want to delete it i have to click on every single file - assign it to a user and after that i can delete it?

from projectsend.

bchhun avatar bchhun commented on May 27, 2024

My best guess is that you may upload files for other users and assign them whenever you want.

Yes for the mass deletion :)

from projectsend.

ignacionelson avatar ignacionelson commented on May 27, 2024

r582 includes this fix. Closing the issue now.

from projectsend.

bchhun avatar bchhun commented on May 27, 2024

+1

from projectsend.

ignacionelson avatar ignacionelson commented on May 27, 2024

Have you tried the latest version? r582

from projectsend.

riczito avatar riczito commented on May 27, 2024

On r582 the problem still persists. As an admin, I cannot delete user files, whether they are assigned to users or not. As a user, I cannot delete my own files from my workspace. This is pretty essential functionality. Please help find a solution or workaround!

from projectsend.

tekopsinc avatar tekopsinc commented on May 27, 2024

Yes, the problem still persists. It does not delete the file(s) no matter what you do. Version r582 confirmed.

from projectsend.

semaphorism avatar semaphorism commented on May 27, 2024

It looks like that $file_id in manage_files.php at line 537 is referencing the wrong ID (from tbl_files_relations rather than tbl_files as expected by the delete function). My fix was to change line 537 to read:

<td><input type="checkbox" name="files[]" value="<?php echo $row['id']; ?>" /></td>

I can't remember if that's all I did to fix this problem, but it's a start. Good luck.

from projectsend.

lenamtl avatar lenamtl commented on May 27, 2024

Do you have an error message?

from projectsend.

ashes00 avatar ashes00 commented on May 27, 2024

semaphorism - I was able to make just the change that you mentioned, and it fixed my issue. I was not able to delete ANY file before. Now I can. Thank you!
,Ash

from projectsend.

tekopsinc avatar tekopsinc commented on May 27, 2024

We made the change (and it's manage-files.php, not manage_files.php) and it works great. Thank you so much!

from projectsend.

luisalmeidarealbase avatar luisalmeidarealbase commented on May 27, 2024

@semaphorism thank you for your solution. It worked! :D

from projectsend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.