r4 - 15 Mar 2007 - 13:47:02 - AlokNarulaYou are here: TWiki >  Support Web > ProblemWithTWikisErrorHandler
Tags:
, create new tag

Question

I'm getting the following message when TWiki cannot authenticate a user at the time of login. I'm using LDAP login and my LDAP server is Microsoft Active Directory.

“ TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. Undefined subroutine &TWiki::Contrib::EditContrib::Include41::isTrue called”

In TWiki 4.05, the error handler displayed a screen saying "Access Denied". It is not showing in TWiki 4.1. Is this a known issue? If yes, how can I resolve it?

Environment

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat Fedora 5
Web server: Apache
Perl version: 5.8
Client OS: Windows XP
Web Browser: Firefox, IE
Categories: Authentication, Security, Authorisation
-- AlokNarula - 06 Mar 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.

It looks very much like the code in the EditContrib is broken. I don't think that's anything to do with the TWiki error handling.

-- CrawfordCurrie - 14 Mar 2007

Thanks Crawford. I was getting this message because I restricted access to the TWiki server to a group. This included the TWiki web as well. When I opened the TWiki web to unauthenticated users, the error disappeared. I reckon TWiki tries to open the Access denied template when the user cannot be authenticated. But when TWiki cannot even open the Access denied template, this error is shown.

-- AlokNarula - 15 Mar 2007

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo