php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62531 www.php.net page just loads "1"
Submitted: 2012-07-11 13:29 UTC Modified: 2012-07-11 17:50 UTC
From: ashnazg@php.net Assigned: levim (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Windows7 64bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ashnazg@php.net
New email:
PHP Version: OS:

 

 [2012-07-11 13:29 UTC] 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".

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-11 17:35 UTC] bjori@php.net
Interesting.

Looks like someone added a function only available in PHP5.3 or something along 
that way..
 [2012-07-11 17:35 UTC] bjori@php.net
-Status: Open +Status: Verified
 [2012-07-11 17:37 UTC] 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:40 UTC] bjori@php.net
http://us2.php.net/?beta=1

us2 is having a weird problem too.
 [2012-07-11 17:45 UTC] bjori@php.net
Blah. __DIR__ is available as of 5.3, not PHP 5.2.
 [2012-07-11 17:45 UTC] bjori@php.net
-Assigned To: +Assigned To: levim
 [2012-07-11 17:50 UTC] levim@php.net
-Status: Verified +Status: Closed
 [2012-07-11 17:50 UTC] levim@php.net
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC