forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: nowordneeded on January 13, 2019, 06:21:40 am

Title: Copy Album Titles
Post by: nowordneeded on January 13, 2019, 06:21:40 am
My current gallery is here: http://mike-colter.com/gallery and is using the current upgrade of 1.5.48 stable version.

What I need to know is this, my gallery was recently hacked and I need to delete all files and reupload. I know about keeping the albums folder and the config.php file. However, so I don't have to recreate the album titles is that included in the database and will be recreated when I reupload the current files? I hope that made sense.

Thanks in advance.
Title: Re: Copy Album Titles
Post by: phill104 on January 13, 2019, 03:39:36 pm
often hackers willleave stuff in the albums directory so you will need to carefully check that out. Also change your MySQL password. While there make sure you check to see if there are any unauthorised admin users. Other than that you are going the right route. You should not loose anything as all titles etc are stored in the database.
Title: Re: Re: Copy Album Titles
Post by: Αndré on January 13, 2019, 10:24:55 pm
often hackers willleave stuff in the albums directory so you will need to carefully check that out.
This plugin will help you with that task: https://sourceforge.net/p/coppermine/code/HEAD/tree/branches/cpg1.5.x/plugins/check_files/
Title: Re: Copy Album Titles
Post by: nowordneeded on January 13, 2019, 10:30:33 pm
Thank you both for your help. I'm so mad I could spit about this. As for the file checker, will this check to see if there are corrupted files? If so which one will I need or do I have to download all of them?

Thanks so much again for all your help.  :)
Title: Re: Copy Album Titles
Post by: Αndré on January 13, 2019, 10:34:09 pm
You need to download all files. Create a folder "check_files" in your plugins directory, upload all files into it and install the plugin as described in the Coppermine docs. The plugin checks two things:
1. Check if images are missing (for whatever reason)
2. Check if there are images in your albums directory that haven't been added to your gallery or other files that shouldn't be there

Obviously you're looking for option 2.
Title: Re: Copy Album Titles
Post by: phill104 on January 13, 2019, 10:40:08 pm
Thanks André, I completely forgot about that tool.
Title: Re: Copy Album Titles
Post by: nowordneeded on January 13, 2019, 10:40:54 pm
Thank you so much Andre. I will do.

You can close this thread now.