Jump to content

Gallery Frustrations


MoonFaery
 Share

Recommended Posts

I swear I keep running into problems with my gallery... I now get this error:

 

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

Error: Could not open lock file (/home/moonlit/public_html/photos/albums/albumdb.dat.lock)!

 

And can no longer create new albums. Argh! Does anyone use Coppermine? Is it recommended?

 

I am using the gallery that you can get at sourceforge.net.

Link to comment
Share on other sites

Angela, that's a permissions problem, quite easy to solve, don't worry :)

 

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?

 

If it does not exist, you'll have to change the permissions of the /home/moonlit/public_html/photos/albums/ directory to 777.

 

If the file already exists, then you need to change the file permissions to 666.

 

Let us know if it works out :P

Link to comment
Share on other sites

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! :angry:

 

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!!!

Link to comment
Share on other sites

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.

 

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.

Link to comment
Share on other sites

Also, when I am uploading the pictures, when it is giving the information on resizing and such:

 

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

Error: Could not open lock file (/home/moonlit/public_html/photos/albums/trinity/album.dat.lock)!

 

;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...