Question
While installing TWiki on Linux (without root access) I don't get rid
of the "Use of uninitialized value in concatenation (.) or string at /usr/local/httpd/cgi-bin/testenv line 70. "
error while executing the testenv script.
can anybody supply a snippet from a working TWiki.cfg file, you see the
relevant section below:
$wikiHomeUrl = "http://188.88.111.11/usr/local/httpd/htdocs/twiki/pub/";
$defaultUrlHost = "http://188.88.111.11";
$scriptUrlPath = "http://188.88.111.11/usr/local/httpd/cgi-bin";
$pubUrlPath = "http://188.88.111.11/usr/local/httpd/htdocs/twiki/pub";
$pubDir = "/usr/local/httpd/htdocs/twiki/pub";
$templateDir = "/home/starke/twiki/templates";!
$dataDir = "/home/starke/twiki/data";
.
- TWiki version: 01 Dec 2001
- Web server: Apache
- Server OS: Linux
- Web browser: IE 5
- Client OS: Win-NT
thanx
--
GernotStarke - 24 Jul 2002
Answer
This is not an error, just a warning - if it is only happening in testenv, or if you don't have a high volume site, you can ignore this. If you really want to fix this, try the
TWikiBetaRelease or just download the latest testenv at
CVSget:bin/testenv.
--
RichardDonkin - 24 Jul 2002
Problem remains:
The problem continues, as my testenv does not give me further info about variable settings -
and in the output of testenv I am notified that all of the dirs from my cfg-file above are
not found - therefore I concluded the warning might be the source of the problem.
Again: could you post a snippet of a working TWiki.cfg file?
regards,
--Main.GernotStarke - 24 Jul 2002
The main problem is that you are using filenames where URLs are required in the TWiki.cfg file (i.e. anything starting with http://). You need to check the actual URL used for TWiki scripts in your setup and use this. Please download and run the latest testenv as suggested, and attach the output here.
As for a working TWiki.cfg file - just use the one that is included with the TWiki distribution, as the values in there do work for the corresponding setup.
The warning is not related to this problem, please ignore it.
--
RichardDonkin - 25 Jul 2002
Final Comment
Richard, thanx for your answer - it works now. I appreciate such a quick reaction.
regards,
--
GernotStarke - 25 Jul 2002