6.0.0-beta1
7/10/25

[#3728] Registry not loading APIs in _fillAPICache()
Summary Registry not loading APIs in _fillAPICache()
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester tripp-track-horde-ticket-200604022233 (at) perspex (dot) com
Created 04/03/2006 (7038 days ago)
Due
Updated 12/30/2009 (5671 days ago)
Assigned
Resolved 04/08/2006 (7033 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/30/2009 01:01:15 PM jessieluv22 (at) gmail (dot) com Comment #3 Reply to this comment
You PHP version or cache is broken if that doesn't work for you.
Its ok . I will calll and they will fix it . dont worry but thank you
04/08/2006 09:19:18 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
You PHP version or cache is broken if that doesn't work for you.
04/03/2006 02:40:31 AM tripp-track-horde-ticket-200604022233 (at) perspex (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Registry not loading APIs in _fillAPICache()
Queue ⇒ Horde Framework Packages
Reply to this comment
PHP 5.1.2 cgi, Zend 2.1.0, Zend Extension Manager 1.0.9, Zend Optimizer 2.6.2

Horde 3.1.1, Kronolith h3-2.1



In the section of _fillAPICache that calls "include_once $api", the 
API's _services variable doesn't get propagated back out to 
_fillAPICache, so it doesn't actually put anything in the cache.



I'm not a huge PHP programmer, but my hackish fix was to split the 
lib/api.php file for the app (kronolith, in this case) into two files: 
api.php, containing only the _services entries and an "include_once" 
statement, and apiWrapper.php, included by the include_once statement 
in api.php.



I then modified Horde/Registry.php to call "include $api" instead of 
"include_once $api", and it seems to work.



I'm not attaching the patch, mainly because I'm pretty sure there's a 
more "horde-ish" and/or "PHP-ish" way to do this, and I don't want to 
embarass myself :-)

Saved Queries