View Full Version : Missing Captcha image on Local server
Thomas Hill
05-10-2009, 05:42 AM
I cannot seem to see the Captcha image when I preview my pages locally. I have made sure all the files are transferred and I have followed the instructions in the FAQ to remove the ; in the php.ini file from
;extension=php_gd2.dll
to
extension=php_gd2.dll
However, I am finding no change. Can anyone please provide some assistance?
I am running OSX 10.5.6 and using Dreamweaver CS3
Thanks
Ray Borduin
05-11-2009, 08:09 AM
All you should need is the updated php.ini and to make sure that all of the files are uploaded (including the font file). It is difficult to debug a local server... have you tried it live? I would do that to determine if it is an issue with the code or the server configuration.
Thomas Hill
05-12-2009, 12:23 PM
Hi, thanks for your reply.
I've just tried uploading to my remote server and the images appear all ok. However, I still cannot get them to appear on my local server.
Is there any chance that I could be editing the wrong php.ini file and this is why the changes are not taking affect?
The location of my file is Macintosh HD-Private-etc-php.ini
I open this using TextMate or TextWrangler using the show hidden files option.
If this is the correct placement of the file, do you have any other suggestions?
Thanks
Tom
Ray Borduin
05-12-2009, 01:01 PM
My best guess is that you are editing the wrong php.ini file, but I'm no expert at configuring php on a mac, so I couldn't tell you for sure.
Thomas Hill
05-12-2009, 01:10 PM
No worries, the rest of the stuff is great and I can't wait to make some edits with all the other extensions I have in the suite.
However, I am actually thinking of removing the CAPTCHA security settings for the site I'm currently building anyway but I can't seem to find any help documents on this. Can you point me to the correct URL or if not explain how to do this. I've had a good look through the forums but cannot see how to do this. There was some suggestion on one post that help documents do exist but no exact URL.
Many thanks.
Tom
Neil Beadle
05-13-2009, 09:40 AM
The users_Registration_Simple.php file is provided to give you an easy way to provide registration without Captcha.
However, you can remove the necessary form elements and spry validation from the users_Registration.php page instead. A How To is in the works to show you how to accomplish this, but here are a few pointers...
1. Remove all form elements for the Captcha image, and security question text field. (Lines 820 - 842 of an untouched users_Registration.php page)
2. Remove the Spry validation reference from the bottom of the file (Line 858). This line looks like this:
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "none", {minChars:5, maxChars:5, validateOn:["blur"]});
<
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.