Talk:Gallery2:FAQ - Gallery Codex
Personal tools


From Gallery Codex

How can I move my gallery installation from one server to another?

9. Don't copy the config.php from the old host to the new host unless you're willing to hand edit it. It's easier to just run the installer; browse to newhost/gallery/install/. Make sure you choose "reuse existing database tables" in the database step. Point the installer in the appropriate step to the g2data folder (which is now not empty). And finish the installer. If you choose to copy the config.php instead of running the installer you have to manually change:

Does step 9 imply that you also ftp the entire gallery directory over the new installation?

Step 7 explains that. Either copy the gallery folder or use the and extract it to the new host. --Valiant 15:09, 25 October 2006 (PDT)

1.4 says "You may delete the g2data/locks directory if you want." This may be true, however upon moving the data to a new server, if no g2data/locks directory is present, gallery will not create one and will not run. The solution is to create an empty g2data/locks directory on the new server. I'd recommend changing the FAQ to either suggest that workaround or not suggest deleting g2data/locks. Varrin (talk) 16:59, 8 January 2014 (PST)

How do I report a bug?

There is no reference to a bug tracker on the main site, the forum, etc. -- Sy / (talk) 05:25, 24 August 2006 (PDT)

The bug: Name an album "sponsors" and no highlight photo will appear (removing the ability to click on that album to enter it). This issue is case-insensitive.
This is the wrong place to report bugs. Click Support -> scroll down --Valiant 09:46, 2 December 2006 (PST)

Regarding 4.5 I changed the language but nothing happens, what's wrong?

If the webserver is configured to call php with a cgi script and you can modify this script, then you can build your own "locale" (at least in my case on debian sarge). You need some files:

 * de_DE ISO-8859-1 translit_cjk_variants translit_font translit_narrow translit_wide i18n locale translit_circle translit_combining translit_fraction translit_neutral iso14651_t1 stable translit_cjk_compat translit_compat translit_hangul translit_small

from the locales package (locales_2.3.2.ds1-22sarge4_all.deb in my case). The next is easiest done with a shell acount, but works also in a little .cgi shell script (probably you need some redirects (> x 2>&1) to capture stderr to a file):

 * (put the files in /some/directory)
 * cd /some/directory
 * mkdir locale (in the directory you put the files
 * localedef -f ISO-8859-1 -i de_DE locale/de_DE

Then the php executable needs an environment LOCPATH=/some/directory/locale .

problem uploading immages

when I try to upload an immage a message of error tell me that It is impossible to create the miniature.

can you help me to fix this error