Re: [mirrors] Status information
| From: | Philip Olson | Date: | Mon, 03 May 2010 05:31:27 +0000 |
| Subject: | Re: [mirrors] Status information | ||
| References: | 1 2 3 4 5 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-38137@lists.php.net to get a copy of this message | ||
On May 2, 2010, at 9:13 PM, Erich Pletsch wrote:
> Phillip,
>
> I was in the middle of writing an email acknowledging the problem with the search and
> explaining that I'd checked everything on the firewall and everything on the firewall appeared
> to be fine dna dthat I could wget the URL from shell that the test script tries to get and that the
> page still was showing no results.
>
> I really didn't do anything, but all of a sudden it's working again.
>
> I am wondering if rsync may have replaced an outdated funciton library on our site or someting
> and that fixed it.
>
> In any case, the search issue seems to have worked itself out.
>
> Please retest our mirror and reinstate if all looks well. Let me know if there are any further
> issues.
Erich,
Perhaps it's a problem more specific to the apache user? At any rate, it's not working.
The code that ends up causing the issue is here:
fetch_contents() : begins at line 177
- http://svn.php.net/viewvc/web/php/trunk/include/site.inc?view=markup
It's currently outputting the following when attempting said search via the us3 mirror (seen
within the html source):
"Unable to find a way to retrieve data with file_get_contents"
I'm unsure what other reasons would cause this, but since random mirrors stumble into this
problem every few months, we need to figure this out once and for all. I forget the specific
solutions in the past, but it seemingly always involved firewalls. And if not in this case, then
I/we will do a deeper code review.
And to further demonstrate the problems existence:
- http://us3.php.net/results.php?q=foo&p=manual&l=en
(broken)
- http://us2.php.net/results.php?q=foo&p=manual&l=en
(works)
Note: The problem involves specific searches (when no local results are found via files/sqlite, and
it then requires access to www.php.net to perform a yahoo search). So, some searches will indeed
work whereas others will not.
Regards,
Philip