[phpOpenTracker-User] Bug report: search engine plugin
Jean-Christian Imbeault <[email protected]>
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <[email protected]> |
I just installed the search engine plugin and I am getting these errors from PHP: PHP Notice: Undefined index: REMOTE_ADDR in phpOpenTracker/Container.php on line 89 PHP Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in phpOpenTracker/Container.php on line 95 PHP Notice: Undefined index: HTTP_USER_AGENT in phpOpenTracker/Container.php on line 111 PHP Notice: Undefined index: REQUEST_URI in phpOpenTracker/Container.php on line 164 I think a check is needed to make sure that the needed $_SERVER vars are set before trying to use them. It looks like some $_SERVER vars are not always available (bad client/browser?). Thanks, Jean-Christian Imbeault ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01