egroupware - bład przy instalacji języka.ów

Michał Panasiewicz wolvverine w tarchomin.pl
Nie, 18 Wrz 2005, 22:30:37 CEST


Dnia 16-09-2005, pią o godzinie 17:21 +0200, Michał Panasiewicz
napisał(a):
> Dnia 16-09-2005, pią o godzinie 05:14 +0200, Michał Panasiewicz
> napisał(a):
> > Error inserting record: phpgw_lang values ('%1 records
> > imported','addressbook','pl','Zaimportowano %1 rekordów')
> > Error inserting record: phpgw_lang values ('%1 records read (not yet
> > imported, you may go %2back%3 and uncheck test
> > import)','addressbook','pl','Wczytano %1 rekordów (ale jeszcze nie
> > zaimportowano, możesz %2wrócić%3 i skasować zaznaczenie próbnego
> > importu)')
> > Error inserting record: phpgw_lang values ('(e.g.
> > 1969)','addressbook','pl','(np. 1969)')
> > Error inserting record: phpgw_lang values ('no conversion type <none>
> > could be located. please choose a conversion type from the
> > list','addressbook','pl','Nie wybrano trybu konwersji typu <żaden>.
> > Proszę wybrać typ trybu konwersji z listy')
> > Error inserting record: phpgw_lang values ('no conversion type  could be
> > located. please choose a conversion type from the
> > list','addressbook','pl','typ konwersji  nie zosta znaleziony. Prosz
> > wybra typ konwersji z listy')
> > itd
> > itd.
> > ...
> > 
> Warning: Cannot modify header information - headers already sent by
> (output started
> at /usr/share/egroupware/phpgwapi/inc/class.translation_sql.inc.php:498)
> in /usr/share/egroupware/setup/lang.php on line 39
> 
> przy ustawieniach 
> 
> Current system-charset is not set*, click here to change it.*
> Warning: reset() [function.reset]: Passed variable is not an array or
> object in /usr/share/egroupware/setup/system_charset.php on line 165
> 
> Warning: Variable passed to each() is not an array or object
> in /usr/share/egroupware/setup/system_charset.php on line 166
> 
> Warning: reset() [function.reset]: Passed variable is not an array or
> object in /usr/share/egroupware/setup/system_charset.php on line 185
> 
> Warning: Variable passed to each() is not an array or object
> in /usr/share/egroupware/setup/system_charset.php on line 186
> 
> 
>                                     
> Current system-charset*   
> Charset to convert to*  utf-8
> 
> jest pusty charset aktualny
> [root w serwer /]# locale
> LANG=pl_PL
> LC_CTYPE="pl_PL"
> LC_NUMERIC="pl_PL"
> LC_TIME="pl_PL"
> LC_COLLATE="pl_PL"
> LC_MONETARY="pl_PL"
> LC_MESSAGES="pl_PL"
> LC_PAPER="pl_PL"
> LC_NAME="pl_PL"
> LC_ADDRESS="pl_PL"
> LC_TELEPHONE="pl_PL"
> LC_MEASUREMENT="pl_PL"
> LC_IDENTIFICATION="pl_PL"
> LC_ALL=
> 
> > ktos moze wie o co biega???
> 

przyczyna tkwi w ustawionym kodowaniu bazy w postgresql
a mianowicie jesli baza jest w UNICODE (UTF-8) przy przenoszeniu
polskich tłumaczeń do bazy wyrzuca błedy powyzsze

trzeba by chyba
primo - wpierw dokonać konwersji na UTF-8 z ISO-8859-2 (bo chyba
tłumaczenia są w nim)


-- 
Michał Panasiewicz
jabber: wolvverine [ at ] chrome [ dot ] pl 
e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org
Potrzebujesz Informatyka/Administratora (Warszawa) -skontaktuj sie ze mną




Więcej informacji o liście dyskusyjnej pld-users-pl