Skip to content

Lost Password Captcha not shown #272

@simarilius

Description

@simarilius

The Reset Password Page doesn't shows a Captcha.

Warning: imageftbbox(): Could not find/open font in /lynn/vimbadmin/pub/vendor/shardj/zf1-future/library/Zend/Captcha/Image.php on line 507

Warning: imagefttext(): Could not find/open font in /lynn/vimbadmin/pub/vendor/shardj/zf1-future/library/Zend/Captcha/Image.php on line 510

I fixed it by adding a directory and the font to /lynn/vimbadmin/pub/data/font/freeserif.ttf

I also had to change the path in library/OSS/Captcha/Image.php:

if( strpos( dirname( FILE ), 'src/' ) === false )
$font = dirname( FILE ) . '/../../../data/font/freeserif.ttf';
else
$font = dirname( FILE ) . '/../../../data/font/freeserif.ttf';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions