Home » HTML » HTML_QuickForm_CAPTCHA » Bug #10104
Fatal error, don't know why?
Details
| Submitted | 2007-02-15 00:56 UTC |
|---|---|
| From | lmiranda at gmail dot com |
| Status | Bogus |
| Package | HTML_QuickForm_CAPTCHA |
| PHP Version | 5.0.4 |
| OS | Unix |
| Roadmaps | (Not assigned) |
Comments
[2007-02-15 00:56 UTC] lmiranda at gmail dot com
Description:
------------
My code does get the $_GET value and pass it on to the case and then goes to a function, and the function displays the page with the quickform in it. When i loaded this CAPTCHA, the page wont display. And i saw this error log.
[Thu Feb 15 08:50:46 2007] [error] PHP Fatal error: HTML_QuickForm_CAPTCHA::getValue() [<a href='function.getValue'>function.getValue</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Text_CAPTCHA_Driver_Image" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /usr/local/php5/lib/php/HTML/QuickForm/CAPTCHA.php on line 148
I've tried this exact example.
http://www.11abacus.com/dev/pear/doc/HTML/QuickForm/examples/qfcaptcha_form_image.php
But, only placed it on a function.