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

Bug #12974 Fatal error: Call to undefined method Services_Yadis::_getHttpRequest()
Submitted: 2008-01-24 19:46 UTC
From: saeven Assigned: padraic
Status: Closed Package: Services_Yadis (version 0.2.1)
PHP Version: 5.2.5 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2008-01-24 19:46 UTC] saeven (Alexandre Lemaire)
Description: ------------ Missing function Test script: --------------- Using the test script in the documentation: require_once( 'Services/Yadis.php' ); $openid = 'http://xxx.myopenid.com'; $yadis = new Services_Yadis( $openid ); $yadis->addNamespace( 'openid', 'http://openid.net/xmlns/2.0' ); $serviceList = $yadis->discover(); Expected result: ---------------- Something! Actual result: -------------- Fatal error: Call to undefined method Services_Yadis::_getHttpRequest() in D:\php\PEAR\Services\Yadis.php on line 521

Comments

 [2008-03-02 08:54 UTC] domster (Dominic Scheirlinck)
Look like this method has simply been renamed to Services_Yadis::getHttpRequest() (note the missing underscore). The places this method is referenced are lines 523 and 526. Removing the underscore seems to fix this particular bug.
 [2008-06-19 08:33 UTC] padraic (Pádraic Brady)
Will fix in an upcoming 0.2.2 release expected in early July.
 [2008-07-19 10:42 UTC] doconnor (Daniel O'Connor)
any update?
 [2008-12-07 09:16 UTC] doconnor (Daniel O'Connor)
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.