#48497 [Ver]: handling mirrors that do not support external searches
| From: | bjori@php.net | Date: | Mon, 22 Jun 2009 22:05:35 +0000 |
| Subject: | #48497 [Ver]: handling mirrors that do not support external searches | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-5122@lists.php.net to get a copy of this message | ||
ID: 48497
Updated by: bjori@php.net
Reported By: pgl at yoyo dot org
Status: Verified
Bug Type: Website problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
You can pick your preferred mirror on http://php.net/my.php to
make
php.net/<search> work for you again.
Previous Comments:
------------------------------------------------------------------------
[2009-06-22 21:23:03] pgl at yoyo dot org
Could this mirror at least be removed from the list until they've fixed
the issues? I might be in a minority here, but searching using the
familiar php.net/<term> is failing one in three time. This isn't the
default behaviour -- I've configured my.php.net to search the online
documentation rather than the function list by default -- but still..?
------------------------------------------------------------------------
[2009-06-14 17:15:19] philip@php.net
The provided error for uk3 is:
- "Unable to find a way to retrieve data with file_get_contents"
Which results from code here:
- http://cvs.php.net/viewvc.cgi/phpweb/include/site.inc?view=markup
Which typically means the server does not allow external connections,
which the search (it uses Yahoo) requires. This may result from
firewall issues.
This bug was almost fixed once (see bug #46423) but not really, likely
due to how we handle time outs (we give them an automatic pass). Code:
- http://cvs.php.net/viewvc.cgi/php-master-web/scripts/mirror-test
Possible solutions:
- Rewrite fetch_contents() to better handle this, and provide nice
errors (or instead automagically use www.php.net or another mirror)
- Fix the mirror-test to work (as per bug #46423)
- Rethink how we handle time outs in mirror-test
- ...
------------------------------------------------------------------------
[2009-06-08 16:31:04] pgl at yoyo dot org
Description:
------------
When doing a search on uk3.php.net:
- http://uk3.php.net/results.php?q=getglobal&p=manual&l=en
The following is displayed:
"Internal error
This mirror does not support searches, please report this error to our
webmasters"
Reproduce code:
---------------
<?
echo
file_get_contents('http://uk3.php.net/results.php?q=getglobal&p=manual&l=en');
?>
Expected result:
----------------
A search result.
Actual result:
--------------
Internal error
This mirror does not support searches, please report this error to our
webmasters
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48497&edit=1