Tags:
create new tag
view all tags
I have installed Twiki on my solaris 8 system as a non-root access user. I also copied the bin scripts to /usr/local/apache/cgi-bin and lib files under the /usr/local/apache/lib.

Running testenv always give me error message:

Name "main::wikiHomeUrl" used only once: possible typo at testenv line 70.

Are these entries correct in the twigki.cgf file:

$wikiHomeUrl      = "http://snow:8888/";
$defaultUrlHost="http://snow:8888"; 
$scriptUrlPath = "/cgi-bin"; 
# I have also tried with /usr/local/apache/cgi-bin
$pubUrlPath        ="/usr/local/apache/htdocs/pub";
$pubDir           = "/home/httpd/twiki/pub";
$pubDir = "/usr/local/apache/htdocs/pub";
$templateDir = "/export/home/twiki/templates";
$dataDir = "/export/home/twiki/data";
$rcsDir           = "/usr/local/bin";

Or do I need to change something else.

The output of testenv gives a warning messages: $scriptUrlPath: /usr/local/apache/cgi-bin Note: This must be the URI of the TWiki cgi-bin directory. Use of uninitialized value at testenv line 92. Warning: It does not match with REQUEST_URI

-- TraptiP - 27 Mar 2002

The uninitialised variable message is just a warning, can be ignored.

The problem is that your $pubUrlPath is not a URL path - it needs to be something relative to your hostname, e.g. /mysite/pub, for use in URLs such as http://snow:8888/mysite/pub/foobar... Probably '/pub' will work for your setup as it's relative to the htdocs directory normally.

Also, the first $pubDir setting will be overwritten by the second one.

Once you've fixed that, download the latest testenv from CookbookActivePerlTestenv if you are still having problems.

-- RichardDonkin - 28 Mar 2002

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2002-03-29 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.