Delete attachments May 17, 2020, 11:30:08 PM I have two records, each with an attachment each, when I delete a record, it ends up deleting the files from both records. How can I delete only the file related to the registry? Quote Selected
Re: Delete attachments Reply #1 – May 18, 2020, 10:31:07 AM You have to delete the record using an id that is unique to it, like the auto-increment primary key. Quote Selected
Re: Delete attachments Reply #2 – May 19, 2020, 12:08:32 AM Quote from: willvin – May 18, 2020, 10:31:07 AMYou have to delete the record using an id that is unique to it, like the auto-increment primary key.Each register has a primary key and auto increment.When you delete a record, you end up deleting all files in the directory where the attachments of all other records are stored.Zip file with SQL and * .ppm follows the link: FileZip SQL and PPM Quote Selected
Re: Delete attachments Reply #3 – May 22, 2020, 11:55:47 AM Quote from: willvin – May 18, 2020, 10:31:07 AMYou have to delete the record using an id that is unique to it, like the auto-increment primary key. Can you help me? Quote Selected
Re: Delete attachments Reply #4 – May 22, 2020, 02:38:00 PM @Douglas I tested your project and I did not get the error you complained about. Please make sure that in your phprad file configuration the FileNameFormate is not set to OriginalFilename, if you want to use that please make sure you don't upload files with the same name. Quote Selected
Re: Delete attachments Reply #5 – May 25, 2020, 09:24:23 PM Quote from: willvin – May 22, 2020, 02:38:00 PM@Douglas I tested your project and I did not get the error you complained about. Please make sure that in your phprad file configuration the FileNameFormate is not set to OriginalFilename, if you want to use that please make sure you don't upload files with the same name.Use Random String for the file name. I pray that I took all the precautions, however, I still don't know what could be happening.I made a quick video trying to get through what is happening and how I am doing it. I hope someone can help me. Thank you.Video link: https://youtu.be/SYI6xZcA3RM Quote Selected
Re: Delete attachments Reply #6 – May 26, 2020, 08:53:39 PM @Douglas I have reported the issue to the devs. Quote Selected
Re: Delete attachments Reply #8 – July 18, 2020, 02:19:12 AM I am facing the same issue too.I think that if we can't resolve the issue by ourselves, from the developers we will never get a reply. I have contacted them more than 4-5 times last month and i never got a reply. Probably I will look for other solutions from other providers. Good luck! Quote Selected 1 Likes
Re: Delete attachments Reply #9 – July 27, 2020, 05:55:01 PM Quote from: oldi – July 18, 2020, 02:19:12 AMI am facing the same issue too.I think that if we can't resolve the issue by ourselves, from the developers we will never get a reply. I have contacted them more than 4-5 times last month and i never got a reply. Probably I will look for other solutions from other providers. Good luck!I agree. I've been trying some solutions for months.I liked the tool for some things, however, basic things leave something to be desired.I came to think that there would be more updates with solutions for the BUG's, but that's not what happens.I'm looking for another tool to help. Quote Selected