Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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

Posted

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.

Posted

Awesome, I'll send a helpdesk ticket to get the same thing done for the other domain having the same problem.

Posted

So I take it if I submit a trouble ticket, that should help?

 

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.

Posted

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

 

;)

Posted

As TCH-Rick states above:

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.
Posted

Yeah, but I think she was saying that the permissions ARE set correctly.

Posted

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?

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...