Web Hosting Talk







View Full Version : cpatcha not working


rahuldas14
12-02-2009, 10:44 AM
My server has gd installed and still captcha is not working. Can anyone suggest something to fix it?
OS: CentOS

hossein_salehi
12-02-2009, 10:47 AM
did you rebuild php ?

rahuldas14
12-02-2009, 10:54 AM
yes

I think I am missing something. Or maybe some permissions. What else is required for captcha?

bluemediaprint
12-02-2009, 11:07 AM
You can add phpinfo page and check if GD is enabled correct.

info.php

<?
echo phpinfo();
?>

jrianto
12-02-2009, 11:09 AM
make sure the directory where captcha write has correct permission, probably 777

Dave Parish
12-02-2009, 11:11 AM
make sure to set file and folder permissions sometimes the captcha.php file doesn't get set when you just set the folder

hossein_salehi
12-02-2009, 01:19 PM
hi rahuldas14,
as bluemediaprint said
the below file is important, if you can see GD section on report so you win else not,

create a file and insert to it below commands and browse it on your browser:

<?
echo phpinfo();
?>

rahuldas14
12-02-2009, 05:10 PM
yes gd is there in phpinfo. take a look here: http://212.117.183.201/~just4pal/phpinfo.php

Which folder permissions should I set?

TheServerExperts
12-02-2009, 06:13 PM
Did you compile your PHP with FreeType font support? its needed for recaptcha.

rahuldas14
12-02-2009, 06:18 PM
i think it is done by default when it is compiled with gd. I used the easy apache for it.
Can you tell me how can i install this font support?

hossein_salehi
12-02-2009, 06:42 PM
GD should be available on your server did you check your script?
http://212.117.183.201/~just4pal/phpinfo.php
GD Support enabled

also you can send ticket to cpanel, they will be do it for free

larwilliams
12-02-2009, 11:18 PM
First of all, what captcha are you using? (link please)

keserhosting
12-03-2009, 09:31 AM
Most probably the issue is permissions related -- at least most of the captcha issues are actually happening due to the fact that the folder/files are with incorrect permissions. Try to check the permissions of the files/ folder are correctly set.

njoker555
12-03-2009, 04:52 PM
i think it is done by default when it is compiled with gd. I used the easy apache for it.
Can you tell me how can i install this font support?

in easy apache when you look at the bigger list of things you can add, juts look for freetype, it should be there. It doesn't come with GD (not that I know of)