Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.7

Bug #11999 Services_Digg doesn't play nicely with APC
Submitted: 2007-09-06 20:15 UTC
From: eliw Assigned: jstump
Status: Closed Package: Services_Digg (version 0.2.1)
PHP Version: 5.2.0 OS: Debian
Roadmaps: (Not assigned)    
Subscription  


 [2007-09-06 20:15 UTC] eliw (Eli White)
Description: ------------ I'm unsure exactly 'why'; however, something about the way that Services_Digg conditionally includes some files (specifically Common.php), causes APC to get confused. Upon requesting a page that happens to use the Stories endpoint ... and THEN requesting a page that uses the User endpoint ... The latter page/call will fail, with it trying to autoload() the Services_Digg_Common class, as it doesn't think it exists. After some testing, moving the require_once() statements for including Common.php, out of each individual & dynamically included component, and instead including it from within Digg.php itself ... Appears to completely solve this issue.

Comments

 [2007-09-13 00:10 UTC] jstump (Joe Stump)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.