Help! Gallery corrupt?

mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-08-25 20:29

Hello!

I use gallery as a postnuke module. I have a lot of sub albums approximately 120.

I was renaming the albums from the generic (album01) to the caption so that I can sort the albums by their name to make it easier to find.

I renamed about 25 albums and then resorted. After the resort I see 5 or 6 albums showing no highlights, but they aren't new albums. They are albums40, album41, etc.

When I go to the albums directory I don't even see any albums for those names.

I do however see albun00-60 and albuo03-23. I assume those are just what gallery creates after album99?

So my question is this. Why am I seeing these empty albums when there isn't even an album directory for them?

Also is there any way to tell gallery to go out and reread all of the albums and rebuild the index pages?

http://www.fishgeeks.com/modules.php?op=modload&name=gallery&file=index

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2003-08-26 22:08

Moving to get better audience ;-)

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Tue, 2003-09-02 00:23

Does anyone have any thoughts on this?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-09-02 00:33

Eee... something looks somewhat corrupted. :roll:

Can you establish whether all of the album directories (with their images) are still in your albums directory, and what their names are?
Also, how close are you to running out of disk space/quota?

If you're willing to let me ssh to your server and poke around, I can probably assess whether this is a serious corruption problem or something easily fixable. PM me details if that's okay with you.

-Beckett (

)

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-09-02 01:34

mbuna...
Although I've found some very strange things going on (hidden, orphaned albums for example), I don't see any actual errors.

Can you outline specifically for me which albums are messed up, what they used to be or should contain? It's just a little overwhelming searching through all of the subalbums.

But like I said... I searched for about 10 minutes already and don't see anything out of the ordinary.

-Beckett (

)

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Tue, 2003-09-02 14:05

Ok, what happened is this. I would try to rename an album from something like "album40" to "Seans_Album".

It would appear that the rename would work, but I would then get an "Untitled" and empty album called "album40" and there wouldn't be any album called "Seans_Album" anywhere in the gallery. When I look at the albums sub dir, there is no album40 and there is a "Seans_Album" so that part appears to be working.

So I guess the questions is, why isn't gallery updating the index page when I rename an album?

Is there any way to tell gallery to reread all of the album directories and rebuild the index?

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2003-09-02 19:20
mbuna wrote:
Ok, what happened is this. I would try to rename an album from something like "album40" to "Seans_Album".

By what means did you rename the album? Did you change it from command line or via the web interface?

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Tue, 2003-09-02 19:55

Everything was done via the web interface. I used the "Rename Album" option from the drop down list to rename. And the "Sort" link to sort the albums.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-09-03 16:08

