TADesigns
Joined: 2002-11-14
Posts: 94 |
Posted: Sun, 2003-06-22 00:44 |
Beckett, I have several albums. Two of my nested albums one night just disappeared. It shows the album exists, just with no photos. If I log onto the server I can see the photos are still there in their appropriate directories. Do you know how I might be able to get them to show up again? and do you know what might have caused this? The month of May gallery had photos in it and as you can see it is empty now. The wedding album had 271 photos in it and was also working absolutely fine. Thanks for your help. |
|
Posts: 7994
TADesigns, I split this off from the topic you posted it on, since it's unrelated.
Try upgrading to Gallery 1.3.4, as we have made some fixes in the code that may resolve this problem for you. Report back if that doesn't fix it.
Posts: 94
Thank you for your reply and congratulations on the new baby.
I have already upgraded the gallery at http://www.thomasanastasia.com/alexandra/gallery
I will upgarde the one at http://www.thomasanastasia.com/family/gallery this afternoon.
It did not correct anything on the first one.
The reason I had posted on the end of the other thread is because beckett had mention that maybe the photos.dat or album.dat might have been corrupt. So I'm not sure if I maight have had the same problem. Its very weird because one minute they were there and all i did was hit back on my browser and then they disappeared.
Thanks for your help.
Posts: 7994
TADesigns, I'm sorry to say that after looking at your "May 2003" album, it appears to be corrupted. We store the album data in a file called "album.dat" in the albums/album18 directory. We store data about all the photos in a file called "photos.dat". The photos.dat file appears to be cut short, same as the photos.dat.bak file.
There's a bug in Gallery up to and including v1.3.4 where if you run over your disk quota it can truncate your .dat files and also hose your backups. This has been fixed in the latest 1.3.5 snapshots (which you can download from the "bleeding edge" section of the downloads page) but it's probably too late for those two albums unless you have backups.
The images are all still there, just the caption and comment information is gone. To recover the images, create a new album and then use the "upload from URL" option and enter this URL: "http://www.thomasanastasia.com/alexandra/images/albums/album18" . Note: right now you have directory indexes turned off in your albums directory; turn them on temporarily for this operation so that the webserver gives Gallery a list of all the images in the directory, then turn it off again when you're done.
Posts: 94
Do I turn this on in the configuration screen? Because I don't see that option.
Posts: 94
Whenever I try to upload with an url I get this same error.
Fetching Urls...
Could not open url: 'http://www.thomasanastasia/family/images/albums/album02'
Processing status...
Posts: 3473
The URL you should be using is http://www.thomasanastasia.com/alexandra/images/albums/album02/
however, if you visit it, you will see that directory listing is disabled. You will have to enable it (so when you visit that url you see a list of files) for this fix to work.
Posts: 94
Hi Joan,
How exactly do I enable the directory listing? I do not see that in the configuration screens.
&
The reason the URL above was different is because I have this issue in two different galleries. Bharat said that he thought the dat files were corrupted because i ran out of disk space. He was right I was maxed out again!!! so I finally put all of my sites on a dedicated server. I now have 30gb of space, which will last me for a very very long time. :D So are you saying that once the directory listing is enabled the URL's will work fine?
Thank you,
Tom
Posts: 8194
Create a .htaccess file in that directory and add this line
Options +Indexes
Posts: 94
I'm trying and I still get the same error. Can you be more specific please?
Create the .htaccess file with the command "Options +Indexes" and place it in the albums dir? gallery dir?
Should the URL read http://www.thomasanastasia.com/family/images/albums/album02 ?
Posts: 8194
In the directory where you're trying to pull images from ( the last path you talked about in your previous post )
Posts: 94
I finally got it to give me something other than an error.
Fetching Urls...
http://www.thomasanastasia.com/family/images/albums/album02
Parsing http://www.thomasanastasia.com/family/images/albums/album02 for images...
But now it seems to be sitting there. Should it sit here a particular length of time depending on how many pictures were in the album? The one i'm trying to fix had 270 in it.
Posts: 94
OK, well I have tried it several times and I get the same parsing message but the donwload box cloases and the screnn refreshes like it is done so I'm sure it isn't working. Should I delete all ofthe dat files and thumbnails in the old album dir?
Posts: 94
Now I tried the same thing in my other gallery that had some corrupted albums. This time it does bring up the list of files to choose from.
The first time i selected everything and I recievd the could not open url error. The second time i just selected the original jpg, thinking maybe it would recreate the thumbnail and resized images. This is what I recieved.
<snip>
Fetching Urls...
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/2003Mayicon.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02729.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02730.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02731.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02732.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02733.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02734.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02735.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02736.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02737.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02738.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02739.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02740.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02741.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02742.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02743.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02744.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02745.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02746.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02747.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02748.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02749.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02750.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02751.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02753.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02754.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02755.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02757.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02758.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02759.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02760.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02761.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02762.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02763.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02764.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02765.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02766.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02767.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02768.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02772.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02773.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02774.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02775.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02776.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02777.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02778.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02779.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02780.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02781.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02783.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02785.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02786.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02787.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02788.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02789.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02790.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02791.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02792.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02793.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02794.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02795.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02796.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02797.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02798.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02799.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02800.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02801.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02802.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02803.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02804.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02805.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02806.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02807.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02808.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02809.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02810.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02811.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02812.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02813.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02814.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02815.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02816.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02817.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02818.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02819.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02820.jpg'
Processing status...
<snip>
Any thoughts?
Posts: 13451
When I try to open a random image (http://www.thomasanastasia.com/alexandra/images/albums/DSC02759.jpg) i get a customized 404 error. File not found.
Is the url correct? And if i try to access http://www.thomasanastasia.com/alexandra/images/albums/ i get a permission denied error. Try deleting the .htaccess file in the albums dir, and try again.
Posts: 94
I will go in and delete the file and try again. In the mean time I did waht you tried on the other gallery I have the same issue with and it show the ablbum dir (http://www.thomasanastasia.com/family/images/albums/)
I will let you know what the results are after I delete the .htaccess file
Posts: 94
I deleted the .htaccess file in /alexandra/images/albums/album18 and it could not open URL. So I put it back in and it gave me the option to select the files to add. I selected all and this is what I get.
<snip>
Fetching Urls...
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/2003Mayicon.highlight.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/2003Mayicon.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/2003Mayicon.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02729.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02729.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02729.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02730.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02730.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02730.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02731.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02731.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02731.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02732.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02732.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02732.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02733.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02733.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02733.thumb.jpg'
<i deleted about 50 or so pics out to save some space>
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02816.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02816.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02816.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02817.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02817.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02817.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02818.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02818.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02818.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02819.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02819.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02819.thumb.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02820.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02820.sized.jpg'
Could not open url: 'http://www.thomasanastasia.com/alexandra/images/albums/DSC02820.thumb.jpg'
http://www.thomasanastasia.com/icons/back.gif
http://www.thomasanastasia.com/icons/blank.gif
http://www.thomasanastasia.com/icons/image2.gif
http://www.thomasanastasia.com/icons/unknown.gif
Processing status...
- Adding back.gif
- Adding blank.gif
- Adding image2.gif
- Adding unknown.gif
So why would it add the icons only? Any thoughts? Your help is appreciated.
Posts: 3473
Looks like you have found a bug.
Use this URL
http://www.thomasanastasia.com/alexandra/images/albums/album18/
note the trailing "/"
Posts: 94
Hi Joan,
Thank you for the reply.
Yes, it seems that is a bug. I added that last slash and it worked. The only thing is I would clarify to others to only select the original image file. If you use the default select all it recreates a thumbnail and resized image for every file. So you can potentialy have a gallery with three of every image.
So not that this is going to surprise you. But I still have an issue. I had the sme problem in two galleries on the same site. The album in the alexandra gallery is now fixed. In my family gallery I had an album with 270 pictures from a wedding that also got corrupted when the server ran out of space. The problem is when I try to reload the photos using the same technique as the alexandra gallery, it shows the uplaod ing box and says...
Fetching Urls...
http://www.thomasanastasia.com/family/images/albums/album02/
Parsing http://www.thomasanastasia.com/family/images/albums/album02/ for images...
in the background. Then it closes the uploading files box and the gallery screen flshes like it should have updated and the Processing and Saving box just sits there stagnant. It never brings up a list of photo's to shoose from. Is there an issue with the amount of files that it can parse? Could it be that 270 x original image x resized image x thumbnail are too much?
Your thoughts as always are appreciated.
Thomas
Posts: 94
Well..... I went to the album directory and deleted every file other than the original jpegs and it pulled up the list giving me the optionto choose which pictures to add. So I believe it had an issue with the amount of files.
So both of my galleries are fixed and I am now on my own server with 30gb of space. Hopefully I will be without issues for quite some time.
Posts: 3473
Hooray! btw, it's not a new bug, but a tricky one to fix apparently
http://sourceforge.net/tracker/index.php?func=detail&aid=456567&group_id=7130&atid=107130