Gallery has detected the following invalid album(s)
jakeivory
Joined: 2004-04-14
Posts: 15 |
Posted: Thu, 2004-04-15 12:34 |
This is a new install of gallery and script has been fighting me all the way but I am determined to make it work. I can log into my albums page as administrator then when I go to [new album] I get the following error: "Attention Gallery Administrator! album01 Please move it/them out of the albums directory. " I get this every time I try and add a new album. I have removed the album from the albums directory as directed but when I go to put a new one in I get the same result. There was a similar question posted on the board but was never answered. Please help |
|
Posts: 6818
Hello,
you can not upload or move albums or photos direct into your albums folder.
You _have to_ use the UI inside Gallery..
Regards,
Jens
Posts: 15
I realize that.
The documentation says
however when I click"[new album]" I get the error message.
Posts: 15
still not working, I am stuck with this problem. Can someone help please?
Posts: 6818
Hello jakeivory,
is it possible that you can give me access to your server ?
Via SSh or FTP ?
If yes, please email or PM me the infos.
Regards,
Jens
Posts: 14
I have *exactly* the same problem in installing gallery 1.4.4
My environment is
net-www/apache-2.0.49-r1 *
Apache Web Server, Version 2.0.x [ http://www.apache.org/ ]
dev-php/mod_php-4.3.7-r1 *
Apache module for PHP [ ]
uname -a
Linux Gentoo 2.6.7-gentoo-r7 #4 Tue Jul 6 17:23:13 CST 2004 i686 Celeron (Coppermine) GenuineIntel GNU/Linux
The album path is
/var/www/localhost/gallery/albums/album01/
I just put all the albums folder into a tar ball, attached to this message. The error prompt is:
Gallery has detected the following 1 invalid album(s) in your albums directory
(/var/www/localhost/gallery/albums):
album01
Please move it/them out of the albums directory.
I don't know why newly created album01 could be invalid. If I move this folder out of the albums directory, the Gallery program simply create another album called album02 which is also invalid.
Posts: 2322
Well, your album.dat file is somehow named album.dat.0
Rename that to album.dat and it should be fine. I'll see if there's some reason that this might be happening.
Posts: 14
I don't know if I'm bad luck or something, now I renamed album.dat.0 to album.dat, and I uploaded several images( jpeg, gif and png) and nothing appear on th album (it just says this album is empty on the webpage). Check the website the files and its thumbnails are there already.
Did I do anything wrong?
Posts: 1
I'm having the same problems, and this FTP install has been fighting me tooth and nail as well.
I remove the offending album from the albums directory, but the second I click [new album] it creates it again, and gives me the error message about an invalid album.
I never get to the point where I can upload photos, since it won't display the created album, only the error message! And yes, my album.dat is called album.dat, not album.dat.0
Posts: 2322
The only idea I have is that you have some process running which causes the rename inside Gallery to fail. (Restrictive antivirus scanner, for example.)
Posts: 14
What file/directory needs to be renamed? First I had an albom01 folder, later it is renamed to the gallery name w/o problem. And I now have a list of files in the gallery folder here, which file looks failed to rename?
[code:1]
总用
Posts: 2322
zhangweiwu, I don't see anything in your list that needs to be changed...
Posts: 1
I have the exact same problem, and it's really annoying. I've no idea what to do...
Posts: 2
I have exactly the same message except my gallery has been up and working for over 6 months. It was fine this morning and tonight I go there and it gives me the invalid albums message. I moved nothing, changed nothing and checked with my server company and they did not make any changes to the server.
Server Info:
Operation System Linux
Apache Version 1.3.31 (Unix)
Kernel Version 2.4.21-4.0.1.ELsmp
Perl Version 5.8.1
PHP Version 4.3.3
MySQL Version 4.0.20-standard
Gallery v1.4.3
www.keystonesoldiers.org
Posts: 4
Same thing as keystone430 on my page too. Worth a bump.
Posts: 23
Similar issues initiated the problems I'm having also, but for me I'd use gallery remote and it would fail then I'd get a 'ghost' album01 that I couldn't enter (clicking on it would kick you back out to the main gallery) or delete (deleting it would just say deleted then it would still be there).
I wound up corrupting my .dat files trying to manual fix things.. I recommend NOT doing this!
Posts: 2
I finally figured out what happened with mine. First of all my server company lied to me. They did move my site on to another server. This created dat.lock files in all my albums and changed some of the permissions.
Go through every album and make sure there is an album.dat file then rename the .lock file to album-old.txt and it should fix the problem.
For some reason when they moved my stuff it reassigned the ownership of certain files to apache instead of my site name and because of the lock the site could not access them. If the site name does not match the ownership of all the files the albums are illegal.
I hope this makes sense the way I am explaining it. There were several files I had to delete and create new ones just to change the ownership. My Gallery is back up and running.
For the record my Gallery is wrapped in Geeklog. And I am changing hosts this month. There was no reason for them to lie when it is too easy for anyone with a brain to check.
Keystone430
Posts: 4
Mine's not a permissions problem. For some reason, I have 3 albums that had their album.dat files zeroed out. Nothing was done to the site except routine adding of pictures - not even to these problem albums. All the pictures are still in the folders, but the albums don't appear in the Gallery and their album.dat are 0bytes. Was this a bug? How can I prevent this from happening in the future?
I still tried Keystone's fix, but it didn't do anything for me. So do these albums just have to be trashed now since they have no data file?
Posts: 26
Same issue here.. been up and running for a LONG time... ive got 5 albums that have gone funny. Have not figured out the significance of those 5 yet. Permissions seem to be fine.
I can no longer make albums, when i try, it pops right back to the main gallery page. This is bad
Gallery v1.4.3-pl2
Posts: 1
If, for example, you go over the quota of your webserver, it's often the case that you (and Gallery) won't have the ability to write files, and I think that often leads to the zeroing of album.dat and album.dat.bak files.
This also makes it so that Gallery considers the albums invalid, which is a pain. Is there any way to reconstruct album.dat files without going through the entire GUI process? That would save poor people such as myself a lot of agony.