(Mbuna... sorry... I've been hugely busy, trying to get Gallery 1.4 out the door... I will take another look at your site this evening)

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2003-09-03 18:52

I understand if you are busy, and appreciate any and all help you can give me.

 
peteram

Joined: 2002-09-26
Posts: 1
Posted: Sun, 2003-09-07 08:28

hiya!

I've got the same problem, after renaming (through the top-link) albums, they got 'mismatched' i.e. they still appear in the listings, but it fails to show sample thumbnail, plus after clicking them, the browser jumps back to the main page; it can't find the corresponding folder/entry.

It's most probably because I used a space in the name (yep, I know that it was mentioned not to, but well..)

I haven't been able to fix it though :-/

> manually renaming dirs and changingalbum.dat files didn't solve anything yet, but I really should try to understand the app a bit better before I completely mess up things.

-- pete

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-09-08 16:11

Peter,

Thats the exact symptoms that I have as well, and I didn't use any spaces in any of the names.

 
CutAndPaste

Joined: 2003-06-24
Posts: 4
Posted: Tue, 2003-09-09 10:41

I'm getting the same problems with v1.4-RC1.

see http://26point2.co.uk/26point2/modules.php?op=modload&name=gallery&file=index

Anyone of the Gallery Gurus shed any light on this please!

Simon

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-09-15 19:09

Beckett,

Did you have a chance to take a look at this?

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-09-15 19:16

More info: I just tried to rename an album from album97 to "jlm" using the rename function.

I got the following after it reloaded the page:

Changed:
Warning: stat failed for /lopt/www/htdocs/fishgeeks/modules/gallery/albums//album.dat (errno=2 - No such file or directory) in /lopt/www/htdocs/fishgeeks/modules/gallery/platform/fs_unix.php on line 73

This displays underneath the album I change, which now shows as "untitled" with no highlight.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2003-09-15 19:19

mbuna, that seems to indicate a wrong album path in the setup? Notice the two //'s ?

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-09-15 20:48

Yes, I see that, but here is the config file entries:

$gallery->app->albumDir = "/lopt/www/htdocs/fishgeeks/modules/gallery/albums";
$gallery->app->albumDirURL = "http://fishgeeks.com/modules/gallery/albums";
$gallery->app->userDir = "/lopt/www/htdocs/fishgeeks/modules/gallery/albums/.use

And here is the directory:

fishgeeks# pwd
/lopt/www/htdocs/fishgeeks/modules/gallery
fishgeeks# ls -ald albums*
drwxr-xr-x 147 www wheel 16896 Sep 15 15:16 albums

All other albums are in the same directory and are working ok. This ONLY seems to happen when I rename an album.

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-09-15 21:08

I also need to add that I can go to the gallery after it has been renamed and it works fine. For example I just renamed on to passibettas_passions and got the same problem with the error on the index page.

But if I go to: http://www.fishgeeks.com/modules.php?set_albumName=passibettas_passions&op=modload&name=gallery&file=index&include=view_album.php

The album loads fine. (NOTE: I moved all of the pictures to a new album I created so that this user can still get to her pictures.)

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2003-09-24 17:53

This is still a problem, does anyone have any ideas on how to resolve this?

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Wed, 2003-09-24 18:05

I have the exact same problem with things dissapearing after renaming ... (I posted exact details in this topic : http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=43116 )

Has anyone found a solution yet and is this a bug in 1.4pl1 ?

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Thu, 2003-09-25 19:03

Anyone any idea ? PLEASE ? this seems to be a bug or something...

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Fri, 2003-10-03 11:21

anyone ?

 
CutAndPaste

Joined: 2003-06-24
Posts: 4
Posted: Fri, 2003-10-03 13:23

Still struggling with this as well. It's really made a dogs breakfast of my albums. Hopefull the next version will allow nested sub albums and stable re-naming!

 
ac07080

Joined: 2003-01-14
Posts: 29
Posted: Fri, 2003-10-03 16:24

sorry to hear everyone is having problems. this happened to only one album, and I've been searching for a solution as well.

 
bluefin
bluefin's picture

Joined: 2003-10-02
Posts: 9
Posted: Mon, 2003-10-06 18:56

I have very very similar problems as the ones described above. I started a forum topic on this, but haven't received any responses. The forum topic I started is at:

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=9846

Any thoughts, comments, etc would be greatly appreciated.

=>bluefin<=

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Thu, 2003-10-09 11:52

I'm starting to think that the people here are fine with the buggy code :(

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-10-11 11:49

bluefin, you have a separate issue you need to resolve first. I replied in your post.

CutAndPaste, for various reasons, "truly" nested albums are unlikely to appear any time soon for Gallery 1. Gallery 2 already has this done properly, so there's that to look forward to.

BassFace: (buggy code)
Far from it... in my case, I've been busy trying to get some other Gallery issues resolved (I have a full plate times fifty right now, as do all of the developers), and haven't given mbuna's issue nearly enough attention, and apologise for that (we usually use the SF.net bug tracker... and this isn't listed there, so my attention has been focused elsewhere, and am only catching up in the forums now) (Yes, I read every post). We're never satisfied with any bugs, but Gallery v1.x is proving a difficult beast to tame sometimes (Gallery 2 will *not* have hard-to-pinpoint issues such as this cropping up). Since this is a potential data corruption issue, we're taking this very seriously. I've managed to free up a couple of hours this weekend to work on this... so stay tuned.

-Beckett (

)
Gallery v1.x Development Team Leader

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Sun, 2003-10-12 20:53

thanks I'm looking forward to a solution ... if this wasn't a bug I would have gone for the donation based support ... hope you get it resolved

 
2muchspam

Joined: 2003-04-10
Posts: 12
Posted: Mon, 2003-10-20 00:31

Thanks Gallery team for such a great app.

I have the same problem. Arrg. I hope a fix is coming soon!

Cutnpaste, your problem is a permission issue. CHMOD -R 777 albums should fix you up.

 
BassFace

Joined: 2003-09-24
Posts: 11
Posted: Mon, 2003-10-20 11:27

