zendframework / ZendService_Flickr

BSD 3-Clause "New" or "Revised" License
2 stars 8 forks source link

Unable to connect to :80 #3

Open titomiguelcosta opened 11 years ago

titomiguelcosta commented 11 years ago

Hi, I'm using Zend Flickr Service in my Silex project, and only managed to get it working prefixing all the requests with the address http://api.flickr.com/ in all the method calls of the Flickr class.

For instance, in the tagSearch method, in Flickr.php file, line 111:

$request->setUri('/services/rest/');

$request->setUri('http://api.flickr.com/services/rest/');

Othewise, I would get the error:

RuntimeException: Unable to connect to :80 . Error #0: stream_socket_client(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: No address associated with hostname)

bmeynell commented 11 years ago

Experiencing the same thing with the SlideShare component.

@titomiguelcosta - Did you resolve this?