I had a Gallery setup perfectly running and havn't touched it for a while. I recently tried to log back in and get the following error (seems to also appear when running the last step of the setup screens) :
-------------------------------------------------------------
Login to My Gallery
Warning: fopen("/...removed.../albums/.users/ userdb.dat.lock", "a+") - Permission denied in /...removed.../gallery/platform/fs_unix.php on line 53
Error: Could not open lock file (/...removed.../ albums/.users/userdb.dat.lock)!
Logging in gives you greater permission to
view, create, modify and delete albums.
Error: Invalid username or password
-------------------------------------------------------------
I have a different Gallery setup on another domain and I noticed that in the ".users" folder the "owner" is not the same for the files.
In the working setup I have, my owner is 99 (don't know why) and on the one that doesn't work anymore the owner is the same as all other files from the Gallery program.
I don't know if this is related...
Any clues on what might be going on ?
Many thanks in advance for your help
Posts: 487
Actually, you are most likely correct. All files in the gallery directory
should be owned by whatever user you have apache or whatever webserver
running as. Also make sure it has read and write permissions to everything.
Except for the setup folder after you're done with that.
Posts: 7994
Also check out <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.15" TARGET="_blank">FAQ C.15</A><!-- BBCode End -->
Posts: 3
Many thanks for you answers...
I will try that tonight... looks like this is exactly what happened to my setup as I havn't changed anything
Thanks again :smile: