Gallery

I'm getting an error that I have no clue how I got. I've been using it without any problems and was going to go check something and this came up:<br /><br />Error: Your Userfile is not writeable<br /><br />I'm ususally pretty good with being able to change the permissions to get something to work, but I'm lost with this one seeing as it was just working earlier today.<br /><br /><a href="http://www.moonlitrealm.org/photos/" target="_blank">http://www.moonlitrealm.org/photos/</a><br /><br />Anybody have any ideas? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><!--content-->
According to Gallery's <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">Troubleshooting FAQ</a>, something's changed the permissions on your /albums folder from 0777 so that Gallery's scripts no longer have write permission there.<br /><br />The recommended solution is to use an FTP program to recursively set the permissions on the /albums directory and every file/directory in it to 0777 (including the .users directory, which may be hidden).<br /><br />If you are unable to do this with your FTP program, you can submit a ticket to the Help Desk and ask them to do this for you.<!--content-->
I took a look at the Gallery code, and where that error occurs, Gallery is specifically testing /albums/.users/userdb.dat, where "/albums" is the album directory you've configured in Gallery. I guess this would be /photos/.users/userdb.dat in your case...? Anyway, Gallery says it does not have write permission on that file (meaning it's probably not 0777).<!--content-->
Weird.. I checked that last night and it was the right permissions. I checked it again and they are all set to 777. I checked via ftp and the file manager through the cpanel <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />Updated: I went into .users and changed EVERYTHING to 777 and it seems to have worked. I am willing to change some stuff over to 777, but I wanted to make sure that changing everything like that in .users won't hurt me any.<br /><br />Thank you for the help David <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top