Tags:
create new tag
, view all tags

Question

In my Twiki error log I get the following:

[Mon Nov 24 15:26:58 2003] view.cgi: Use of uninitialized value in concatenation (.) at /home/www/sites/twiki.sps.mot.com/lib/TWiki.pm line 1834.

I read in a previous submission for the last version of Twiki that this was related to having the TWiki.cfg wrong - something about having paths and not having URL's in the CFG file. A snippet of my twiki.cfg looks like:

$defaultUrlHost   = "http://twiki.sps.mot.com";
#                   %SCRIPTURLPATH% : cgi-bin URL path for TWiki:
$scriptUrlPath    = "/bin";
#                   %PUBURLPATH% : Public data URL path for TWiki (root of attachments) :
$pubUrlPath       = "/pub";
#                   Public data directory (file path not URL), must match $pubUrlPath :
$pubDir           = "/home/www/sites/twiki.sps.mot.com/pub";
#                   Template directory :
$templateDir      = "/home/www/sites/twiki.sps.mot.com/templates";
#                   Data (topic files) root directory (file path not URL):
$dataDir          = "/home/www/sites/twiki.sps.mot.com/data";
#                   Log directory for log files, debug and warning files. Default "$dataDir" :
$logDir           = "$dataDir";
Running the lastest version of testenv does not produce this error. Any thoughts? thanks

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Unix (solaris)
Web server: Apache/1.3.26 (Unix) PHP/4.2.3
Perl version: 5.6.0
Client OS: WinXPPro
Web Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

-- SteveRJones - 24 Nov 2003

Answer


- Oops, I may have found it in:
$pubUrlPath       = "/pub";

as the lines 1833 and 1834 in TWiki.pm refer to this variable. -- SteveRJones - 24 Nov 2003


Oops, nope, that wasn't it. I'm still looking for some answers. -- SteveRJones - 24 Nov 2003
One thing to check; do any of the plugins you have installed call handleInternalTags (directly or via a function that in turn calls it, such as commonTagsHandler)? If the incorrect parameters are being passed from the plugin then $_[1] and $_[2] may be undefined.

-- CrawfordCurrie - 15 Dec 2003

Well, as these are just warnings I am not overly concerned and i have been going through and checking plugins as Crawford suggests.

Closing this help request.

-- SteveRJones - 21 Jan 2004

Topic revision: r3 - 2004-01-21 - SteveRJones
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.