Yet another CAPTCHA problem

Permalink
I have searched the forums but not been able to find the solution yet.

All I get is the broken image link when I try to use CAPTCHA on register or forms. GD support with FreeType is enabled (see attached file) but still no luck.

Any suggestions?

1 Attachment

adajad
 
adajad replied on at Permalink Reply
adajad
Anyone?
shadowcomputers replied on at Permalink Reply
shadowcomputers
Hi,

I have a client's web site having the same issues.

Again FreeType and GD are enabled.

I have even added the extra bit of code to the captcha.php file that gets it to load the GD font after the TTF, but that still is not working.

Plus all permissions are fine and the files exist.

I cannot find anything wrong myself, but yet it still will not work... anyone got any ideas?

Kind regards, Steve
benjoe replied on at Permalink Reply
benjoe
had the same problem.. had 3 pages with forms on the site i was working on, and all of them have captcha enabled suddenly they all stop showing images.. at first i thought it was also a permission issue but they were working fine before..

then i remembered i did edit some lines on my config/site.php

on where i accidentally included the closing php tag ( ?> ).. edited and re-uploaded the file and sudenly everything was normal again..

would not hurt to try it.. solved my issue! hopefully would also solved yours..

Cheers!

Benjoe
adajad replied on at Permalink Best Answer Reply
adajad
I don't have a closing tag in site.php, but just to test your suggestion I added it and tried with still no luck, and then removed it and tried again without any luck.

Right now I go with mkly's solution which works like a charm: http://www.concrete5.org/developers/pro-accounts/community-leaders-...

Edit: I realised you might not be able to read his solution so I take the liberty to repost his answer below since it's a solid solution:

...
Honestly if you are using 5.5, I would just get the ReCaptcha from the c5 github.

Actually you should probably use my fork because they've kind of left their version to die and my is updated to allow customization and will actually get updated even if someone isn't directly paying me to do it.

https://github.com/mkly/addon_recaptcha...

But other than that the problem is actually with the library that captcha uses if I remember correctly is the securimage php library. Concrete5's version I believe(or was when I ran into it) is not the latest one and I think upgrading to the current one was what fixed it for me. But that was 5.4 era.
...