ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Captcha not showing

March 31, 2008 3:28pm

Subscribe [5]
  • #1 / Mar 31, 2008 3:28pm

    joshmarch

    14 posts

    I’m completely stumped.  I totally cannot figure out how to turn on captcha’s.  I have the following code on my submission form…

    Name: (required)
    
                <input type="text" name="name" value="" size="40" />
                Email: (required)
    
                <input type="text" name="email" value="" size="40" />
                URL: (optional)
    
                <input type="text" name="url" value="" size="40" />
                
                <textarea name="comment" cols="70" rows="6">{comment}</textarea>
                <input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information
                <input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?
                {if captcha}
                Please enter the word you see in the image below:
                {captcha}
    
                <input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
                {/if}
                <input type="submit" name="submit" value="Submit" />
                <input type="submit" name="preview" value="Preview" />
                </div>

    Captcha folder is set to 777, and turned on in CP.  Siteground is my hosting provider.  Any advice would be really great!  Thanks!

  • #2 / Mar 31, 2008 4:31pm

    Lisa Wess

    20502 posts

    Can you let us know what version and build of EE you’re on, as well as a link to the page?

  • #3 / Mar 31, 2008 7:26pm

    joshmarch

    14 posts

    Hi Lisa.. I sent you a PM with details.  Thanks!

  • #4 / Apr 01, 2008 12:09pm

    Robin Sowell

    13255 posts

    gesoneguy- is this one squared away?  And if not- the Kblog has a few tips that may help.  Have you run through those?

  • #5 / Apr 01, 2008 12:42pm

    joshmarch

    14 posts

    Hi Robin.  I double checked all the items listed below, but still no luck.  Did I plug the correct expressions into the code (above)?  I’m totally stumped.  I’ll send you a PM with the link.

    - the path and/or URL to the CAPTCHA directory is not specified correctly under Admin > Captcha Preferences
    - images/captchas/ directory (or whichever is specified) is not set to 777/writable
    - the server does not support True Type Fonts (try turning the option off under ‘Admin > Captcha Preferences’)
    - GD library isn’t installed and/or working correctly
    - system/lib/words.php file doesn’t exist

  • #6 / Apr 01, 2008 12:59pm

    Robin Sowell

    13255 posts

    Cool- took a look at the rendered page- it’s not showing the

    {if captcha}
                Please enter the word you see in the image below:
                {captcha}
    
                <input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
                {/if}

    Bit.  If it was just the images borking, we’d still see the ‘Please enter….’ stuff.  So- since it’s not, it suggests that if captcha conditional is ‘false’- meaning captchas aren’t required for that weblog, that entry, something along those lines.

    You can kind of ignore the image bit at this stage- we just need to get the ‘Please’ bit showing and can go from there.  Triple check the entry- is it set to require captchas?

  • #7 / Apr 01, 2008 1:22pm

    joshmarch

    14 posts

    Wow.. I’m such a noob.  I totally just realized there are preferences for each weblog setup… I kept thinking it was in the global settings.  OK.. so I turned CAPTCHA’s on under the weblog managment… and I can now see the text, but no image is appearing.  Any ideas?  Thanks so much.

  • #8 / Apr 01, 2008 2:11pm

    Lisa Wess

    20502 posts

    Hi, gesonguy, glad Robin was able to work with you on this.  You made a checklist of things above, but I’m not sure what you actually tried.  Can you double check all the items in this kb entry and make sure that they all look correct?

  • #9 / Apr 01, 2008 2:46pm

    joshmarch

    14 posts

    As above… checked and they’re all correct.  I use Siteground, and GD Library is installed and running on the server.  TT is off.  Folder is set to 777.  And paths are correct.  Captcha images still not showing.  Thanks.

  • #10 / Apr 01, 2008 2:51pm

    Lisa Wess

    20502 posts

    What do you have set as the path to your captcha directory? Also, is image resizing working, say in the Publish file upload area?

  • #11 / Apr 16, 2008 2:06pm

    Emily Heath

    197 posts

    Can I just add that I encountered exactly the same problem as gesoneguy here but suddenly realised that the reason nothing was appearing, was that I had the captcha set NOT to appear for logged in Members, and of course because I am logged in to CPanel, its like I’m logged in. So either log out, or change it to show even for members and you will see your captcha!

  • #12 / Apr 16, 2008 5:46pm

    Ingmar

    29245 posts

    emilyh, thanks for chiming in. Very helpful advice.

  • #13 / May 09, 2008 3:03pm

    Sue Crocker

    26054 posts

    Closing older thread.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases