From:             georgeforsyth at btopenworld dot com
Operating system: Apache (I think)
PHP version:      5.1.2
PHP Bug Type:     Unknown/Other Function
Bug description:  Search return on my site have three "Notice: Undefined index: 
host in" errors

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 bug report at http://bugs.php.net/?id=36766&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36766&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36766&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36766&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36766&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36766&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36766&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36766&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36766&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36766&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36766&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36766&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36766&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36766&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36766&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36766&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36766&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36766&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36766&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36766&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36766&r=mysqlcfg

Reply via email to