#24303 [NEW]: Google search not functioning correctly - search parameters in wrong order
| From: | vlanard at cal dot berkeley dot edu | Date: | Mon, 23 Jun 2003 22:34:13 +0000 |
| Subject: | #24303 [NEW]: Google search not functioning correctly - search parameters in wrong order | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18904@lists.php.net to get a copy of this message | ||
From: vlanard at cal dot berkeley dot edu
Operating system: Windows 2000
PHP version: 4.3.1
PHP Bug Type: Website problem
Bug description: Google search not functioning correctly - search parameters in wrong order
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 bug report at http://bugs.php.net/?id=24303&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24303&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24303&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24303&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24303&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24303&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24303&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24303&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24303&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24303&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24303&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24303&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24303&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24303&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24303&r=gnused