Question
New to this game
Anyway, followed the installation pointers, and got it sort of working. I get the twikipage, but something seems to be missing -- I get lots of uninterpreted variable names, such as http_equiv_on_view. web_topic_list, wikiweblist etc, rather than a list of topics to edit.
I can't seem to edit any site level settings.
What am I doing wrong here?
The site is on
http://wolverine.dynodns.net/twiki/bin/view
.
- TWiki version: latest stable
- Web server: Apache 1.3.14
- Server OS: OpenBSD 2.8
- Web browser: IE 6.0
- Client OS: Win2k pro
--
StefanKruger - 22 Apr 2002
Answer
Have a look at
TopicSaveErrorandSoftwareError and
VariablesNotEvaluating, which are similar to this problem - most likely it is a misconfiguration of TWiki.cfg, or perhaps a permissions issue. Also, see
TWikiDebugging (check your Apache error logs and post errors here).
Try downloading the latest
testenv from
CVSget:bin/testenv
, it has a lot more diagnostic checks, which may help. In particular, check that the data directory is set correctly in
TWiki.cfg - feel free to attach this here.
Make sure that the following TWiki.cfg variables (from your testenv output) point to directories that exist on your system, and of course are where you put the TWiki files:
$pubDir: /home/httpd/twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir: /home/httpd/twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
$dataDir: /home/httpd/twiki/data
Note: This is the data directory where TWiki stores all topics.
From looking at your server's
testenv output, it appears these should be under /usr/local/apache/htdocs.
--
RichardDonkin - 22 Apr 2002
Right, find attached the output from the latest testenv. My webserver lives in /usr/local/apache/ and the twiki stuff in /home/httpd/twiki/. The twiki stuff is then script-aliased in httpd.conf. Is this a problem? Should the twiki data stuff actually be under the apache htdocs hierarchy? I have the following entry in the httpd.conf file:
ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/"
Alias /twiki/ "/home/httpd/twiki/"
<Directory "/home/httpd/twiki/bin">
Options +ExecCGI
SetHandler cgi-script
Allow from all
</Directory>
<Directory "/home/httpd/twiki/pub">
Options FollowSymLinks +Includes
AllowOverride None
Allow from all
</Directory>
<Directory "/home/httpd/twiki/data">
deny from all
</Directory>
<Directory "/home/httpd/twiki/templates">
deny from all
</Directory>
--
StefanKruger - 23 Apr 2002
Thanks for that - btw you can use <verbatim> instead of <pre>, to simplify including config files etc.
Unfortunately I can't see any problems in this setup, but it is probably down to TWiki.cfg somehow - can you attach any Apache error log output as well, and the output from the TWiki
data/debug.txt and
warning.txt files?
--
RichardDonkin - 23 Apr 2002
Ok, attached the files. The apache error log is clean. I wonder if this might be a conflict with mod_gzip -- anyone successfully running mod_gzip with twiki?
--
StefanKruger - 23 Apr 2002
Tried turning off mod_gzip; didn't help, unfortunately.
Is there a list available somewhere with the permissions/ownerships that should be used for a working installation?
--
StefanKruger - 23 Apr 2002
Resolution: delete the lot, unpack the original .zip file, and as if by magic it seems to work. Computers are strange. Anyway, thanks to Richard for the time, now I can dive in and get twiking!
--
StefanKruger - 23 Apr 2002
Hi! I had about the same problem as Stefan - and - his solution

worked for me as well.
--
JoergWeichelt - 04 Dec 2002