create album and change language problem

davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Tue, 2007-05-15 08:44

=======================
1st problem-

When i wanna create new album, it show me this msg:

Attention Gallery Administrator!
Gallery has detected the following 1 invalid album(s) in your albums directory
(/home/.../www/html/album):

album01

Please move it/them out of the albums directory.
----------
i set the album folder chmod to 777 already.

========================

2nd problem-

i read installation guide, and upload Language Packs(zh-HK) to my server, but i don't know how to change the setting in configuration wizard.

========================

Tks a lot ^^

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-05-15 16:05

Hello,

1.) Do you know how this album01 folder get into your gallery albums dir?

2.) When you say "upload language pack to your server" what EXACTLY did you do?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Tue, 2007-05-15 18:31

1)I login gallery and click " new album", then it show this msg to me.
2)I upload the files to the folder--> locale, after that, i don't know what i should do.

David

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Tue, 2007-05-15 18:38

when i click "New Album",
it turn to a page and said "Error: Could not open lock file (/home/virtual/site153/fst/var/www/html/album/album02/photos.dat.lock) for writing! "

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-05-15 23:18

Hi,

the first thing is a permission issue. You need to chmod your albums folder 777 and delete those orphaned albums manually, or via the find orphans tool from the admin area.

files?
you should have a folder after you unpacked the archive.
This folder must be putted into the locale folder of your Gallery.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Wed, 2007-05-16 04:06

hello,

do u mean, if it creates a new album, i should chmod the album folder 777 manually?

Yes, i upload this folder to locale folder already, then i don't know what to do.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-05-16 06:40

no,

the albums folder (the folder that contains all the gallery albums) needs to be chmodded to 777. Then all should be fine.
(the orphaned albums still need to be removed manually)

If you really did that, then the new languge appears in the config wizard.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Thu, 2007-05-17 08:58

Yes, i chmodded it to 777, but it still show this error, "Error: Could not open lock file (/home/virtual/site153/fst/var/www/html/album/album02/photos.dat.lock) for writing!"

I wanna know new languge appears in which part of config wizard?

thank you so much, you answer my question patiently^^

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-05-17 16:25

Well, obviously it didnt work.
Did you do it recursive?

Step2 languages/locales

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Thu, 2007-05-17 18:08

what u mean,recursive?

I don't know how change it, i wanna change it to HK and can u teach me?

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Thu, 2007-05-17 18:53

i use gallery1.5.6 and netpbm, do i need to install other Gallery features?

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Fri, 2007-05-18 03:23

and i checked albumdb.dat, albumdb.dat.bak and albumdb.dat.lock that be chmodded 644 in album folder, are they alright?

 
davidmwt

Joined: 2007-05-14
Posts: 11
Posted: Tue, 2007-05-22 05:43

thank you, i solve my problem.^^