We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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 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.

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:
Topic revision: r7 - 17 Jul 2008 - 05:22:43 - SvenDowideit
 
TWIKI.NET
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