coppermine-gallery.com/forum

Support => Looking for Freelancers / Paid help => Topic started by: dbk on September 16, 2025, 11:40:53 PM

Title: Empty files (description but no photo)
Post by: dbk on September 16, 2025, 11:40:53 PM
I made a grave error and now have thousands of empty files (description but no photo).

My gallery was created circa 2008, has 24 albums and over 80k photos.

With a few exceptions, I can delete the files one-by-one. 

I am not a tech person and am looking for someone willing to be paid to help fix this.
Title: Re: Empty files (description but no photo)
Post by: dbk on September 17, 2025, 07:42:34 AM
Here is a picture of the result after error
Title: Re: Empty files (description but no photo)
Post by: ron4mac on September 25, 2025, 03:02:02 AM
I looked at your gallery and quite a number of the photos actually exist .. it's just that the thumbnail/intermediate image is missing. If you look at the admin tools, there is one that lets you regenerate those missing thumbnails.

Similar to plugins, new admin tools can be added in a fairly simple manner. I'll try to find some time soon to create an add-on tool to delete 'broken' photos.
Title: Re: Empty files (description but no photo)
Post by: dbk on September 25, 2025, 05:50:53 AM
Thank you so much.  I do not know how to work in the "background."  i.e., plugins and such.  I will give "Admin Tools" a twirl.  Thanks again.
Title: Re: Empty files (description but no photo)
Post by: ron4mac on September 27, 2025, 11:33:35 AM
It looks like you have recovered most of your photos. Do you still need a tool to remove broken ones?
Title: Re: Empty files (description but no photo)
Post by: dbk on September 28, 2025, 06:34:55 PM
As far as I can tell, I have not made it through Albums 1 and 2 of the Twills using the recovery process (literally six hours several times), where I think the majority of photos are.  I could be wrong.  I run into a critical error when I try to delete an empty file manually, so I guess I still need help, if it is not too much trouble.

Title: Re: Empty files (description but no photo)
Post by: dbk on September 29, 2025, 05:37:49 PM
I finally received a message that Album 1 was completed.  I'm still trying to get through Album 2.  I have gone through all other albums.  Thank you for following up with me.
Title: Re: Empty files (description but no photo)
Post by: ron4mac on October 01, 2025, 08:43:10 PM
Unzip the attachment and place the del_broken folder into your gallery's tools folder. That should add a new option to your admin tools that will allow you to delete broken (missing) photos.
Title: Re: Empty files (description but no photo)
Post by: dbk on October 02, 2025, 07:04:05 AM
Thank you.  I will try in the morning.
Title: Re: Empty files (description but no photo)
Post by: dbk on October 02, 2025, 07:58:38 AM
Sorry, I can't figure this out.  The attachment downloads to my computer as a txt file.  There isn't a folder to Extract All.  And I don't know what my gallery's tool folder is.  Is that the Admin Tools? 
Title: Re: Empty files (description but no photo)
Post by: phill104 on October 02, 2025, 02:49:43 PM
To unzip, simply remove the .txt part of the filename first and accept in windows that it will change they type of file. Then you can unzip the archive. I have done that part for you and attached the zip version

In your gallery file structure there is a directory called tools. So you will need to use either your hostings cpanel or an ftp tool to access that and upload the file. It cannot be done from within the gallery interface.
Title: Re: Empty files (description but no photo)
Post by: ron4mac on October 02, 2025, 03:35:37 PM
Quote from: phill104 on October 02, 2025, 02:49:43 PMTo unzip, simply remove the .txt part
Hmmm .. why did I do that? It's been a while, I guess. ???
Title: Re: Empty files (description but no photo)
Post by: ron4mac on October 02, 2025, 03:41:39 PM
Quote from: dbk on October 02, 2025, 07:58:38 AMSorry, I can't figure this out.  The attachment downloads to my computer as a txt file.  There isn't a folder to Extract All.  And I don't know what my gallery's tool folder is.  Is that the Admin Tools? 
I still have credentials that you gave me for your GoDaddy account but they didn't seem to work now. If I had been able to log in there, I would have placed the tool for you.
Title: Re: Empty files (description but no photo)
Post by: dbk on October 02, 2025, 06:51:31 PM
I moved from GoDaddy to Siteground.  We would have to be online at the same time to get you in.  I don't remember you having to get into my host for gallery work.  I will send it to you privately.
Title: Re: Empty files (description but no photo)
Post by: dbk on October 05, 2025, 11:31:29 PM
Just saw this.  Thank you.

Quote from: phill104 on October 02, 2025, 02:49:43 PMTo unzip, simply remove the .txt part of the filename first and accept in windows that it will change they type of file. Then you can unzip the archive. I have done that part for you and attached the zip version

In your gallery file structure there is a directory called tools. So you will need to use either your hostings cpanel or an ftp tool to access that and upload the file. It cannot be done from within the gallery interface.
Title: Re: Empty files (description but no photo)
Post by: dbk on October 08, 2025, 09:00:39 PM
My huge self-made error has been resolved.  Thank you to ron4mac and phill104 for working with me.