Posted on: 10/14/08 09:44pm
By: ItsCurly
Hi,
Am getting an error when trying to edit an existing story that did have images in it. As a result, I cannot delete or edit the story. Searched GL site but to no avail.
Text Formatted Code
An error has occurred:
2 - getimagesize() [function.getimagesize]: Read error! @ /httpdocs/lib-common.php line 5729
array(2) {
["file"]=>
string(81) "/httpdocs/images/articles/"
["sizeattributes"]=>
string(0) ""
}
(This text is only displayed to users in the group 'Root')
I have taken the paths out of the code section above. Running GL 1.4.1
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 10/15/08 08:30am
By: Dirk
So the images for that story don't exist any more?
Try putting an @ in front of the getimagesize call in COM_getImgSizeAttributes.
We should probably handle that more gracefully, though. Please file a bug report.
bye, Dirk
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 10/15/08 09:16am
By: ItsCurly
There does appear to be jpegs in the images folder stated in the error message. There is also another story by the same author that has an image in it and this is editable without any issues.
Try putting an @ in front of the getimagesize call in COM_getImgSizeAttributes.
Many thanks, where's that? In lib-common.php?
Curly
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 10/15/08 01:55pm
By: Dirk
Yep, in the line you quoted above.
bye, Dirk
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 10/18/08 04:25pm
By: Dirk
Did that help?
bye, Dirk
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 10/29/08 04:51pm
By: Anonymous (Frank)
Hi
It did help me:
http://www.geeklog.net/forum/viewtopic.php?showtopic=84736
Frank
Re: 2 - getimagesize() [function.getimagesize]: Read error!
Posted on: 03/23/09 02:41am
By: Anonymous (Navin Kumar)
Please contact to your server administrator, may be your Disk quota exceeded.....