FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » hmm... some locale problems...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: hmm... some locale problems... [message #3017 is a reply to message #3011] Fri, 07 June 2002 14:03 Go to previous messageGo to previous message
tufan is currently offline  tufan   Turkey
Messages: 70
Registered: June 2002
Karma:
Member
My versions: php 4.2.1/apache 1.3.24

the same thing happens with php 4.0.6 and apache 1.3.22.

it's strange, because when I

define ('__REQUEST_TIMESTAMP__', time());

just before its use for the database, e.g. (for index.php) just before the line:

Q("UPDATE fud2_ses SET time_sec=".__REQUEST_TIMESTAMP__.", action=".STRNULL(addslashes($this->action))." WHERE id=".
$this->id);

index page displays correctly, and dates are displayed in turkish locale. Everything is ok!

There is no such problem with pl_PL or de_DE locales... I changed the core.inc directly to these locales modifying the setlocale line, and there was no problem:
All pages are in turkish, and all dates are in polish or german locale Smile I wonder if any other locale causes such a problem...
I tried a few locales defined in my system: polish, thai, japanese, german, es_US and a few others, there seems no such problem.... Sad

(Admin page cannot be used either, so you cannot change the setting back to english using the administration page, you have to edit GLOBALS.php and change LOCALE to something safe, such as english)

I still haven't understood what's going on...


http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: selecting user adds semicolon in PM
Next Topic: boardusage.hlp is broken: missing paragraph
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 14:25:23 GMT 2024

Total time taken to generate the page: 0.04762 seconds