6.0.0-beta1
7/19/25

[#14608] feof() expects parameter 1 to be resource, object given [on line 385/386 of "/usr/share/php/Horde/Image/Base.php
Summary feof() expects parameter 1 to be resource, object given [on line 385/386 of "/usr/share/php/Horde/Image/Base.php
Queue Horde Base
Queue Version 5.2.14
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester thomas.trepper (at) blueclaim (dot) com
Created 04/10/2017 (3022 days ago)
Due
Updated 04/11/2017 (3021 days ago)
Assigned 04/10/2017 (3022 days ago)
Resolved 04/11/2017 (3021 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/11/2017 02:19:54 AM Michael Rubinsky State ⇒ Resolved
 
04/11/2017 02:16:47 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 666cd43da5c078a60ade12af52d109a8687ee9a3
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Apr 10 22:12:46 2017 -0400

     Fix returning stream data when using the NULL image driver.

     Bug: 14608

  framework/Image/lib/Horde/Image/Base.php | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

http://github.com/horde/horde/commit/666cd43da5c078a60ade12af52d109a8687ee9a3
04/10/2017 02:52:34 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Assigned
 
04/10/2017 02:50:45 PM thomas (dot) trepper (at) blueclaim (dot) com Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ feof() expects parameter 1 to be resource, object given [on line 385/386 of "/usr/share/php/Horde/Image/Base.php
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I am running Horde 5.2.19 (test.php reports 5.2.14) installed via 
PEAR, PHP 5.6.30-0+deb8u1 on a Debian Jessy. When I log in and use the 
addressbook I sometimes(!) see the following errormessage in the 
horde-log.

PHP ERROR: feof() expects parameter 1 to be resource, object given 
[pid 21891 on line 385 of "/usr/share/php/Horde/Image/Base.php?]

If the error is occuring it happens in a loop (I think until the 
session ends) - the logfile is easily 80MB full of only these lines.

My feeling is this happens (more?) when I click on an entry to edit 
(which has an image attached).

Saved Queries