ID:               21965
 Comment by:       timo dot hummel at 4fb dot de
 Reported By:      thorsten dot kussler at communardo dot de
 Status:           No Feedback
 Bug Type:         Gettext related
 Operating System: Solaris
 PHP Version:      4.2.3
 New Comment:

I can confirm this. This bug especially occurs when the following
conditions are met:



- Multiple domains

- Switching forth and back between different languages



I reproduced this on a RedHat 9 system, with the following results:



After a certain period of time, the strings for any second textdomain
are switching between the translated and untranslated string; seems
like it's because the different HTTP server processes. After restarting
the web server, the problems can't be reproduced, or when the path is
being changed.



Does the PHP gettext implementation cache the results after getting the
gettext string from the gettext library?



That would explain the troubles.


Previous Comments:
------------------------------------------------------------------------

[2003-07-20 10:40:41] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-07-15 02:21:18] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And if it still happens, provide a short test script.



------------------------------------------------------------------------

[2003-07-15 02:19:18] thorsten dot kussler at communardo dot de

The configure line was:

'./configure' '--with-oci8=/home/oracle/product/8.1.7'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-gettext=/usr/local'
'--with-ldap=/usr'



and a second version directly compiled with Apache (--with-Apache)

------------------------------------------------------------------------

[2003-07-12 23:37:49] [EMAIL PROTECTED]

I bet this happens with later PHP versions, like 4.3.2 too?

What is the full configure line you have used to configure PHP ??



------------------------------------------------------------------------

[2003-01-30 12:20:35] thorsten dot kussler at communardo dot de

I thought that it might be a problem. PHP is compiled --width-apache
and not as an CGI. 

BUT:

I set explicitly the LC_MESAGES var infront of each call of gettext
because of that. 

The behavior is the same if i'm the only user on the server.

How is that behavior explicable with thread conflicts ???



I have no idea



>iliaa

have you any other experiences with that phenomena or examples of
problematic system configurations?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21965

-- 
Edit this bug report at http://bugs.php.net/?id=21965&edit=1

Reply via email to