I'm getting the following error on some of pages of the demo site that I installed using Open Public:

Notice: getimagesize() [function.getimagesize]: Read error! in image_gd_get_info()(line 349 of [local path]\openpublic-7.x-1.0-beta13\modules\system\image.gd.inc).

Error occurs on initial viewing of erroring page. The error goes away if I make and save a small edit to the page.

Comments

son123’s picture

I am getting the same errors. Did you find a solution or cause?

son123’s picture

Not sure if this is a work around or fix or as this is my first Drupal install a thing i should have done anyway. But setting a base_url in settings.php seemed to clear my issue and others I was seeing. Hope this helps.

jackhutton’s picture

trying to address this as well.. the latest version april 9 2013 ( 7.x-1.0-beta17 ) still generates this error -

jackhutton’s picture

Notice: getimagesize() [function.getimagesize]: Read error! in image_gd_get_info() (line 349 modules/system/image.gd.inc). error msg.

And this pertains to the 'media room' and video.. ?
I had this error previously pertaining to the 'GD library'
http://drupal.org/node/134331

which seems enabled under my MAMP php.ini

wondering why I'm getting this error message? could use an eye here...

thank you

jackhutton’s picture

there's a fix to core http://drupal.org/node/1522348
post #24 dated Oct 23 2012.. would this be valid Mid May 2013 ?

shawnmole’s picture

This is likely a problem with that image or retrieving the image. Check the following:

  • The referenced image may be corrupt or unreadable, see if fixing the images resolve it
  • Their could be a bad file path in the database (or possibly the code)
  • If you are attempting to upload an image, the image may be too large (check your file upload settings)
  • The directory storing the image may have improper permissions

You likely should begin by checking the images called on the pages in question and the permissions in the directory specified. Since it sounds like you're using MAMP, you should have direct access to the filesystem to verify these things.

jackhutton’s picture

appreciate that assist, shawn..
ran the 'demo content' .. will look thru this..

alar’s picture

#6 Worked for me. The referenced images of this Distribution were unreadable. This is probably a bad path and I'll see it again on my first deploy. But right now for demo, it's okay...

hefox’s picture

Issue summary: View changes
Status: Active » Fixed

Demo images should be fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.