4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: aerhead on August 22, 2006, 04:39:36 AM

Title: Warning: getimagesize() [function.getimagesize]: Read error!
Post by: aerhead on August 22, 2006, 04:39:36 AM
Warning: getimagesize() [function.getimagesize]: Read error! in /homepages/6/d92978837/htdocs/uniquebeings/4images/admin/thumbnailer.php on line 115

I KNOW this has been posted a few times but the answers haven't helped me.  I'm tried each one and when I still click Auto-Thumbnail, that error message comes up, even when there aren't any thumbnails to create.  I'm at a loss for what I should do.  I'm using the the most updated version of 4Images.  I'm using a Mac but I don't see how that would effect this since I've been runing this version for awhile and have been using 4Images for sometime as well and have never recieved this error.
Title: Re: Warning: getimagesize() [function.getimagesize]: Read error!
Post by: V@no on August 22, 2006, 03:07:07 PM
1) did you check permissions?
2) is admin/thumbnailer.php is the only place you see the message?
3) do you run pre-compilled web server (whatever you are using) or did you compile it yourself? Perhaps the webserver itself or PHP is not installed correctly...
4) for debuging purpose find in admin/thumbnailer.php
Code: [Select]
        $image_info = getimagesize(MEDIA_PATH."/".$image_row['cat_id']."/".$image_row['image_media_file']);
Insert below:
Code: [Select]
echo "<br>".MEDIA_PATH."/".$image_row['cat_id']."/".$image_row['image_media_file']."<br>";
Then run the thumbnailer again, it should show you paths along with the error messages. Make sure the paths are correct
Title: Re: Warning: getimagesize() [function.getimagesize]: Read error!
Post by: aerhead on August 25, 2006, 05:54:39 AM
I've checked the permissions and they're as they were when I first started with this.

Yes, this is the only place I see this error.  Everything else is working fine.

I'm not sure what you mean by pre-compiled or if I compiled it.  I don't know why it wouldn't be installed correctly since I've had this for quite awhile.

I tried what you did but I don't think I'm quite understanding what you mean.
Title: Re: Warning: getimagesize() [function.getimagesize]: Read error!
Post by: V@no on August 25, 2006, 06:53:41 AM
maybe some of the media files you have corrupted?
Title: Re: Warning: getimagesize() [function.getimagesize]: Read error!
Post by: aerhead on August 25, 2006, 06:58:40 AM
Okay, so what do you suggest I do?