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

Bug #18090 Error of loading captcha "undefined method"
Submitted: 2010-11-30 20:41 UTC
From: ksoze Assigned: kguest
Status: Closed Package: HTML_QuickForm_CAPTCHA (version 0.3.0)
PHP Version: 5.3.3 OS: all
Roadmaps: (Not assigned)    

 [2010-11-30 20:41 UTC] ksoze (klaas soze)
Description: ------------ "Call to undefined method HTML_QuickForm_CAPTCHA_Image::HTML_QuickForm_CAPTCHA_Image()" HTML\QuickForm\CAPTCHA\Image.php tmp Fix: create a constructor and call the parent properly insert below line 85 i recommand: /** * php 5.3 fix * * @param unknown_type $elementName * @param unknown_type $elementLabel * @param unknown_type $options * @param unknown_type $attributes * @return HTML_QuickForm_CAPTCHA_Image */ function HTML_QuickForm_CAPTCHA_Image( $elementName = null, $elementLabel = null, $options = null, $attributes = null){ parent::HTML_QuickForm_CAPTCHA( $elementName, $elementLabel, $options, $attributes ); } Test script: --------------- Default example code gives this error


 [2011-02-18 13:55 UTC] raziel057 (Thomas Lallement)
I'm having the same problem. There is no maintenance on this pakage? Correction can be made easily and quickly. Is it possible for me to connect to your CVS to commit the fix?
 [2011-03-21 04:02 UTC] hitzi (Chris Lehnberger)
hello, the fix is also working under Debian Squeeze. I will test it also under Debian Lenny. So please fix it. Thanks in advance, Chris
 [2011-06-19 05:56 UTC] kguest (Ken Guest)
-Assigned To: +Assigned To: kguest
 [2013-02-06 03:13 UTC] hitzi (Chris Lehnberger)
 [2013-02-20 04:21 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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. Patch accepted and committed: