[ic] Sorry but still problems with rounding

Mike Heins interchange-users@icdevgroup.org
Thu Oct 17 21:10:03 2002


Quoting Saso (saso@volja.net):
> >
> > Could you send your locale-settings from you catalog.cfg? That would help
> > some in tracking down your problem.
> >
> > Did you also check your catalogs error.log?
> >
> > Rene
> >
> 
> Ok first the error.log:
> 
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:42:54 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Successful login by user 'zobek'
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:42:54 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Successful login by user 'zobek'
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:43:20 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Attempted database operation without
> table, fields, or key.
> > Table: ''
> > Fields:''
> > Key:   ''
> >
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:46:42 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Saving userdb in mv_check.
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:46:51 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Saving userdb in mv_check.
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:47:28 -0400] zobek
> 
> 
> Think nothing serious on this issue here...
> 
> Now the locale settings in catalog.cfg:
> 
> #==========================================================================#
> 
> # Last locale specified is the default.
> # Locale          en_US LC_CTYPE C
> LocaleDatabase  locale

Fine up to here....

> Locale sl_SI

There is your problem. Don't do that. Do 

Locale sl_SI default 1

instead.

When you do a Locale sl_SI it will do a setlocale for everything, and
then all of your numbers need to be in that locale.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
 -- Winston Churchill