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: rename albums folder?  (Read 4897 times)

0 Members and 1 Guest are viewing this topic.

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
rename albums folder?
« on: June 10, 2007, 09:11:57 pm »

I've been creating folders (/cpg143/albums/foldername) to upload pics to and
then using Batch Add to add the pics to my Gallery.

I occassionally rename Albums in the Gallery. Is it ok to rename the actual folder
that they're located in as well to keep them matched-up?

C
« Last Edit: June 14, 2007, 08:24:12 am by GauGau »
Logged

Nibbler

  • Guest
Re: rename albums folder?
« Reply #1 on: June 10, 2007, 09:41:56 pm »

Yeah, but you'll need to update the database (pictures table, filepath field) manually.
Logged

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: rename albums folder?
« Reply #2 on: June 11, 2007, 12:12:24 am »

Yeah, but you'll need to update the database (pictures table, filepath field) manually.

If it's simply changing a path name somewhere, I can do that. But where do I do it? From phpMyAdmin or from somewhere in Coppermine itself?

Thanks,
C
Logged

Nibbler

  • Guest
Re: rename albums folder?
« Reply #3 on: June 11, 2007, 01:24:47 am »

phpmyadmin, hence 'manually'. If you search the board you will find previous posts about this, but you need to run a query like

Code: [Select]
UPDATE cpg_pictures SET filepath = 'newpath' WHERE filepath = 'oldpath'
If you are not familiar with phpmyadmin make a backup of the table first.
Logged

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: rename albums folder?
« Reply #4 on: June 14, 2007, 01:16:47 am »

Thanks.
Logged

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: rename albums folder?
« Reply #5 on: October 28, 2007, 05:57:55 pm »

Sorry for the time delay, lost the time to tackle this 'til now.
Anyway, I have looked around phpMyAdmin and feel comfortable manually typing in new path names. However, I don't see any button/option labeled "backup database" or whatnot. Can you instruct me on how to make a backup before I proceed?
Thankyou,
C
Logged

Nibbler

  • Guest
Re: rename albums folder?
« Reply #6 on: October 28, 2007, 07:03:48 pm »

It's called 'Export'. Try searching the web if you need a tutorial.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: rename albums folder?
« Reply #7 on: December 31, 2007, 03:59:49 pm »

Unrelated reply to this thread split into separate thread. Locking this one.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.