Tags:
create new tag
view all tags

Question

After installing LdapContrib and LdapNgPlugin, the configure script doesn't work as expected anymore. First, the LDAP configuration settings don't show up on the configure screen (see screenshot below) and have to be adjusted manually in lib/LocalSite.cfg. Secondly, whenever the configure script is saved (e.g. enabling or disabling a plugin) all the LDAP settings are removed from lib/LocalSite.cfg. Is it possible that my LocalSite.cfg is corrupt? I've attached it - if that helps.

configure-screenshot.jpg

A more general question: How is the LocalSite.cfg file read in by the configure script? As far as I can tell, there are no tags in this file to split it up into the available categories.

Thanks for you help!

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin,
Server OS: Debian Etch 2.6.18-4-486
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS: Windows XP
Web Browser: Firefox 2 & IE 6
Categories: Deployment

-- MartinKaufmann - 13 Aug 2007

Answer

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.

The structure is defined by lib/TWiki.spec (and the Config.spec files of any contribs you have loaded, such as LdapContrib). LocalSite.cfg just contains the values. It looks as if you have an incorrect Config.spec for the LdapContrib - that would explain the "lost settings" - but it's hard to be sure.

-- CrawfordCurrie - 20 Aug 2007

Copying Config.spec from the original LdapContrib archive fixed my problem. There were quite a lot of differences between the Config.spec I used before and the original one I'm using now. I don't know what's caused it - maybe a version mismatch? Thanks for your help!

-- MartinKaufmann - 21 Aug 2007

  • I am seeing this error in my Twiki4.1.0 configuration file. Surprisingly even after having this error my Twiki is working fine so far. But I am really eager to know how can i fix this error?:
    Presentation2.jpg

-- ArchnaAgarwal - 2011-03-02

Please open a new support question.

-- PeterThoeny - 2011-05-02

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg LocalSite-corrupt.cfg r1 manage 10.8 K 2007-08-13 - 09:56 UnknownUser Configururation File
JPEGjpg Presentation2.jpg r1 manage 74.1 K 2011-03-02 - 14:36 UnknownUser I am seeing this error in my Twiki4.1.0 configuration file. Surprisingly even after having this error my Twiki is working fine so far. But I am really eager to know how can i fix this error?
JPEGjpg configure-screenshot.jpg r1 manage 37.2 K 2007-08-13 - 09:42 UnknownUser Configure Screenshot
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2011-05-02 - 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.