automatic batch add - all? automatic batch add - all?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

automatic batch add - all?

Started by jessalken, October 29, 2017, 11:04:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jessalken

Hi, I was hoping someone can help me! Someone very mean and nasty hacked into my site and deleted 18,000+ photos in my gallery last night (and started uploading porn photos) I have finally secured the server and site now with my host. I have also found all the photo files and reupload them via ftp, all the folders both in ftp and on coppermine are still in the same place with the same names, and the stats are all still there - thank goodness. But I'm wondering is there a way to Batch Add everything automatically - rather than re add each album manually one by one (this could take a very long time with 283 and so many photos) Please can someone help me.

(I added one album called 'Captain Morgan Black Ad Screencaps' to test the batch add one by one works and it does)

http://gal-gadot.com/gallery/index.php

Thank you, Jessica

ron4mac

The first thing you should do is to upgrade your CPG site to version 1.5.46 (at least).

jessalken

I thought it was up to date, going by the docs. I just updated again to be sure! Any idea on ways to re add all these files without doing it one album at a time? Thank you...

jessalken

Quote from: jessalken on October 29, 2017, 11:04:23 AM
Hi, I was hoping someone can help me! Someone very mean and nasty hacked into my site and deleted 18,000+ photos in my gallery last night (and started uploading porn photos) I have finally secured the server and site now with my host. I have also found all the photo files and reupload them via ftp, all the folders both in ftp and on coppermine are still in the same place with the same names, and the stats are all still there - thank goodness. But I'm wondering is there a way to Batch Add everything automatically - rather than re add each album manually one by one (this could take a very long time with 283 and so many photos) Please can someone help me.

(I added one album called 'Captain Morgan Black Ad Screencaps' to test the batch add one by one works and it does)

Thank you, Jessica

phill104

Do you have a backup of your database and files from before the hack? Restoring all the files to their original locations and keeping the counts in tact etc is not an easy task without restoring from a backup. Without knowing exactly what happened and what you now have advising is not easy. The database has file names and locations, but they may not follow the structure you expect. So the file must be put back exactly where the database expects them to be.
It is a mistake to think you can solve any major problems just with potatoes.

gmc

reading original post sounds like the database may be ok??
Quoteall the folders both in ftp and on coppermine are still in the same place with the same names, and the stats are all still there - thank goodness

Is it just the need to recreate the thumb and possibly intermediate pictures?
May be as simple as using the admin tools...


Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money