Page 1 of 1

Error getimagesize(): php_network_getaddresses:

Posted: Fri Nov 04, 2005 3:42 am
by wizzard81
Hello,

I'm having an error and don't know what it is:

Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/choeve/domains/canadahoeve.be/public_html/cmsadmin/album_fotostoevoegen.php on line 50

Warning: getimagesize(/images/fotogalerij/1s.jpg): failed to open stream: No such file or directory in /home/choeve/domains/canadahoeve.be/public_html/cmsadmin/album_fotostoevoegen.php on line 50

I made a little image gallery script and i have this problem. A friend of me tried on his host and it works.

Can someone helps me?

Posted: Fri Nov 04, 2005 8:47 am
by feyd
it thinks you are trying to open a remote file, it appears.

/images/whatever is a root level folder, and likely doesn't exist. I would guess you are trying to access a document root level folder, in which case you should use $_SERVER['DOCUMENT_ROOT'] or relative mapping to the location..