Error at configuring: Error: Missing value: locale_alias

GAEvakYD

Joined: 2003-12-16
Posts: 4
Posted: Tue, 2003-12-16 21:48

Hi there,

I've been using gallery for a couple of months. All the time it works great but now i've to add some new albums. So i want to login but i lost my password. I thought i reconfgure gallery and set a new password. But at that step gallery trow me a few errors. Can anyone say me how to solve?

Error: Missing value: locale_alias[en_US]!
Error: Missing value: locale_alias[zh_CN]!
Error: Missing value: locale_alias[zh_TW]!
Error: Missing value: locale_alias[cs_CZ]!
Error: Missing value: locale_alias[da_DK]!
Error: Missing value: locale_alias[de_DE]!
Error: Missing value: locale_alias[en_GB]!
Error: Missing value: locale_alias[es_ES]!
Error: Missing value: locale_alias[fr_FR]!
Error: Missing value: locale_alias[it_IT]!
Error: Missing value: locale_alias[is_IS]!
Error: Missing value: locale_alias[ja_JP]!
Error: Missing value: locale_alias[lt_LT]!
Error: Missing value: locale_alias[nl_NL]!
Error: Missing value: locale_alias[no_NO]!
Error: Missing value: locale_alias[pl_PL]!
Error: Missing value: locale_alias[pt_PT]!
Error: Missing value: locale_alias[ru_RU]!
Error: Missing value: locale_alias[ru_RU.koi8r]!
Error: Missing value: locale_alias[sl_SI]!
Error: Missing value: locale_alias[fi_FI]!
Error: Missing value: locale_alias[sv_SE]!
Error: Missing value: locale_alias[tr_TR]!
Error: Missing value: locale_alias[uk_UA]!
Error: Missing value: locale_alias[he_IL]!

Gallery URL : ordelman.org/gallery
Gallery version : v1.4-pl1
Apache version : Apache/1.3.29 (Unix)
PHP version : 4.3.4
Graphics Toolkit: : Image Magic
Operating system: serves on FreeBSD. Clients mostly Ms Windows
Web browser/version (if applicable): Mozilla and Unix

 
GAEvakYD

Joined: 2003-12-16
Posts: 4
Posted: Thu, 2003-12-18 10:30

hmmm still no answers.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2003-12-18 12:25

Moving to Translations.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2003-12-18 14:53

This Problem was fixed in 1.4.1

Jens

 
marshlander

Joined: 2004-01-03
Posts: 1
Posted: Sat, 2004-01-03 21:07

While in the first page of Gallery Setup/Config ...

Make sure that the ALBUMS directory path:

/path/to/albums

is correct.

***

For example,

/usr/home/username/public_html/albums

and NOT,

/usr/home/username/albums

***

Hope this helps!

 
GAEvakYD

Joined: 2003-12-16
Posts: 4
Posted: Tue, 2004-01-13 22:09

Dit is niet opgelost in 1.4.1. Het path naar de albums etc wel allemaal goed staan. Nu heb ik alleen nog maar 1 error, namelijk

Error: Missing value: locale_alias[bg_BG]!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2004-01-13 23:29

Hi GAEvakYD,

did you made an upgrade, or an fresh installation ?

Jens

 
GAEvakYD

Joined: 2003-12-16
Posts: 4
Posted: Mon, 2004-02-02 20:22
Tim_j wrote:
Hi GAEvakYD,

did you made an upgrade, or an fresh installation ?

Jens

TODO i did a fresh installation of the newest version. Ik used the portupgrade
to install the new version.
This are the errors i get this time

Error Missing value locale_alias[bg_BG]!

Error Missing value locale_alias[cs_CZ.cp1250]!

Error Missing value locale_alias[hu_HU]!

Error Missing value locale_alias[lt_LT]!

Error Missing value locale_alias[pl_PL]!

Error Missing value locale_alias[sl_SI]!

Error Missing value locale_alias[tr_TR]!
 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2004-02-03 10:54

Hi,

if you are using 1.4.1 and this is still appearing, then you must have:

- magic quotes On in your php.ini
and
- your .htaccess files are ignored
or
- your .htaccess files are missing

I knew about this since a few days and i am working on a fix.

A quick and dirty (!) fix is this:
open setup/functions.inc. Find

if (sizeof($aliases) == 1) {
                        $results["locale_alias['$key']"] = array (
                                "type" => "hidden",
                                "value" => array_pop($aliases),
                                "desc" => "locale_alias[$key]",
                                "prompt" => "locale_alias[$key]"
                                );
                        continue;
                }

Change to

if (sizeof($aliases) == 1) {
                        $results["locale_alias['$key']"] = array (
                                "type" => "hidden",
                                "value" => array_pop($aliases),
                                "desc" => "locale_alias[$key]",
                                "prompt" => "locale_alias[$key]",
                                "remove_empty" => true
                                );
                        continue;
                }

Jens