#42983 [Fbk->Opn]: Regression: global variables get lost
| From: | marc dot bau at gmx dot net | Date: | Tue, 16 Oct 2007 06:26:45 +0000 |
| Subject: | #42983 [Fbk->Opn]: Regression: global variables get lost | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118580@lists.php.net to get a copy of this message | ||
ID: 42983
User updated by: marc dot bau at gmx dot net
-Summary: global variables get lost
Reported By: marc dot bau at gmx dot net
-Status: Feedback
+Status: Open
Bug Type: Variables related
Operating System: WinXP & openSUSE 10.3
PHP Version: 5.2.4
New Comment:
i have no idea what you need.
Install http://www.yaml-fuer-drupal.de/de/download
(yaml-for-drupal-5.x-3.0.3.7.tar.gz). Unpack and start install
./install.php, select YAML as Install profile and German as your
language. Try to stracktrace why $install_locale in
\profiles\yaml\yaml.profile gives nothing back.
global $install_locale;
if ($install_locale == 'de') {
or inside the _autolocale_install_po_files() function file
"sites\all\modules\autolocale\autolocale.install" the $install_locale is
no more filled with "de", too.
I have no idea how to repro this, but this code works with <=5.2.3 and
is broken with 5.2.4. If you don't like to repro try to look the PHP
source and find out what's wrong here... shouldn't be impossible to
find, while we know this is a regression introduced with 5.2.4
Previous Comments:
------------------------------------------------------------------------
[2007-10-15 22:11:02] johannes@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2007-10-15 21:49:33] marc dot bau at gmx dot net
Description:
------------
Hi
i think i've struggled about a critical bug in 5.2.4 on Windows XP IIS
with ISAPI and openSUSE 10.3 with Apache 2.2.4. The "global" variables
looks simply lost. I've tried to install a
multilingual version of Drupal 5.2 and as i figured out the "global
$install_locale;" variable gets lost anywhere...
I have downgraded to PHP 5.2.1 re-testet (works) and upgraded back to
PHP 5.2.3 works, too.
Greetings
Marc
Reproduce code:
---------------
Install Drupal 5.2 with YAML for Drupal Complete package and you will
see the global var gets lost and drupal is not installed in a selected
language as it should.
I'm sorry i have no small and easy repro code...
Expected result:
----------------
not lost global variables
Actual result:
--------------
PHP 5.2.3 and 5.2.1 works well, 5.2.4 is broken
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42983&edit=1