6.0.0-beta1
7/5/25

[#10071] No files in directory registry.d trigger php error
Summary No files in directory registry.d trigger php error
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester fzipi (at) fing (dot) edu (dot) uy
Created 05/11/2011 (5169 days ago)
Due
Updated 05/13/2011 (5167 days ago)
Assigned
Resolved 05/13/2011 (5167 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
05/13/2011 04:33:08 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
05/13/2011 04:18:22 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10071: glob() can potentially return false

  1 files changed, 4 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/72c840e4e6db7909985204c5d5c581410123bef6
05/11/2011 02:50:00 PM fzipi (at) fing (dot) edu (dot) uy Comment #1
Priority ⇒ 1. Low
New Attachment: 0003-No-files-in-directory-registry.d-trigger-php-error.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ No files in directory registry.d trigger php error
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
In my installation there are no .php files on registry.d ('HORDE_BASE 
. '/config/registry.d/*.php'), therefore this error is

HORDE PHP ERROR: Invalid argument supplied for foreach() [pid 18462 on 
line 544 of "/usr/share/pear/Horde/Registry.php"]

I've applied the solution from 
http://www.php.net/manual/es/function.glob.php#103561, and patch is 
attached.

Saved Queries