Tags:
create new tag
view all tags

Question

I'm trying to set up authentication on a win2003 server via editing the .htaccess file, and keep getting the error:

Undefined subroutine &Digest::SHA1::sha1 called at ../lib/TWiki/User/HtPasswdUser.pm line 102

when I click register for a new user. When i look at the apache error log, I also see an additional error, from the sessionplugin:

Use of uninitialized value in concatenation (.) or string at ../lib/TWiki/Plugins/SessionPlugin.pm line 163.\n

Everything installed just fine during the initial setup of the twiki installation, so I haven't reinstalled anything from cpan.

Could someone please tell me what I am doing wrong ? I have seen some of the other threads regarding this issue, but they were dated pretty old, and removing the # on line 27 in register.pm isnt possible, as the text referred to doesnt seem to exist on the sept. release.

Help appreciated smile

C

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: windows 2003
Web server: apache 1.3.3
Perl version: 5.8.6
Client OS: WinXP, Win2k, Red Hat
Web Browser: Opera, MSIE
Categories: Registration

-- CirstynYagher - 21 Feb 2005

Answer

I wouldn't worry too much about the second error, it's just a warning. The first one indicates your problem.

It's a bit disturbing that it appears you have Digest::SHA1 installed (otherwise I would expected a 'use' error), but that the sha1 method is not there! See http://cpan.uwinnipeg.ca/htdocs/Digest-SHA1/Digest/SHA1.html for documentation of the SHA1 module.

All I can suggest is that you try downloading and installing the Digest::SHA1 perl module again.

-- CrawfordCurrie - 22 Feb 2005

Hi smile

I have a "mess around" and a clean install of Twiki on two Win2003 servers. On the mess around install I keep getting this issue, On the clean, no plugins installed server, I got authentication up and working at once, no hassle, which means I'll have to take a look at the installed plugins on my mess-around server. I'll install the plugings one by one to see which one givces grief on the "clean" server. I'm working in a company that needs documentaion/read restrictions, so I can't NOT have authentication. List of installed plugins in next comment

Thanks again smile

Cirstyn

-- CirstynYagher - 23 Feb 2005

-- CirstynYagher - 23 Feb 2005

Oh - and the "mess around" server is in no way a box with erroneous configs - it's where I work out stuff before I put it into production on the other box smile

-- CirstynYagher - 23 Feb 2005

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-04-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.