Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2016-06-16 12:13:43

ttg-jim
Member
Registered: 2014-08-22
Posts: 40

Renaming album names using ftp and other ways to spoil your day

I created a large album online for one of my clients.  It took a long time to upload because of the godaddy security issue (you must be a hacker if you upload more than 20-25 images at a time - BlueHost here we come).  The next day I get a message from my client to say that I have called it the wrong thing and therefore people won't be able to find it or will get confused.  So, being away from my home computer, I decide to just go into my site through ftp and change the name of the folder (album) because that's what I thought auto-index did!

BAD IDEA!

This didn't change anything from the clients perspective, and worse, made all the images disappear (not visible, files still on server).  So I went hunting through every file I could find on my site, hoping to find the one(s) with the offending folder (album) name in, and change it there instead. Well, I couldn't find it.

When I got home 12 hours later, I changed the name of the album in LR. That's all it does! Then I changed the Album Title and this shows the correct album name to the client, but the links are still wrong.  Finally I change the slug, and now everything is hunky dory again.

So my question is, if I need to monkey with the folder structure (album or album sets) when I don't have access to lightroom, which are the files that have this magic content and where are they?!

Offline

#2 2016-06-16 13:02:05

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,662
Website

Re: Renaming album names using ftp and other ways to spoil your day

I believe all that's in the database. You'd probably have to manipulate that. Which runs an excellent chance of making things even worse unless you know what you're doing. But it looks like you could just edit the offending set or album and change the slug in the database to match what you did via ftp.
If you think you might need to do this, I'd suggest creating a test site in a sub-domain and practice there first.
But here's how to get to the database: http://ttg-tips-and-tricks.barbeephoto. … -database/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight test site

Offline

#3 2016-06-18 03:36:46

ttg-jim
Member
Registered: 2014-08-22
Posts: 40

Re: Renaming album names using ftp and other ways to spoil your day

I'll try and avoid this in the future. I had no idea a central database was even involved.

If I ever find myself in need of making changes on the road I now know the risks involved!

Thanks Rod

Offline

#4 2016-06-18 03:41:47

ttg-jim
Member
Registered: 2014-08-22
Posts: 40

Re: Renaming album names using ftp and other ways to spoil your day

As an aside, if I wanted to add or delete images in an existing album by ftp, would that be ok without involving the database?

Offline

#5 2016-06-18 04:17:20

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,662
Website

Re: Renaming album names using ftp and other ways to spoil your day

that would probably put your catalog and your albums out of sync. The images are also registered in the database


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight test site

Offline

#6 2016-06-18 14:49:24

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 4,673
Website

Re: Renaming album names using ftp and other ways to spoil your day

Bottom line, when managing assets from Publish Services, don't touch them with FTP at all.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB