coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: maritimesbob on March 01, 2005, 05:12:51 PM

Title: Deleted database
Post by: maritimesbob on March 01, 2005, 05:12:51 PM
While installing a phpBB forum on the same database, I made a silly error in erasing the mysql database. Yeah, I forgot that coppermine resides on there too!!

Am I going to have to download the albums, reinstall coppermine from scratch to rebuild the database, and have to upload all the photos again? My host is 1and1 and they are notorious for have awful support. If I asked them for a backup, it might take several weeks for a reply, and probaly telling me they do not have one :(

Thanks.
Title: Re: Deleted database
Post by: kegobeer on March 01, 2005, 05:46:55 PM
Just delete the install.lock file in the include directory and run install.php again.  You'll have to batch add your pictures but you don't have to upload them again.
Title: Re: Deleted database
Post by: maritimesbob on March 01, 2005, 05:58:33 PM
Wow, thanks.

Probably a dumb question, but what do you mean by batch add?
Title: Re: Deleted database
Post by: kegobeer on March 01, 2005, 08:36:07 PM
You should take a few minutes and read the documentation that comes with Coppermine.
Title: Re: Deleted database
Post by: Joachim Müller on March 02, 2005, 08:28:14 AM
batch-adding won't work if he didn't ftp-upload the pics in the first place, as they will then reside in the userpics folder, which is hidden on the batch-add screen. You will have to modify searchnew.php and get rid of the blocking of the userpics folder to make this work.

Joachim
Title: Re: Deleted database
Post by: Nibbler on March 02, 2005, 01:07:36 PM
Or rename your userpics folder to something else and create a new folder named 'userpics'.