I hope that not only a new version is coming that eliminates the bug, but also a solution on how to get my lost albums back !!

 
theprotege
theprotege's picture

Joined: 2002-08-16
Posts: 58
Posted: Mon, 2003-10-20 20:10

great, so i'm not the only one...i've spent the past 3 days deleting, reinstalling, editing, etc and still have the same nest gallery problem...so, i'll jump on the bandwagon

ME TOO!!

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2003-10-22 14:33

Still broken over here. I've rebuilt as much as I can, but I'm afraid to move, rename, or delete any albums now so things are becoming completely garbled.

I'd be happy to pay for a product that worked well for me. What's the timeline for gallery 2 to be out?

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Wed, 2003-10-22 17:12

have you tried doing the renaming from outside the postnuke context (ie: http://yoursite.com/modules/gallery)?
the actions you describe work fine in PHPNuke 6.8 with gallery 1.4.1-cvs-b185 (see http://www.nukedgallery.net). i wonder if this is a postnuke issue. try doing a couple test albums and post your results.

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Thu, 2003-10-23 20:50
dmolavi wrote:
have you tried doing the renaming from outside the postnuke context (ie: http://yoursite.com/modules/gallery)?
the actions you describe work fine in PHPNuke 6.8 with gallery 1.4.1-cvs-b185 (see http://www.nukedgallery.net). i wonder if this is a postnuke issue. try doing a couple test albums and post your results.

I tried that before with the same results. It doesn't appear to be postnuke related at all.

http://FishGeeks.com

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2003-11-19 18:19

Anyone have any other thoughts on this?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Wed, 2003-11-19 21:23

thoughts on what? I've kind of lost track of what the problem is. You seem to be saying (on page one) that you didn't expect to see albuo03-23, but these seem to be fine (eg. http://www.fishgeeks.com/modules/gallery/albuo23 ).

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Sat, 2003-11-22 19:55

The problem is this. If I rename an album via the rename option in gallery I lose the album.

This happens if I do it from within postnuke, or outside of postnuke.

If I rename an album it is no longer accessible from gallery and results in a corrupt album.

You are seeing albuo23 because it has been reused by gallery since this problem first began.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sat, 2003-11-22 20:38

create a zip of all your .dat files, and I will see if I can reproduce it. Atttach it here, or send me a pm.

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Mon, 2003-11-24 16:56

dat files are 3MB in size total. Is that normal? 543 dat files through the albums dir and sub dirs.

Do you want specific dat files?

Here's a list of dat files found:

./fishgeekmembers/photos.dat
./fishgeekmembers/album.dat
./fishgeekmembers/serial.1217.dat
./thetropicsofshreveport/album.dat
./thetropicsofshreveport/serial.6.dat
./thetropicsofshreveport/photos.dat
./album04/photos.dat
./album04/album.dat
./album04/serial.3.dat
./newtankgirl/album.dat
./newtankgirl/serial.11.dat
./newtankgirl/photos.dat
./Towert7/album.dat
./Towert7/photos.dat
./Towert7/serial.35.dat
./album12/photos.dat
./album12/album.dat
./album12/serial.17.dat
./album16/photos.dat
./album16/album.dat
./album16/serial.7.dat
./bathosfish/album.dat
./bathosfish/serial.5.dat
./bathosfish/photos.dat
./album09/photos.dat
./album09/album.dat
./album09/serial.6.dat
./album10/photos.dat
./album10/album.dat
./album10/serial.356.dat
./album19/photos.dat
./album19/album.dat
./album19/serial.3.dat
./Rkiks-various-fishy-and-animal-photos/photos.dat
./Rkiks-various-fishy-and-animal-photos/serial.55.dat
./Rkiks-various-fishy-and-animal-photos/album.dat
./album06/photos.dat
./album06/album.dat
./album06/serial.3.dat
./album21/photos.dat
./album21/album.dat
./album21/serial.6.dat
./devilnabluedress/album.dat
./devilnabluedress/serial.12.dat
./devilnabluedress/photos.dat
./album22/photos.dat
./album22/album.dat
./album22/serial.3.dat
./TheOneWhoIsnt/photos.dat
./TheOneWhoIsnt/album.dat
./TheOneWhoIsnt/serial.17.dat
./album66/album.dat
./album66/serial.3.dat
./album66/photos.dat
./album67/album.dat
./album67/serial.4.dat
./album67/photos.dat
./wrenchpuler/photos.dat
./wrenchpuler/album.dat
./wrenchpuler/serial.167.dat
./album39/photos.dat
./album39/album.dat
./album39/serial.130.dat
./Anq-s-Album/photos.dat
./Anq-s-Album/album.dat
./Anq-s-Album/serial.2.dat
./.users/userdb.dat
./davozcichlids/album.dat
./davozcichlids/serial.22.dat
./davozcichlids/photos.dat
./jssasimp180/album.dat
./jssasimp180/serial.9.dat
./jssasimp180/photos.dat
./album38/album.dat
./album38/serial.8.dat
./album38/photos.dat
./bluesmarties/album.dat
./bluesmarties/serial.19.dat
./bluesmarties/photos.dat
./plecoguy/album.dat
./plecoguy/serial.3.dat
./plecoguy/photos.dat
./alicefairchild/album.dat
./alicefairchild/serial.5.dat
./alicefairchild/photos.dat
./untitled1/album.dat
./untitled1/serial.6.dat
./untitled1/photos.dat
./cdoscdosrun/album.dat
./cdoscdosrun/serial.3.dat
./cdoscdosrun/photos.dat
./album53/album.dat
./album53/serial.4.dat
./album53/photos.dat
./album55/album.dat
./album55/serial.6.dat
./album55/photos.dat
./album52/album.dat
./album52/serial.4.dat
./album52/photos.dat
./album59/album.dat
./album59/serial.34.dat
./album59/photos.dat
./album03/photos.dat
./album03/album.dat
./album58/photos.dat
./album58/album.dat
./album58/serial.32.dat
./album61/album.dat
./album61/serial.4.dat
./album61/photos.dat
./album64/photos.dat
./album64/serial.9.dat
./album64/album.dat
./album65/serial.22.dat
./album65/photos.dat
./album65/album.dat
./album18/album.dat
./album18/serial.28.dat
./album18/photos.dat
./album08/photos.dat
./album08/album.dat
./album08/serial.7.dat
./goblin/photos.dat
./goblin/album.dat
./goblin/serial.233.dat
./album56/serial.54.dat
./album56/album.dat
./album56/photos.dat
./album57/album.dat
./album57/serial.7.dat
./album57/photos.dat
./album63/album.dat
./album63/serial.7.dat
./album63/photos.dat
./album62/album.dat
./album62/serial.83.dat
./album62/photos.dat
./album68/album.dat
./album68/serial.9.dat
./album68/photos.dat
./album07/photos.dat
./album07/album.dat
./album07/serial.3.dat
./jlm/album.dat
./jlm/serial.5.dat
./jlm/photos.dat
./albun00/album.dat
./albun00/serial.3.dat
./albun00/photos.dat
./albun01/album.dat
./albun01/serial.6.dat
./albun01/photos.dat
./album70/album.dat
./album70/serial.15.dat
./album70/photos.dat
./album71/album.dat
./album71/photos.dat
./album71/serial.12.dat
./album72/album.dat
./album72/serial.8.dat
./album72/photos.dat
./album73/album.dat
./album73/serial.5.dat
./album73/photos.dat
./album76/album.dat
./album76/serial.14.dat
./album76/photos.dat
./album75/album.dat
./album75/serial.8.dat
./album75/photos.dat
./album77/album.dat
./album77/serial.13.dat
./album77/photos.dat
./album79/album.dat
./album79/serial.6.dat
./album79/photos.dat
./album80/album.dat
./album80/photos.dat
./album80/serial.7.dat
./album78/album.dat
./album78/serial.14.dat
./album78/photos.dat
./album74/album.dat
./album74/serial.16.dat
./album74/photos.dat
./album81/album.dat
./album81/serial.6.dat
./album81/photos.dat
./album82/album.dat
./album82/serial.4.dat
./album82/photos.dat
./album83/album.dat
./album83/serial.9.dat
./album83/photos.dat
./album87/album.dat
./album87/serial.3.dat
./album87/photos.dat
./album89/album.dat
./album89/serial.7.dat
./album89/photos.dat
./album90/album.dat
./album90/serial.15.dat
./album90/photos.dat
./album95/album.dat
./album95/serial.27.dat
./album95/photos.dat
./album96/album.dat
./album96/serial.20.dat
./album96/photos.dat
./album91/album.dat
./album91/serial.11.dat
./album91/photos.dat
./album93/album.dat
./album93/serial.3.dat
./album93/photos.dat
./album94/album.dat
./album94/serial.3.dat
./album94/photos.dat
./album97/album.dat
./album97/serial.6.dat
./album97/photos.dat
./album99/album.dat
./album99/serial.7.dat
./album99/photos.dat
./thebettagallery/photos.dat
./thebettagallery/album.dat
./thebettagallery/serial.283.dat
./album05/photos.dat
./album05/album.dat
./album05/serial.16.dat
./justagoldfish/album.dat
./justagoldfish/serial.8.dat
./justagoldfish/photos.dat
./albumdb.dat
./albun33/album.dat
./albun33/serial.13.dat
./albun33/photos.dat
./albun02/album.dat
./albun02/serial.9.dat
./albun02/photos.dat
./albun03/album.dat
./albun03/serial.6.dat
./albun03/photos.dat
./albun04/album.dat
./albun04/serial.7.dat
./albun04/photos.dat
./albun06/album.dat
./albun06/serial.5.dat
./albun06/photos.dat
./albun05/album.dat
./albun05/serial.5.dat
./albun05/photos.dat
./albun09/album.dat
./albun09/serial.19.dat
./albun09/photos.dat
./albun10/album.dat
./albun10/photos.dat
./albun10/serial.13.dat
./albun12/album.dat
./albun12/serial.4.dat
./albun12/photos.dat
./albun13/album.dat
./albun14/album.dat
./albun14/serial.6.dat
./albun14/photos.dat
./albun15/album.dat
./albun15/serial.17.dat
./albun15/photos.dat
./albun17/album.dat
./albun17/serial.4.dat
./albun17/photos.dat
./albun19/album.dat
./albun19/serial.6.dat
./albun19/photos.dat
./albun21/album.dat
./albun21/serial.3.dat
./albun21/photos.dat
./albun24/album.dat
./albun24/serial.17.dat
./albun24/photos.dat
./albun25/album.dat
./albun25/serial.5.dat
./albun25/photos.dat
./albun08/album.dat
./albun08/serial.5.dat
./albun08/photos.dat
./albun16/album.dat
./albun16/serial.7.dat
./albun16/photos.dat
./albun20/album.dat
./albun20/serial.3.dat
./albun20/photos.dat
./albun27/album.dat
./albun27/serial.42.dat
./albun27/photos.dat
./albun23/album.dat
./albun23/serial.22.dat
./albun23/photos.dat
./albun26/album.dat
./albun26/serial.3.dat
./albun26/photos.dat
./albun28/album.dat
./albun28/serial.5.dat
./albun28/photos.dat
./albun18/album.dat
./albun18/photos.dat
./albun18/serial.6.dat
./thecorydorasgallery/album.dat
./thecorydorasgallery/serial.28.dat
./thecorydorasgallery/photos.dat
./themarinefishgallery/album.dat
./themarinefishgallery/serial.29.dat
./themarinefishgallery/photos.dat
./serial.dat
./album02/photos.dat
./album02/album.dat
./album02/serial.801.dat
./rkiks/photos.dat
./rkiks/album.dat
./rkiks/serial.83.dat
./FESTAE/photos.dat
./FESTAE/album.dat
./FESTAE/serial.5.dat
./albun34/album.dat
./albun34/serial.12.dat
./albun34/photos.dat
./albun35/album.dat
./albun35/serial.8.dat
./albun35/photos.dat
./albun36/album.dat
./albun36/serial.3.dat
./albun36/photos.dat
./albun37/album.dat
./albun37/serial.4.dat
./albun37/photos.dat
./albun38/album.dat
./albun38/serial.5.dat
./albun38/photos.dat
./albun42/album.dat
./albun42/serial.7.dat
./albun42/photos.dat
./albun46/album.dat
./albun46/serial.8.dat
./albun46/photos.dat
./albun40/album.dat
./albun40/serial.6.dat
./albun40/photos.dat
./albun41/album.dat
./albun41/serial.3.dat
./albun41/photos.dat
./albun44/album.dat
./albun44/serial.15.dat
./albun44/photos.dat
./albun45/photos.dat
./albun45/album.dat
./albun45/serial.2.dat
./albun48/album.dat
./albun48/photos.dat
./albun48/serial.5.dat
./albun50/album.dat
./albun50/serial.10.dat
./albun50/photos.dat
./albun52/album.dat
./albun52/serial.4.dat
./albun52/photos.dat
./albun53/album.dat
./albun53/serial.5.dat
./albun53/photos.dat
./albun62/album.dat
./albun62/serial.9.dat
./albun62/photos.dat
./carlysattempt/album.dat
./carlysattempt/serial.8.dat
./carlysattempt/photos.dat
./bigrspuddle/album.dat
./bigrspuddle/serial.39.dat
./bigrspuddle/photos.dat
./brackish/album.dat
./brackish/serial.7.dat
./brackish/photos.dat
./arejaygeestank/album.dat
./arejaygeestank/serial.16.dat
./arejaygeestank/photos.dat
./allyspictures/album.dat
./allyspictures/serial.4.dat
./allyspictures/photos.dat
./luyusclips/album.dat
./luyusclips/serial.7.dat
./luyusclips/photos.dat
./festaesfish/album.dat
./festaesfish/serial.11.dat
./festaesfish/photos.dat
./rickysasian/album.dat
./rickysasian/serial.4.dat
./rickysasian/photos.dat
./vf1asplanted/album.dat
./vf1asplanted/serial.7.dat
./vf1asplanted/photos.dat
./albuo03/photos.dat
./albuo03/album.dat
./albuo03/serial.3.dat
./albuo05/album.dat
./albuo05/serial.17.dat
./albuo05/photos.dat
./albuo07/album.dat
./albuo07/serial.4.dat
./albuo07/photos.dat
./albuo08/album.dat
./albuo08/serial.13.dat
./albuo08/photos.dat
./albuo09/album.dat
./albuo09/serial.9.dat
./albuo09/photos.dat
./albuo10/photos.dat
./albuo10/album.dat
./albuo10/serial.3.dat
./albuo11/album.dat
./albuo11/serial.6.dat
./albuo11/photos.dat
./albuo14/album.dat
./albuo14/serial.9.dat
./albuo14/photos.dat
./albuo21/album.dat
./albuo21/serial.9.dat
./albuo21/photos.dat
./albuo23/album.dat
./albuo23/serial.13.dat
./albuo23/photos.dat
./album28/photos.dat
./album28/album.dat
./album28/serial.2.dat
./draconemspictures/photos.dat
./draconemspictures/album.dat
./draconemspictures/serial.15.dat
./TommysPICS/photos.dat
./TommysPICS/album.dat
./TommysPICS/serial.15.dat
./album35/photos.dat
./album35/album.dat
./album35/serial.11.dat
./dkpictures/photos.dat
./dkpictures/album.dat
./dkpictures/serial.1.dat
./GarMan/photos.dat
./GarMan/album.dat
./GarMan/serial.10.dat
./Barts/photos.dat
./Barts/album.dat
./Barts/serial.5.dat
./jamesfish/album.dat
./jamesfish/serial.7.dat
./jamesfish/photos.dat
./jmes_fish/album.dat
./jmes_fish/photos.dat
./jmes_fish/serial.16.dat
./limaguppies/album.dat
./limaguppies/photos.dat
./limaguppies/serial.11.dat
./nitrostart150/photos.dat
./nitrostart150/album.dat
./nitrostart150/serial.20.dat
./Golbin/serial.155.dat
./Golbin/album.dat
./Golbin/photos.dat
./plecoguys/album.dat
./plecoguys/photos.dat
./plecoguys/serial.21.dat
./rudins_place/album.dat
./rudins_place/photos.dat
./rudins_place/serial.35.dat
./sues125/album.dat
./sues125/serial.38.dat
./sues125/photos.dat
./somegoodfriends/photos.dat
./somegoodfriends/album.dat
./somegoodfriends/serial.48.dat
./smthngsfish/album.dat
./smthngsfish/photos.dat
./smthngsfish/serial.9.dat
./towert7/photos.dat
./towert7/album.dat
./towert7/serial.129.dat
./wonderfish/album.dat
./wonderfish/photos.dat
./wonderfish/serial.11.dat
./album01/photos.dat
./album01/album.dat
./album01/serial.13.dat
./album20/photos.dat
./album20/album.dat
./album20/serial.8.dat
./album33/photos.dat
./album33/album.dat
./album33/serial.5.dat
./album34/photos.dat
./album34/album.dat
./album34/serial.8.dat
./album37/photos.dat
./album37/album.dat
./album37/serial.7.dat
./album40/photos.dat
./album40/album.dat
./album40/serial.14.dat
./album41/photos.dat
./album41/album.dat
./album41/serial.6.dat
./JAGfishforadoption/photos.dat
./JAGfishforadoption/album.dat
./JAGfishforadoption/serial.2.dat
./OurFishies/photos.dat
./OurFishies/album.dat
./OurFishies/serial.6.dat
./album26/photos.dat
./album26/album.dat
./album26/serial.11.dat
./album27/photos.dat
./album27/album.dat
./album27/serial.1.dat
./jcork180gallon/photos.dat
./jcork180gallon/album.dat
./jcork180gallon/serial.1.dat
./album50/photos.dat
./album50/album.dat
./album50/serial.8.dat
./aspencer80s-tank/photos.dat
./aspencer80s-tank/album.dat
./aspencer80s-tank/serial.78.dat
./TancGirl/photos.dat
./TancGirl/album.dat
./TancGirl/serial.1.dat
./Tennhound-pics/photos.dat
./Tennhound-pics/album.dat
./Tennhound-pics/serial.7.dat
./album100/photos.dat
./album100/album.dat
./album100/serial.2.dat
./Mike-s-plecs-n-more/photos.dat
./Mike-s-plecs-n-more/album.dat
./Mike-s-plecs-n-more/serial.7.dat
./My-fish-and-zoo-fish/photos.dat
./My-fish-and-zoo-fish/album.dat
./My-fish-and-zoo-fish/serial.1.dat

 
jlpeifer

Joined: 2003-11-27
Posts: 5
Posted: Thu, 2003-11-27 16:28

Similar problem... Here's a wordy explanation of what happened to us along with a solution some of you *might* find helpful.

This certainly seems to be a common problem. My organization experienced a similar situation. There seems to be a programming glitch somewhere with regard to album tracking/indexing when renaming and/or moving albums.

Setting the story...
We have three primary albums in which we store many sub-albums. Within one of the primary albums we had created a sub-album and filled it with photos. When we went to view all of the sub-albums within the album in which this sub-album had been created we noticed that somehow, "automagically", the new sub-album appeared TWICE. The person who was editing the album did the logical thing... selected one of the duplicate sub-albums and deleted it. To her dismay both sub-albums disappeared, and a single, blank, error-laden sub-album was left in place. Upon further investigation I found that the source directory for the sub-album had been completely deleted from the web server. Within the Gallery web interface the error-laden sub-album was attempting to display pictures contained in a directory on the server that WASN'T THERE. Within the Gallery web interface the problematic sub-album showed a black box where a thumbnail was supposed to be displayed, and a flurry of errors appeared, the first of which was a "Stat Failed" error. Attempts to use the web interface to delete the reference to the erroneous sub-album failed.

Ok, so if you followed that gobble-D-gook... Basically what I found was that an entire directory had been deleted from my server and that Gallery was still trying to access and display the contents of this non-existent directory.

Fix... Using an FTP/SSH program I created a new directory on the server with the name of the previously deleted directory (in this case, "album02"). I copied the entire contents from an in-tact directory (in this case "album01") to the newly created directory. I then went back into the Gallery web interface... and... PRESTO-CHANGO! The faulty album was now error-free! Once the album was free of errors I was free to manipulate it anyway I wanted. Granted... this was kind-of a "kludge" of a fix... but a fix none-the-less.

Observation... First-and-foremost... Gallery is a super-cool application. Many thanks to the folks who made this a reality.

Further Observation... I hope the programmers have read this post because it brings to light a real programming glitch that needs to be investigated.

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2003-12-10 18:43

Can anyone from the gallery team shed some light on this? At this point I don't want to allow anyone to add or manipulate any albums because everytime someone renames an album it gets hosed.

This is making the gallery virtually useless for me.

Any help is appreciated.

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Sat, 2004-01-10 14:15

Hey, is anyone out there listening?

Can anyone help me find out why gallery is corrupting my albums?

I know this is a free product and I'd be happy to donate to the cause, but not until the product works and doesn't hose a gallery every time someone tries to rename it.

Is anyone else having similar problems?

 
raventures
raventures's picture

Joined: 2003-09-19
Posts: 30
Posted: Sat, 2004-01-31 17:00

I am also struggling with the Gallery database structure while attempting an album rename oustide of the Gallery interface. Just posted details as other query. Did you ever get this resolved?

 
thechadd

Joined: 2004-08-23
Posts: 23
Posted: Mon, 2004-08-23 16:52

bump

 
frensy

Joined: 2004-08-30
Posts: 1
Posted: Mon, 2004-08-30 19:04

I had the exact same problem and here is how to fix it.

1 - Create your album, and not its number for example album38
2 - rename your album to lets say TestAlbum
3 - Now you have the problem that is it is still trying to access the album38 whose name has been changed.
4 - In your explorer, copy the directory TestAlbum, and rename it to album38.
5 - Now go to the page you had the problem with, you shouldn't anymore, and delete the album.
6 - Finally go to the top of your gallery and you should find your TestAlbum album !

Yes I know it's pretty ugly but at least there is a way around :-D

Enjoy, and thanks for the soft !

 
DonWolli

Joined: 2003-07-07
Posts: 23
Posted: Thu, 2004-09-02 06:09
mbuna wrote:
More info: I just tried to rename an album from album97 to "jlm" using the rename function.

I got the following after it reloaded the page:

Changed:
Warning: stat failed for /lopt/www/htdocs/fishgeeks/modules/gallery/albums//album.dat (errno=2 - No such file or directory) in /lopt/www/htdocs/fishgeeks/modules/gallery/platform/fs_unix.php on line 73

This displays underneath the album I change, which now shows as "untitled" with no highlight.

we did the same thing somewhen in the past (dont know who, dont know when, nobody informed the admin).
today we still have this shit in the gallery(so we noticed it).
the pictures are gone !

what i now fear mostly is that the consistency of the gallery is gone and i dont know how to check it !!!

we have some 7000 pics in more than 300 albums .... and only there ...at least i hope they are there ....

please help !!!!!!

 
mystavash

Joined: 2004-09-12
Posts: 69
Posted: Sat, 2004-09-18 18:50

I am also having this problem, and although it's not a major problem (yet??), it seems to be a big concern.

Anisa.

 
reviewum

Joined: 2003-11-11
Posts: 9
Posted: Fri, 2004-10-01 19:37

Hi all! This is a pretty long thread (both in text and time frame).

I just upgraded my Gallery to 1.4.4-pl2 and thought I'd try this "orphan" button / tool. The script found a few galleries that were "orphaned" and next thing I knew I had the exact same problem that jlpeifer mentioned:

1) Two instances of the same gallery folder being referenced by two differently named albums. Name1 and Name2 both pointed to public_html/gallery/albums/Album1
2) Trying to delete either Name1 and Name2 ended up deleting the directory public_html/gallery/albums/Album1 which got rid of both albums... pics all gone!
3) Also left with a blank album looking for a folder that didn't exist!
4) The easiest "fix" was to just hide the duplicate directories.

Now I'm going to try the workaround fix mentioned above. I'll report back and let everyone know what I find!

--
Rob Ludlow
www.reviewum.com - Professor Reviews
www.nifty-stuff.com - All stuff nifty
www.ludcon.com

 
reviewum

Joined: 2003-11-11
Posts: 9
Posted: Fri, 2004-10-01 20:23

Okay, it worked... thank goodness there were only 5 of these albums (that I found). Here's what I did:

1) Made sure I had LOTS of spare room on my host to copy the albums.
2) Changed all the ones I wanted to delete to "hidden" so I wouldn't get them confused (the wife would kill me if I deleted her albums).
3) Copied over the albums (data and all) to another folder via Cpanel.
4) Renamed all of the albums I wanted to KEEP from myalbumname to myalbumname2 via Gallery admin.
5) Moved the duplicate albums from step 3 to my main albums folder via Cpanel.
6) Deleted all the duplicate Albums via Gallery admin.
7) Renamed all my KEEP albums back from myalbumname2 to myalbumname via Gallery admin. (You can skip this step if you don't think anyone is linking to your albums).

All done!

--
Rob Ludlow
www.reviewum.com - Professor Reviews
www.nifty-stuff.com - All stuff nifty
www.ludcon.com

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2004-10-01 23:22

You know I had nightmares about this thread back in the day.
Okay.

*Wow* :roll: