-
Notifications
You must be signed in to change notification settings - Fork 103
Lost Password Captcha not shown #272
Copy link
Copy link
Closed
Description
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';
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels