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
C
Environment
--
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
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
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
--
CirstynYagher - 23 Feb 2005