faq2Add my vote for this tag create new tag
, view all tags


Sorry for the newbie question here, but I've scoured the pages here and can't sort out what's wrong.

I've set up the TWiki to require logins using TWiki HtPasswd (TWiki doing the passwords). I can log in as my registered user name, but I'm always the Guest as far as the TWiki is concerned.

If I change the default user, then instead of guest, I'm that user. But I can't figure out how to tell what its not liking. My log files have no info about what might be wrong


TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat7.3
Web server: Apache 1.3x
Perl version: Perl5.6x
Client OS: RedHat7.3
Web Browser: Mozilla
Categories: Authentication

-- BrianChabot - 22 Feb 2006


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Does AuthenticatedButStillTWikiGuest describe your problem? Perhaps all you need to do is activate session tracking with bin/configure?

-- HaraldJoerg - 22 Feb 2006

I will try to add view to my authentication now,if it isn't already. I'm reading the links to the apache pages now that were in another post as well. If I activate session tracking I get an error when I next try to bring up the view page.

-- BrianChabot - 23 Feb 2006

Yeah, no luck with the view in authorize. I might add that I'm using apache right out of the box, with no mods other than those written up in the TWiki installation notes. Perhaps I need to do something with that too.

I appreciate your help!

-- BrianChabot - 23 Feb 2006

If you don't have session tracking,a nd you don't have IP tracking, then TWiki has no way of remembering who you are. You need one or the other. Apache has nothing to do with it, if you are using the Template login manager. You say mysteriously that you "get an error" when you activate session tracking. What error?

-- CrawfordCurrie - 23 Feb 2006

Hey, thanks again for the valuable comments and questions.

I've been playing around with the various security settings trying to figure out which does what and which ones go together. So there are two ways I get errors - If I check the top box in "configure" I think that is the permanent session info one, I get the error "Can't call method "param" in an undefined value at .../lib/Twiki/Client.pm line 198.

When I uncheck that box and choose one of the others (I don't remember which right now) I get a similar error with Client.pm but it is with "ID" at line 190.

I have a couple Unicode modules left to install, so I'm going to do that and see if it matters at all, but I'm guessing it doesn't since I think the Unicode stuff is for languages not logins. But I'll still plug those holes to get rid of any uncertainty.

-- BrianChabot - 28 Feb 2006

Did you set an absolute twikiLibPath in your /bin/LocalLib.cfg? This may have nothing to do with your problem but is often forget on new installs. smile

-- FranzJosefSilli - 28 Feb 2006

Yes, I did that. I didn't at first, so your comment is valid. But the whole TWiki didn't work at that point.

I'm going to load a newer Linux today and reload the whole TWiki package and see if that helps.

-- BrianChabot - 01 Mar 2006

I reloaded my PC with FedoraCore 4, turned off SELinux, reloaded TWiki and things seem to work much better than my old configuration. I don't consider this a problem any more.

I appreciate everyone's patience and input!

-- BrianChabot - 02 Mar 2006

I have the same problem, the archive Client.pm is trying to call a sub in the Session cpan module but I donīt know why it doesnīt find it.

I actually open de session cpan module and the sub is there.. any suggestion???

-- AlejandroPimentel - 10 Mar 2006

I am experiencing the same problem:

Can't call method "param" in an undefined value at .../lib/Twiki/Client.pm line 199

I'm at wit's end with this one and am not sure what I'm doing wrong. I'm hoping it's just me missing some obscure setting or a missed permission somewhere but I'm not having any luck finding it frown

-- NabihSaliba - 23 Apr 2006

The difficulty is that TWiki does not check nor report errors when creating a CGI Session. This has been fixed in the DEVELOP branch. The only hint I can give at the moment is to apply a patch from the DEVELOP branch to get a decent error message which should describe what is going wrong:

(Apply to =lib/TWiki/Client.pm)

@@ -199,5 +193,6 @@
         $cgisession = CGI::Session->new(
             undef, $query,
-            { Directory => $TWiki::cfg{Sessions}{Dir} } );
+            { Directory => $TWiki::cfg{Sessions}{Dir} } ) ||
+              die $CGI::Session::errstr;;
Good luck!

-- HaraldJoerg - 23 Apr 2006

I had this problem also.... I update the CPAN:Scalar::Util perl module, and all is fine wink

-- TWikiGuest - 25 Apr 2006

I also updated the Scalar::Util module and life is good again. I was experiencing the error on line 199 in Client.pm.

-- JoeDeal - 23 May 2006

Thanks for reporting a fix.

-- PeterThoeny - 23 May 2006

I installed Scalaer-List-Utils 1.18, but it didn't help. I still have the error message "can't call method "param"...Client.pm line 199". I don't know what it can be anymore frown Perhaps there are some good ideas in the community. Thanks to all for helping each other here.

-- TimBagusche - 06 Jun 2006

Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r18 - 2006-06-06 - TimBagusche
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.