Gallery Frustrations

liunx

Guest
I swear I keep running into problems with my gallery... I now get this error:<br /><br />Warning: fopen(/home/moonlit/public_html/photos/albums/albumdb.dat.lock): failed to open stream: Permission denied in /home/moonlit/public_html/photos/platform/fs_unix.php on line 55<br />Error: Could not open lock file (/home/moonlit/public_html/photos/albums/albumdb.dat.lock)!<br /><br />And can no longer create new albums. Argh! Does anyone use Coppermine? Is it recommended?<br /><br />I am using the gallery that you can get at sourceforge.net.<!--content-->
Angela, that's a permissions problem, quite easy to solve, don't worry <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />You'll have to check one thing first: does that file (/home/moonlit/public_html/photos/albums/albumdb.dat.lock) already exist or is it being created by Coppermine?<br /><br />If it does not exist, you'll have to change the permissions of the /home/moonlit/public_html/photos/albums/ directory to 777.<br /><br />If the file already exists, then you need to change the file permissions to 666.<br /><br />Let us know if it works out <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Thank you so much Raul!!! It works now <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br /> Rock Sign<!--content-->
Great! Glad it worked OK <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
My Gallery suddenly started doing this yesterday as well. I figured out the solution you recommended, but manually changing the permissions on all those files is going to be a headache! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />What could have caused all the permissions to be re-set on my dozens of gallery album directories, scattered across two different sites on my reseller account, no less! Mad!!!<!--content-->
This is related to the problem you IMed me about with the accounts. There were a lot of files that were owned by nobody causing the problem with the quota report problems. All files were changed to be owned by your user name. Gallery is very picky about any changes at all so it returns the error. I have seen it every tim php changes as well.<br /><br />If you have any problems drop a Help Desk ticket and we can easily change the permissions to 777 on your album folders to correct the problem. I have done so with your domain and the gallery is not showing errors.<!--content-->
Awesome, I'll send a helpdesk ticket to get the same thing done for the other domain having the same problem.<!--content-->
So I take it if I submit a trouble ticket, that should help?<br /><br />It is weird, the permissions are set and when I first go into the album(s), it shows the error, but when I refresh it goes away.<!--content-->
Also, when I am uploading the pictures, when it is giving the information on resizing and such:<br /><br />Warning: fopen(/home/moonlit/public_html/photos/albums/trinity/album.dat.lock): failed to open stream: Permission denied in /home/moonlit/public_html/photos/platform/fs_unix.php on line 55<br />Error: Could not open lock file (/home/moonlit/public_html/photos/albums/trinity/album.dat.lock)! <br /><br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><!--content-->
As TCH-Rick states above:<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->If you have any problems drop a Help Desk ticket and we can easily change the permissions to 777 on your album folders to correct the problem. I have done so with your domain and the gallery is not showing errors.<!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
Yeah, but I think she was saying that the permissions ARE set correctly.<!--content-->
I have the album folders correct at 777, but it is saying something about my album.dat.lock file not being the correct permissions. Does anyone know what it should be?<!--content-->
Not sure what it should be but setting it to 666 would allow anyone to overwrite it.<!--content-->
Send me a PM with a link to the page giving the error and I can have a look and see what the problem is.<!--content-->
 
Back
Top