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?
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)
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 .
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