ZF-3970: Zend_Captcha_Figlet error

Issue Type: Docs: Problem Created: 2008-08-16T06:57:18.000+0000 Last Updated: 2008-09-02T10:39:11.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Martin Hujer (mhujer) Assignee: Wil Sinclair (wil) Tags: - Zend_Captcha

Related issues: - ZF-4039



There is an example on…

<pre class="highlight">
// Originating request:
$captcha = new Zend_Captcha_Figlet(array(
    'name' => 'foo',
    'wordLen' => 6,
    'timeout' => 300,
$id = $captcha->generate();
echo $captcha->render(); //ERROR here
  // echo $captcha->render($this->view); WORKS!

it ends with: Catchable fatal error: Argument 1 passed to Zend_Captcha_Figlet::render() must be an instance of Zend_View, none given, called in demo-captcha\application\controllers\IndexController.php on line 53 and defined in Zend\Captcha\Figlet.php on line 79


Posted by Matthew Weier O'Phinney (matthew) on 2008-08-22T14:59:17.000+0000

This is a documentation issue; scheduling for RC3.

Posted by Thomas Weidner (thomas) on 2008-08-24T14:43:16.000+0000

Assigned right component

Posted by julien PAULI (doctorrock83) on 2008-08-29T08:16:39.000+0000

fix is at r11125

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:11.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.