Tags:
create new tag
, view all tags

Question

I just downloaded and installed the CAPTCHA plugin on TWiki 4.1.2. When I test it, it only displays a rectangle which has a shade between grey and black. There is no visible character string in the rectangle.

I checked that the Perl GD module is installed. It has version 2.19-3. I also checked the patch to Register.pm. It seeems ok.

I set DEBUG = 1 and get messages in the debug.txt file like:

| 03 Sep 2007 - 18:28 | expiring

where the displayed time is usually 5 minutes after I called the CAPTCHA plugin

There are no messages in the error_log file.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CaptchaPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SkillsPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TopicCreatePlugin, TwistyPlugin, WysiwygPlugin
Server OS: Suse Linux
Web server: Apache/2.0.53
Perl version: 5.008006
Client OS: Windows XP
Web Browser: Firefox 2.0.0.6
Categories: Plugins

-- MartinMayer - 03 Sep 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 18 Oct 2007

Can I please reopen this question as I am having exactly the same problem..

Thanks

-- ChrisCauser - 30 Nov 2007

I think I can answer it now: It's because you need to put the settings in the LocalSite.cfg file. The instructions (I thought) were ambiguous in that I was happy with the defaults so I didn't put them in. Turns out you do.

Hope this helps. Seemed to work for me.

-- ChrisCauser - 03 Dec 2007

My LocalSite.cfg file contains these settings:

$TWiki::cfg{Plugins}{CaptchaPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{CaptchaPlugin}{NumberOfCharacters} = 5; # Number of characters on Captcha

It does not work for me. How are your settings?

-- MartinMayer - 28 Dec 2007

Do you have the following line?:

 $TWiki::cfg{Plugins}{CaptchaPlugin}{Characters} = '1234567890'; # Captcha characters, numbers are the safest 

Without it, the plugin doesn't have any characters to add to your captcha image.

-- ChrisCauser - 01 Jan 2008

Sorry, closing this question again after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 02 Mar 2008

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtm configure.pl.htm manage 164.7 K 2007-09-03 - 16:49 MartinMayer configure output
Topic revision: r8 - 2008-03-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.