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

Bug #2584 Error Checking Missing for init() in Image driver
Submitted: 2004-10-22 06:55 UTC
From: wormus Assigned: wenz
Status: Closed Package: Text_CAPTCHA
PHP Version: 4.3.9 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 28 - 7 = ?

 
 [2004-10-22 06:55 UTC] wormus
Description: ------------ the _createCapthca method in the Image Driver throws an error which is not caught in the INIT function. The example in the docs folder doesn't work (probably a missing font) but no error is thrown. Fix is to check for an error around line 97 like so: $error = $this->_createCAPTCHA(); if (PEAR::isError($error)){ return PEAR::raiseError($error->getMessage()); } Cool package though :)

Comments

 [2004-10-22 07:48 UTC] wenz
thanks for the catch! I will fix it in the next release.
 [2004-11-08 16:58 UTC] wenz
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Text_CAPTCHA fixed in release 0.1.1. Thanks for the catch!