Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Deleted database  (Read 3249 times)

0 Members and 1 Guest are viewing this topic.

maritimesbob

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Deleted database
« 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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Deleted database
« Reply #1 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

maritimesbob

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Deleted database
« Reply #2 on: March 01, 2005, 05:58:33 pm »

Wow, thanks.

Probably a dumb question, but what do you mean by batch add?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Deleted database
« Reply #3 on: March 01, 2005, 08:36:07 pm »

You should take a few minutes and read the documentation that comes with Coppermine.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Deleted database
« Reply #4 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
Logged

Nibbler

  • Guest
Re: Deleted database
« Reply #5 on: March 02, 2005, 01:07:36 pm »

Or rename your userpics folder to something else and create a new folder named 'userpics'.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.