I checked the other posts and I do have allow_url_fopen set to On in php.ini. Everything was working fine until today I discovered images for books wouldn't load and this error:

warning: getimagesize(http://covers.openlibrary.org/b/olid/OL7392952M-M.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /Applications/MAMP/htdocs/sites/all/modules/bookpost/bookpost.module on line 178.

Only changes to the site that have happened recently is upgrade to drupal 6.20.

Comments

rubinsztajn’s picture

Component: Miscellaneous » User interface
Assigned: Unassigned » rubinsztajn
Category: support » bug

I've noticed that the Open Library covers API is not always available. When it's down, it returns a HTTP 500 error, which is choking the module. Ideally, the module would have more graceful handling of errors caused by the Open Library's unreliability.

Are you still having this problem or has it been resolved now that OL covers are now available?

jimdemon’s picture

Yes, it is working now.