Bug #62531 [Ver]: www.php.net page just loads "1"
| From: | bjori@php.net | Date: | Wed, 11 Jul 2012 17:45:49 +0000 |
| Subject: | Bug #62531 [Ver]: www.php.net page just loads "1" | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-13906@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62531&edit=1
ID: 62531
Updated by: bjori@php.net
Reported by: ashnazg@php.net
Summary: www.php.net page just loads "1"
Status: Verified
Type: Bug
Package: Website problem
Operating System: Windows7 64bit
PHP Version: Irrelevant
-Assigned To:
+Assigned To: levim
Block user comment: N
Private report: N
New Comment:
Blah. __DIR__ is available as of 5.3, not PHP 5.2.
Previous Comments:
------------------------------------------------------------------------
[2012-07-11 17:40:04] bjori@php.net
http://us2.php.net/?beta=1
us2 is having a weird problem too.
------------------------------------------------------------------------
[2012-07-11 17:37:51] levim@php.net
Unfortunately it was probably me. Do we have a way to debug this properly? I
mean, can I get access to the logs somehow?
------------------------------------------------------------------------
[2012-07-11 17:35:57] bjori@php.net
Interesting.
Looks like someone added a function only available in PHP5.3 or something along
that way..
------------------------------------------------------------------------
[2012-07-11 13:29:19] ashnazg@php.net
Description:
------------
When attempting to hit http://www.php.net, with my my.php.net
preferences set to "Enable" the "PHP.net alpha", I get an empty page. View
Source of the page shows a single character, "1". I can hit the www.php.net IP directly
just fine (69.147.83.197), but that does not use the php.net alpha, so these conditions make me
think something might be up with the Mirror Site Redirection, which I have set to
"automatic". I'm in the US (Alabama), though my stunnel ends on bluga.net
(65.49.79.68), which itself might be outside the US, in case that affects where my origination IP
appears to be from the mirror selector's perspective. I can also hit us.php.net just fine, and
it correctly shows the php.net alpha page... I assume this skips the mirror redirection piece.
I'm using Firefox 14.0 on Windows7 64bit. I can reproduce this empty page behavior
consistently... I actually first noticed it a couple of weeks ago, but assumed some code changes
were in flux (since it's alpha) and therefore didn't report it then. Given that the
returned HTML string is just a "1", I'm wondering if some conditional in the mirror
redirection is returning a TRUE and that is going to the browser accidentally, stopping the
redirection before it happens.
Test script:
---------------
With my.php.net's "php.net alpha" set to Enabled, hit http://www.php.net.
Expected result:
----------------
The alpha php.net homepage appears.
Actual result:
--------------
An empty page appears, whose HTML source code is just a one character string of a literal
"1".
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62531&edit=1