Cant create album as admin - I get an error message

kent
kent's picture

Joined: 2002-09-18
Posts: 14
Posted: Wed, 2002-09-18 06:13

Gallery is put on a bsd-box, and i tried to make an album trough internet-explorer in a NT-enviroment. I have tried to manually create and chmod /album01/, but that
didn't work. I have created albums this way earlyer, but now i haven't used gallery for some weeks. Any ideas?

http://www.fjellstua.com/script/gallery/albums.php
http://www.fjellstua.com/album
http://www.fjellstua.com/tmp

Here is the message i get when click [new album] in admin-mode. This screen loads in the current page.
-----------------------------------------------------
Warning: MkDir failed (Permission denied) in /usr/home/fjellstua/mainwebsite_html/script/gallery/platform/fs_unix.php on line 111

Warning: fopen("/usr/home/fjellstua/mainwebsite_html/album/album01/album.dat.lock", "a+") - No such file or directory in /usr/home/fjellstua/mainwebsite_html/script/gallery/platform/fs_unix.php on line 53
Error: Could not open lock file (/usr/home/fjellstua/mainwebsite_html/album/album01/album.dat.lock)!
Warning: fopen("/usr/home/fjellstua/mainwebsite_html/album/albumdb.dat.0", "w") - Permission denied in /usr/home/fjellstua/mainwebsite_html/script/gallery/platform/fs_unix.php on line 53

Warning: Cannot add header information - headers already sent by (output started at /usr/home/fjellstua/mainwebsite_html/script/gallery/platform/fs_unix.php:111) in /usr/home/fjellstua/mainwebsite_html/script/gallery/do_command.php on line 137
----------------------------------------------------------------

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-18 08:55

What version of Gallery are you using? Try getting the latest code from CVS -- we fixed some of the permission issues around directory creation, and that might be the problem you're hitting.

 
kent
kent's picture

Joined: 2002-09-18
Posts: 14
Posted: Wed, 2002-09-18 12:58

I'm using Gallery v1.3.1..

Rename:
If I try to rename an existing album I get this error-message:
Error: There is already an album with that name!

Add photo:
Regular uploading works as long as i upload it to an exsisting album
If I try to let Gallery search for images it won't
http://fjellstua.com/tmp/album/ <- That's the path for images i'd like to
have added to gallery...

K

 
kent
kent's picture

Joined: 2002-09-18
Posts: 14
Posted: Wed, 2002-09-18 21:21

Embarresing!
Just chmod'ed the folder where the album is located to 777. It was 755...