#24303 [Opn->Bgs]: Google search not functioning correctly - search parameters in wrong order
| From: | alindeman@php.net | Date: | Mon, 23 Jun 2003 22:45:31 +0000 |
| Subject: | #24303 [Opn->Bgs]: Google search not functioning correctly - search parameters in wrong order | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-18905@lists.php.net to get a copy of this message | ||
ID: 24303
Updated by: alindeman@php.net
Reported By: vlanard at cal dot berkeley dot edu
-Status: Open
+Status: Bogus
Bug Type: Website problem
Operating System: Windows 2000
PHP Version: 4.3.1
New Comment:
Umm, the arguments are in fact in the correct order and the search
works as expected. I went through the exact steps you posted and
everything works as expected. Re-open if you can provide steps that
actually represent a problem...
Previous Comments:
------------------------------------------------------------------------
[2003-06-23 17:34:13] vlanard at cal dot berkeley dot edu
Description:
------------
The search parameters being sent to the Google website from your inline
search (across whole site/online documentation, etc.) are passed in the
wrong order. As a result, any Google search results found do not link
users into the PHP.net website when clicked, but rather resubmit
another search to Google. It's like an infinite loop of Google
searches. Simply reordering the Google parameters solves the problem.
The parameters currently being passed to Google with a sample query of
"control" are:
control site:www.php.net
The correctly ordered parameters should be:
site:www.php.net control
"site:" apparently needs to be the first argument.
Reproduce code:
---------------
1. Go to http://www.php.net/manual-lookup.php
2. Enter search for term "control" in "online documentation [en]" and
click the arrow to submit the search.
3. Note that you get a Google page of results.
4. Click on any of the Google results and note that it just submits
another Google search rather than linking you back to the PHP.net
website.
5. Change order of Google search parameters so that site:www.php.net is
the first argument, and resubmit. Note that it now works correctly.
Expected result:
----------------
Google links should bring user into the PHP.net site.
Actual result:
--------------
Google links just submit another Google search.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24303&edit=1