This seems to appear without me changing anything; previously it was working fine, the code is an inc file which I submitted not long ago

# warning: simplexml_load_file(http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Madonna&api_key=b25b959554ed76058ac220b7b2e0a026) [function.simplexml-load-file]: failed to open stream: HTTP request failed! in ...sites\all\modules\createfromweb\operator_lastfm.inc on line 15.
# warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Madonna&api_key=b25b959554ed76058ac220b7b2e0a026" in ...sites\all\modules\createfromweb\operator_lastfm.inc on line 15.

Any ideas? Can't extract from Wikipedia as much the same error codes appear...

Comments

brevity’s picture

sounds like a network or web service problem to me -- maybe there were too many requests using this api-key? can you try a new one?

the same could be true for the wikipedia service which uses the google api -- without key though, which might the be problem here -- adding a google api key to the wikipedia service should fix that http://code.google.com/apis/ajaxsearch/key.html

B747’s picture

I don't think so - I can view the file in my browser and I changed the api key to a new one and still no luck. Pasting this

$url = "http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Madonna&api_key=65c737cdc0ce29409253f8a8f04f9a50";

	$xml = (simplexml_load_file($url))
		 or drupal_set_message ("isbndb: no file loaded",error);

	
	#print_r($results); die();
	return $xml;

into devel's php execute produces similar errors. Any further thoughts?