Wallpaper Script Forum » How-To and Troubleshooting

About Captcha Image

(12 posts)
  1. Hello Friends

    I want some help from you to solve my problem. I am not able to figure it out. Help will be appreciated.

    I upload this script in paid hosting. I recently found that in my site Captcha Image not Working both in Contact Form and Top Friends Form. I CHMOD to different permissions but not working, i even try to change permissions of captchablock and all its file to 777 but still same problem. Then i upload this script to one of free hosting. Here cpatcha Image is showing.

    Can some some suggest me to Which Folder and files are to be CHMOD and what will be permissions. I try 750,751,755,644,777.

    If there is not in problem with CHMOD.Then it must be with hosting.Please tell me which script should be ON in hosting site, So that capatchablock work.I mean like perl,Java,Ruby on rail etc.

    If someone exactly suggest me service should be ON in hosting account, then i will demand it from service provider.

    Thanks

    Posted 1 year ago #
  2. shekhar
    Member

    just uninstall captcha module from manage module page....then check captcha in your site contact page

    Posted 1 year ago #
  3. @Sunl.. this script uses a imagettfbbox() to create the captcha and if its not working for you, then the possible reasons are ..

    1. Your host is using one old version of PHP or

    2. GD Library is not installed on your hosting server..

    your phpinfo() can tell more on this..

    or you can explain your host the issue with following error details..

    Fatal error: Call to undefined function imagettfbbox() in /home/bollywoo/public_html/modules/captchablock/CaptchaSecurityImages.php on line 60

    Hope ur issue will be resolved soon. . :)

    Posted 1 year ago #
  4. Thanks For reply shekar

    Actually I already try this many time. I even completely remove capthablock folder from server and reupload. I try everything like clearing cookie,Cleared Cache many time but no use. I think this is problem due to my webhost. But i don't know what is the reqirements of this captcha block, so i can not demand anything from them.

    Posted 1 year ago #
  5. Thanks batu i will try your suggestions and talk about these issues to my webhost.

    Posted 1 year ago #
  6. Hello Guys

    Does anybody know exactly which folders and files are related with captcha execution so i can try to change CHMOD.You kow this script has large no. of folders and files and it is very tedious to try change CHMOD of every file and folder.

    My webhost has all up-to-date and this script has no bug related to capatcha. So the problem should be with CHMOD (permissions)

    Posted 1 year ago #
  7. I think you need to give 777 permission to the all the modules folder and files..

    but anyway have you told your webhost regarding the error message you are getting .. ??

    Here is the link where u can see your error message

    http://www.bollywoodarea.com/modules/captchablock/CaptchaSecurityImages.php?width=100&height=40&characters=5

    on internet I just found one link ... don't know whether its correct and help you...

    http://enbeeone3.com/fatal-error-call-to-undefined-function-imagettfbbox

    Posted 1 year ago #
  8. I am facing the exact problem with my site and i tried every possible solution suggested here ie:
    1) changing CHMOD permission for captcha module and all module folders to 777
    2) uninstalling and reinstalling the captcha module.
    but all in vain so finally i did contact my webhost n they says everything is ok at their end.

    below is what they replied to my support ticket

    "GD is indeed compiled in and you're running a relatively recent version of PHP.

    # php -v
    PHP 5.2.13 (cgi) (built: Jul 3 2010 06:09:22)

    We do not support third party scripts such as captcha's. If you need any recompile of PHP / Apache, we can do that for you. Please let us know if you need us to assist further with this."

    i was just wondering is there any support available from the script author on this forum?

    Posted 1 year ago #
  9. Finally my captcha error is fixed. Thanks to Adi and my host.

    Posted 1 year ago #
  10. Yousafzay, It will help other members if you can explain what did you do to fix it..

    Posted 1 year ago #
  11. Sure, why not batu544 :)
    well i made contact both with my host n the script author,
    Adi told me that i am having the problem coz of a missing function from the php library : imagettfbbox()
    (the one already mentioned by batu544 in this thread)
    i searched the web for its solution n found one, its about how to recompile your server with TTF support on WHM, below is the link
    http://www.itsolutionskb.com/2008/10/fatal-error-call-to-undefined-function-imagettfbbox

    so i told my host to recompile the server for me with TTF (FreeType), they did it and told me to verify it if the problem still exist,
    i checked it and the error was still there, then i gave them the link to the captcha page on my site n told them the problem
    still exist after a few minutes they fixed it and replied with this solution

    "The trouble was due to the wrong file permissions which was causing this issue.
    File "/home/xxx/public_html/mysite.com/modules/captchablock/CaptchaSecurityImages.php" should be writable by group i-e: 755 (not 777)
    and for the next time, please do ensure that you do not fix the permissions as 777 on the modules and the captcha folders.
    I will recommend a permission of 755 to get this working."

    which means the following folders and files should be

    /modules (CHMOD permission 755)
    /modules/captchablock (CHMOD permission 755)
    /modules/captchablock/CaptchaSecurityImages.php (CHMOD permission 755)

    and leave the rest of files on 777 in captchablock folder

    Hope this will help someone in future

    Posted 1 year ago #
  12. @Yousafzay........... problem is still exist..

    help...

    can u give me snapshots ?

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.