Forums

[resolved] SI CAPTCHA - I can't see images (but audio works). (6 posts)

  1. harishvc
    Member
    Posted 5 months ago #

    I just deployed SI CAPTCHA (latest version) plugin to WordPress MU 2.7.1 . I can hear the audio but I don't see the image.

    1. I have checked permissions on the CAPTCHA plugin folder it's fine (set to 755)
    2. HTTP access logs gives status code 200 for securimage_show.php?sid=a7d.. request.
    3. I added Php code (see below) inside secureimage_show.php and I don't see any error

    ini_set('display_errors',1);
    error_reporting(E_ALL);

    4. phpinfo on my php give me the following GD libraries

    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    GIF Read Support enabled
    GIF Create Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled

    I need your assistance in solving this technical hurdle.

    Thanks
    Harish

  2. MikeChallis
    Member
    Posted 5 months ago #

    SI CAPTCHA was developed for WordPress. WordPress MU is a bit different.

    To use SI CAPTCHA on WordPress MU, it can only be installed in the plugins folder. I have not coded SI CAPTCHA to work from the mu-plugins folder. Which folder do you have it installed in?
    also try setting to the default theme to test. Let me know how it goes.

    = Troubleshooting if the CAPTCHA form fields and image is not being shown: =

    Do this as a test:
    Activate the SI CAPTCHA plugin and temporarily change your theme to the "Wordpress Default" theme.
    Does the captcha image show now?
    If it does then the theme you are using is the cause.

    Your theme must have a <?php do_action('comment_form', $post->ID); ?> tag inside your comments.php form. Most themes do.
    The best place to locate the tag is before the comment textarea, you may want to move it if it is below the comment textarea.
    This tag is exactly where the captcha image and captcha code entry will display on the form, so
    move the line to before the comment textarea, uncheck the 'Comment Form Rearrange' box on the 'Captcha options' page,
    and the problem should be fixed.

    = Troubleshooting if the CAPTCHA image itself is not being shown: =

    This can happen if a server has too low a default permission level on new folders.
    Check and make sure the permission on all the captcha-secureimage folders are set to permission: 755

    all these folders need to be 755:
    - si-captcha-for-wordpress
    - captcha-secureimage
    - audio
    - gdfonts
    - images

  3. MikeChallis
    Member
    Posted 5 months ago #

    also, just for a test...
    can you view an image if you go directly to this url on your blog?
    wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/securimage_show.php

  4. harishvc
    Member
    Posted 5 months ago #

    Mike,

    Thanks for your prompt response. I have re-installed Php with GD support and followed all the steps outlined in your README file but I still can't get the image to display (audio works well). Below are answers to your questions and more information that can help narrow down the cause. Appreciate your time and support.

    1. Yes, I have installed the SI CAPTCHA plugin in the "plugins" folder
    2. Yes, all the documents inside "si-captcha-for-wordpress" folder have permission 755.
    3. Changing the theme to original WordPress theme has the behaviour - image does not show up but audio works.
    4. Accessing "wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/securimage_show.php" gives me a empty page. Web server access logs has a status of 200 for this request. Maybe i am missing some file formats ?
    5. Below is a list of file types supported by GD

    FreeType Support No
    T1Lib Support No
    GIF Read Support Yes
    GIF Create Support Yes
    JPG Support No
    PNG Support Yes
    WBMP Support Yes
    XPM Support No
    XBM Support Yes
    JIS-mapped Japanese Font Support No

    Any ideas on how to proceed ?.

    Once again appreciate your time.

    Cheers,
    Harish

  5. harishvc
    Member
    Posted 5 months ago #

    Good news. SI CAPTCHA works now !.

    Solution - I have to recompile Php with FreeType Support

    Thanks.

  6. MikeChallis
    Member
    Posted 2 months ago #

    I am adding this new information for anybody who searches about this problem:

    I added a feature in version 1.7.6 (29 Aug 2009) that can be used to test if your PHP installation will support the CAPTCHA: Open this URL in your web browser to run the test: /wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/secureimage_test.php
    This link can be found on the Captcha Settings page.

Reply

You must log in to post.

About this Topic