I just installed PhpMotion v3.5 and when I go to the register page, the image captcha does not display due to which I cannot login.
On futher review of the code and php error log the following error is seen.
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/video/includes/captcha.php on line 53
Error in imagettfbbox function
This is a due to a bug in the captcha.php file where it cannot find the TTF font file for rendering the captcha. This can be fixed by just changing one line in the captcha.php file as below:
Open the captcha.php and change this following line from
var $font = ‘DoradoHeadline.ttf’;
var $font = ‘./DoradoHeadline.ttf’;
Try again the captcha should be working. One observation , this issue does not happen on MAC but on Linux/Unix only.[pb_builder]