#42205 [Opn->Csd]: Searching for $* in "All php.net sites" results in error dump
| From: | steffann@php.net | Date: | Sat, 04 Aug 2007 11:34:24 +0000 |
| Subject: | #42205 [Opn->Csd]: Searching for $* in "All php.net sites" results in error dump | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-36112@lists.php.net to get a copy of this message | ||
ID: 42205
Updated by: steffann@php.net
Reported By: info at scygen dot com
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
The server that the www.nederland.net mirror (a.k.a. nl3.php.net) is
running on blocks outgoing http requests from apache by default. This is
to prevent script-include abuse. I have enabled http access to
www.php.net from apache, so now searching all PHP.net sites works again
as expected.
Thank you for reporting this!
Sander Steffann
Previous Comments:
------------------------------------------------------------------------
[2007-08-04 09:49:35] info at scygen dot com
Actually, I just found out that a search for ANYTHING results in this
error being generated using "All php.net sites".
By the way, I'm using the www.nederland.net mirror.
------------------------------------------------------------------------
[2007-08-04 09:42:25] info at scygen dot com
Description:
------------
A search for the simple query "$*" (without the quotation marks, and
the wildcard being any string) in "All php.net sites" at the top of the
page results in a php error dump in results.php and a header error in
layout.inc (probably because results.php already error dumped onto the
screen).
Reproduce code:
---------------
Search for any string that starts with a dollar sign in the search box
and set the realm to "all php.net sites".
Expected result:
----------------
A results page with all matches on the subject
Actual result:
--------------
Warning:
file_get_contents(http://www.php.net/ws.php?profile=all&q=%24any〈=en&results=10&start=1&mirror=nl3.php.net):
failed to open stream: Connection refused in
/var/www/mirror/domeinen/nl3.php.net/website/results.php on line 32
Warning: Cannot modify header information - headers already sent by
(output started at
/var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in
/var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line
81
Warning: Cannot modify header information - headers already sent by
(output started at
/var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in
/var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line
82
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42205&edit=1