Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on January 27th, 2014, 10:58 PM
-
The moving Captcha image is not displayed when registering and the following errors are logged:
2: imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not find/open font
Apply Filter: Only show the errors from this file File: /home/creedmoo/public_html/sandbox/gz/app/captcha_captcha-recomposeanim_shadow.php
Line: 63
2: imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not find/open font
Apply Filter: Only show the errors from this file File: /home/creedmoo/public_html/sandbox/gz/app/captcha_captcha-recomposeanim_shadow.php
Line: 59
This happens after enabling the ReCaptcha plug in. I disabled the plugin and have not been able to repro.
-
In order to use this plugin, you will require a pair of keys for your site, a public key and a private one. You can obtain these from [url=https://www.google.com/recaptcha/admin/create]the Google reCAPTCHA site[/url], note that you will need to sign in with a Google Account. You've already done this?
-
Yes I configured the public and private keys.
-
Will give it a try later (after re-installing wedge) :)
-
That's not for ReCaptcha, it's for the core captcha files...
-
In /core/app/captcha/captcha-recomposeanim_shadow.php:
Replace line 37
$font = ASSETS_DIR . '/fonts/Screenge.ttf';
With
$font = ASSETS_DIR . '/fonts/wecaptcha1.ttf';
This bug was introduced by Arantor nearly a year ago... I'll commit that fix tomorrow.