Open GoogleCodeExporter opened 9 years ago
This seems like a big problem. File counter goes down, so something is being
deleted? However the intended file to be deleted remains.
Original comment by dtra...@gmail.com
on 3 Sep 2014 at 12:39
I've been working around this by just deleting directly from tbl_files in the
MySQL Database. It's annoying, but seems to get rid of the files.
Original comment by zsmith.r...@gmail.com
on 10 Sep 2014 at 5:03
To add to what I was saying before. Deleting from the database removes them
from the system, but I usually follow up with deleting them off the server
through the FTP.
I used the site to delete some files once, but like you said it deleted the
wrong file!!! I've been afraid since then to use the delete function.
Original comment by zsmith.r...@gmail.com
on 16 Sep 2014 at 12:19
I found a workaround for this problem.
Edit these two files: upload-process-form.php & edit-file.php
Find this line: <label><?php _e('Assign this file to', 'cftp_admin');?>:</label>
Add this line under it: <input type="hidden" name="file[<?php echo $i;
?>][assignments][]" value="c1" />
It adds a default hidden association to the system admin user (user #1) for
every file now, resulting in an entry in the file_relations table and
preventing the wrong file from being deleted. The file association will show in
the log file as well, though I'm working on an edit for that as well to hide it.
Original comment by crashf...@gmail.com
on 17 Oct 2014 at 5:28
Original issue reported on code.google.com by
jmh...@gmail.com
on 29 Aug 2014 at 4:05