"invalid albums"? Permissions issue perhaps? Thank
TheWendysGuy
Joined: 2002-12-29
Posts: 18 |
![]() |
A very strange error when I log in to gallery as admin. "Attention Gallery Administrator! album list Please move it/them out of the albums directory." These albums used to work, and I am not sure what has changed to suddenly stop them working. Here is a "ls -l" -jailshell-2.05b$ pwd What should I do? Thanks. ---- |
|
signe
![]()
Joined: 2003-07-27
Posts: 2322 |
![]() |
Check the permissions on the .dat files in the albums that are being reported as invalid. They should be 777 (or whatever it takes for your webserver to be able to read and write to them). |
|
TheWendysGuy
Joined: 2002-12-29
Posts: 18 |
![]() |
-jailshell-2.05b$ chmod 777 *.dat |
|
signe
![]()
Joined: 2003-07-27
Posts: 2322 |
![]() |
The files will probably be owned by the webserver, not by your user account. If this is a hosted website, you will need to contact your webhost to change the appropriate permissions. This is the easiest method: FAQ Gallery:c.15 |
|
splatt
Joined: 2004-07-15
Posts: 2 |
![]() |
I have exactly the same problem. When I try to follow the advice in the FAQ posting, I just get the following error for each dat file e.g.: So I informed the admistrator of my server and got the following reply: My interpretation of the response: it's not our problem, it's in the code. The situation gets stranger, however, because when I simply left the files alone for a day, some of the dat files did become accessible (but not all). Seems like there is another set of permissions somewhere that cannot be set using chmod over ftp. Is this correct? This being the case, is the implication that you can only run Gallery reliably if you have shell(?) access? Finally, what the hell do I do now? Can't run Gallery, can't delete the albums (even if I wanted to), can't change the permissions! Rocks and hard places come to mind. |
|
splatt
Joined: 2004-07-15
Posts: 2 |
![]() |
Managed to resolve this file permissions problem by upgrading to the latest version of Gallery (1.4.4-RC). I was previously running on 1.3.1. The configuration wizard told me that I needed to run the 'Upgrade albums' utility. This generated some errors when it got to the offending files, but I was then able to use my ftp client to chmod 777 them. I then re-ran the upgrade albums utility and everything was hunkey-dorey. Hurrah! (To put this in perspective, this is the first problem I have had in over a year of operation - something I can't say for most of the other software I run! Great product overall.) |
|