#36766 [Opn->Bgs]: Search return on my site have three "Notice: Undefined index: host in" errors
ID: 36766
Updated by: pajoye@php.net
Reported By: georgeforsyth at btopenworld dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Apache (I think)
PHP Version: 5.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-03-17 00:48:00] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36766&edit=1
Thread (2 messages)