php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36766 Search return on my site have three "Notice: Undefined index: host in" errors
Submitted: 2006-03-17 00:48 UTC Modified: 2006-03-17 02:09 UTC
From: georgeforsyth at btopenworld dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.2 OS: Apache (I think)
Private report: No CVE-ID: None
 [2006-03-17 00:48 UTC] georgeforsyth at btopenworld dot com
Description:
------------
his maynot be version 5.1.2 - How do I check?


The errors are in the format

Notice: Undefined index: host in MetaSearchResults.php on line 94

Notice: Undefined index: host in MetaSearchResults.php on line 95

Notice: Undefined index: host in MetaSearchResults.php on line 118

Reproduce code:
---------------
'Line 94' $dat['host_ip'] = $this->DNScache->get_ip($dat['host']);
'Line 95'        $host_port = $dat['host'];
'Line118'     $this->hosts_ips_to_update[$dat['host']] = 1;

Expected result:
----------------
The search results are correct but the error is still reported.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-17 02:09 UTC] pajoye@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 16:01:31 2024 UTC