getaddrinfo failed

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Visitors to my site have been getting a random error. It's been
happening more and more frequently lately.
Warning: Unknown(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in /home/httpd/vhosts/ :
eval()'d code on line 16

It seems I get this error from a line like:
require(" ");

I did a search but nothing helpful has come up. Anyone know what could
be causing this?


Re: getaddrinfo failed

Steve wrote:
Quoted text here. Click to load it

This is one of the reason's why you shouldn't use eval, it makes debugging
very difficult.

Is there a particular reason that you are using it?

Anyway, the error probably originates from a call to fopen or fsockopen to a
host which doesn't respond.


Re: getaddrinfo failed

Thanks for the response.

The eval line is part of my forum script... it calls on a file that
allows me to run my own PHP script on each page. The file is located
on the same host.

On Sun, 11 Jul 2004 16:17:53 +0200, "Janwillem Borleffs"

Quoted text here. Click to load it

Site Timeline