[isf-wifidog] setlocale errors; update

Max Horváth max.horvath at maxspot.de
Mer 14 Déc 14:46:32 EST 2005


The second error has been fixed in the current CVS version.

You should be able to get the update in a few hours via the anonymous  
CVS server ...

Cheers, Max!

Am 14.12.2005 um 05:46 schrieb Aaron McCann:

> Aaron McCann wrote:
>
>> Good evening all.  I'm in the process of setting up a new auth  
>> server (Ubuntu 5.10, php 5.0.5, apache 2.0.54, postgres 8.0.3) and  
>> am having some trouble with locales.  The error I'm getting is:
>>
>> "Warning in /classes/Locale.php : Unable to setlocale() to en,  
>> return value: , current locale: CWarning in /classes/Locale.php :  
>> Unable to setlocale() to en, return value: , current locale:  
>> CWarning in /classes/Locale.php : Unable to setlocale() to en,  
>> return value: , current locale: C"
>>
>> Any ideas or troubleshooting steps would be appreciated.  If this  
>> is a distro problem, I'm also open to suggestions for a new one if  
>> it has php5 and pear packages available (so I don't have to build  
>> from source).  Thanks for your time.
>>
>> Aaron
>
>
> Ok.  I've been able to get rid of this error by changing my  
> $AVAIL_LOCALE_ARRAY to the values listed in the new CVS version of  
> the auth server.  I also had to copy all of the locale directory to  
> my installation.  I tried to just use the CVS (instead of  
> 1.0.0_m2), but kept getting new errors:
>
> *Notice*: Use of undefined constant DBMS_POSTGRES - assumed  
> 'DBMS_POSTGRES' in */var/www/config.php* on line *59*
> *Warning*: main(./classes/DBMS_POSTGRES) [function.main <https:// 
> 10.0.0.55/function.main>]: failed to open stream: No such file or  
> directory in */var/www/classes/AbstractDb.php* on line *26*
> *Fatal error*: main() [function.require <https://10.0.0.55/ 
> function.require>]: Failed opening required './classes/ 
> DBMS_POSTGRES' (include_path='.:/usr/share/php:/usr/share/pear') in  
> */var/www/classes/AbstractDb.php* on line *26
>
> *I suppose CVS isn't the way to go then.  Should I keep using the  
> mix of files from 1.0.0_m2 and CVS, or is there a fix for my  
> ignorance with the CVS version?  Thanks.
>
> Aaron
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>



More information about the WiFiDog mailing list