Welcome to Geeklog Monday, December 09 2019 @ 12:51 pm EST

Geeklog Forums

2 - getimagesize() [function.getimagesize]: Read error!


Status: offline

ItsCurly

Forum User
Junior
Registered: 05/12/05
Posts: 24
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.

PHP 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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

ItsCurly

Forum User
Junior
Registered: 05/12/05
Posts: 24
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Yep, in the line you quoted above.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Did that help?

bye, Dirk
 Quote

Frank

Anonymous
Hi

It did help me:
http://www.geeklog.net/forum/viewtopic.php?showtopic=84736

Frank
 Quote

Navin Kumar

Anonymous
curious
Please contact to your server administrator, may be your Disk quota exceeded.....
 Quote

All times are EST. The time is now 12:51 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content