• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The distributed LocalSite.cfg.txt in 4.0.3 uses incorrect syntax, so a straightforward edit of the file will not produce a working TWiki. For example:

$TWiki::$cfg{DefaultUrlHost} = 'http://your.domain.com';

The $cfg is wrong, it should be cfg. The corrected line would be:

$TWiki::cfg{DefaultUrlHost} = 'http://your.domain.com';

This same error is on every line that attempts to set a configuration variable. Note that the last such line has 2 incorrect references:

$TWiki::$cfg{LogDir} = $TWiki::$cfg{DataDir};

Both the left and right hand sides are incorrect.

Yes. That should be fixed.

I do not see this as a bug demanding a 4.0.4 release because the file is in reality not used for anything. Configure creates a fresh new LocalSite.cfg when you run it the first time. So I doubt many will ever notice. But it should be fixed and it should be listed in Known Problems. Hotfix is not really needed either.

-- KJL

But the installation docs are not clear about this. INSTALL.html says (step 5): Create the file /twiki/bin/LocalLib.cfg. Because the txt file is distributed it looks like I should rename LocalSite.cfg.txt to LocalSite.cfg (I believe this was the procedure once).


Sorry, got LocalSite and LocalLib mixed up.


Release in 4.0.4. Closing


Summary TWiki 4.0.3 distributed LocalSite.cfg.txt uses incorrect syntax
ReportedBy TWiki:Main.DavidBright
Codebase 4.0.3
SVN Range Sun, 25 Jun 2006 build 10720
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 10746 11156
TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt LocalSite.cfg.txt r1 manage 2.1 K 2006-06-28 - 23:00 UnknownUser  
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2006-07-08 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback