Log in

View Full Version : reCaptcha won't show but all other human verifications do?


kansei
05-04-2008, 03:40 PM
On 3.6 patch level 2, we were using reCaptcha through a dirty hack to register.php, seen here (https://vborg.vbsupport.ru/showthread.php?t=151824). Now that we're on 3.7, I see reCaptcha is integrated (awesome) but I can't get it to work. I input my public/private keys but checking the registration page, there's just no verification image at all and people have registered since the 3.7 upgrade which tells me it lets people in with no verification. For now I turned imagemagick verification back on but I really hate how difficult the images are, which was the whole point of using reCaptcha for my forum.

Another related question regarding the file "functions_recaptcha.php" in the includes directory: I know this file was included with the 3.6.x hack, there isn't a chance that vbulletin chose to use the same name for a file related to the native reCaptcha implementation? Basically is this safe to delete? I guess I can just re-download 3.7 and browse the files to see if it's there...

I can post screenshots and code and stuff if needed. First off I checked the registration page and human verification templates and none have any changes. I'm also using a default stlye (just CSS tweaks and modified gradient images).

thanks in advance!

nsusa
05-04-2008, 04:52 PM
It has to do with freetype on your web server. You have to install freetyp2 and recompile PHP and Apache.

kansei
05-04-2008, 08:16 PM
It has to do with freetype on your web server. You have to install freetyp2 and recompile PHP and Apache.

awesome, thanks I'll relay that to the guy on our forum who works at our hosting company :)

Strange that the hack worked but not the native version though, that's why I didn't even consider looking at the server setup.

Edit:

just looked at the php info..

for GD (forum is set to use imagemagick)
"FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1 "

and php 5.2.5 is configured with option '--with-freetype-dir=/usr'

I'll still relay the info to the guy at the hosting company so he can make sure all is right on that end.

ssslippy
05-04-2008, 08:22 PM
Did you revert the templates?

kansei
05-04-2008, 08:45 PM
Did you revert the templates?

I can't, because there aren't any template changes to revert back from. The old hack (link in first post) consisted of just modifications to register.php, no template hacks.

--------------- Added 1210002604 at 1210002604 ---------------

Hmm yeah freetype2 is definitely installed

freetype.i386 2.2.1-19.el5 installed

'./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'

Dismounted
05-07-2008, 07:23 AM
Can you provide a URL to the forum this is happening in?

kansei
05-07-2008, 12:52 PM
Can you provide a URL to the forum this is happening in?

yup :)

www.themazdaforum.com

yes the forum has modifications, but I tested it when 3.7 was clean and unmodified.

kansei
05-29-2008, 11:59 PM
*bump*

on 3.7.1 now and I just checked, it still won't work.

Dismounted
05-30-2008, 07:00 AM
Is the key pair entered correctly?