Tags:
create new tag
view all tags

Question

In a new installation of the current TWiki release, I'm getting an view error similar to the errors mentioned in these questions:

The error is:

Template "oopsattention" not found.  Check the configuration setting for {TemplateDir}.

As instructed in the other posts, I've ensured that LocalLib.cfg contains the absolute path to the lib directory as the value for $twikiLibPath, and that ownership of the templates directory is set to the web server user (apache).

And, of course, I've checked the value for {TemplateDir}, which is set to the full, absolute path of the twiki/templates directory.

I am not sure what else to try, and I'd appreciate any suggestions.

Environment

TWiki version: Codev.TWiki-4.1.2
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4u5 Linux
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: Linux, Mac OS X 1.4.10
Web Browser: Firefox 2
Categories: Installation

-- JohnDeStefano - 20 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.

last time I saw this error, my {TemplatePath} was totally wrong - having been corrupted somewhere along the way. I'd suggest moving yout LocalSite.cfg, and creating a new one. If the problem persists, even though your LocalSite is the defaults plus the path settings, then mmm

-- SvenDowideit - 22 Aug 2007

Thank you for your suggestion, and for moving my focus from LocalLib.cfg to LocalSite.cfg. I removed bin/LocalSite.cfg and ran configure again. It "guessed" all the correct path values, which were exactly the same as they were before. The bin/LocalSite.cfg file was not been regenerated on the file system; it was created instead in lib/, which seems to be the proper place for it. So if nothing else, I've learned the right location for this file. Thanks!

-- JohnDeStefano - 22 Aug 2007

Note that the error says to check {TemplateDir} but it is {TemplatePath} that is most likely corrupted.

(That's what happened to me and it took a while to figure out what to do).

-- VickiBrown - 25 Nov 2007

I just got bitten by this too. If lib/TWiki/UI/Oops.pm would have mentioned {TemplatePath} as well I would have found and fixed the problem much quicker.

-- HarlanStenn - 17 Jul 2008

done and donner : Bugs:Item5786

-- SvenDowideit - 17 Jul 2008

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-07-17 - SvenDowideit
 
  • 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.