Question
I've installed the latest version of Twiki and was trying to do some light customization to it. I edited the table that lists the current webs
(e.g., *.Main, *.TWiki, *.Know, *.Test - and each has 2 columns next to them that provide links and a brief text description.)
All I think I changed was the text descriptions in the 3rd column.
Now, on all pages I get one of the following type of text appearing at the top when pages are served:
(note: i had to add spaces to the strings so they wouldn't be interpreted here on the support site)
% HTTP _EQUIV _ON _VIEW %
% HTTP _EQUIV _ON _EDIt %
% HTTP _EQUIV _ON _PREVIEW %
here's a sample web page source code when viewed from the browser. it looks like this text is part of :
(note: i had to remove the html '<' on some source below so it could be seen)
head
title> n2d . Main .
WebHome /title>
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> %HTTP _EQUIV _ON _VIEW%
base href="http://myurl/twiki/bin/view/Main/WebHome" />
head>
body bgcolor="#ffffff"...
What did i do to cause this? How do i fix it?
Thanks.
- TWiki version: latest
- Web server: apache
- Server OS: redhat linux
- Web browser: ie
- Client OS: win2000
--
BrettButler - 10 Aug 2002
Answer
If you visit
WebChanges in each web, but mainly in TWiki, then hit the link that shows the date-time of recently changed pages, you should see what you did. Then, you can visit an older version of the page in question and you should be able to restore the older version by re-editing the latest version. Or see the tip at the end of TWiki.cfg to see how to undo the last change to a page.
This error can happen if
TWikiPreferences or TWiki.cfg are misconfigured, e.g. if you copy an old TWiki.cfg over the latest one.
It may be easiest to re-install the TWiki
data directory and re-do TWiki.cfg, if you haven't done too much so far.
--
RichardDonkin - 10 Aug 2002
Hi, you were right. I had also changed the $twikiWebname = "ourname"; from "TWiki" in the /lib/twiki.cfg file. When I put it back to TWiki the pages interpret the /templates/ files correctly. very strange

guess i'll have to leave it that way.
--
BrettButler - 10 Aug 2002
Glad it's now working, this blocked me for some time once...
I think the TWiki webname, like any web name, needs to start with a capital letter and must also not be a
WikiWord. However, since it is the TWiki documentation web it's unusual to change this, except perhaps to TWikidocs or similar.
--
RichardDonkin - 11 Aug 2002