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

Bug #15214 Invalid method: restrictAcess
Submitted: 2008-12-02 18:52 UTC
From: mithra62 Assigned: c0il
Status: Closed Package: PHP_Debug (version 1.0.2)
PHP Version: 5.2.6 OS: All
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-02 18:52 UTC] mithra62 (Eric Lamb)
Description: ------------ On line 86 of "PHP_Debug_HTML_Table_test.php" the script refers to calling $Dbg->restrictAcess($allowedip);. This comes up with a Fatal error because restrictAcess isn't a valid method. Test script: --------------- http://www.php-debug.com/www/PHP_Debug_ShowSource.php?file=%2Fvar%2Fwww-protected%2Fphp-debug.com%2Fwww%2FPHP_Debug_HTML_Table_test.php Expected result: ---------------- The script should prevent unauthorized access; instead it dies with a fatal error.

Comments

 [2008-12-02 20:36 UTC] c0il (Loïc Vernet)
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. You are right, the method is restrictAccess with 2 "c". This is corrected in CVS and will be fixed in the next release 1.0.3 (or 1.1.0) Thanks for reporting. ;) See u. COil
 [2008-12-02 20:37 UTC] c0il (Loïc Vernet)
You are right, the method is restrictAccess with 2 "c". This is corrected in CVS and will be fixed in the next release 1.0.3 (or 1.1.0) Thanks for reporting. ;) See u. COil PS: You should use the DIV renderer, i will not maintain the Table renderer anymore.