Tags:
create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2002-07-27 - RichardDonkin
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.