Tags:
create new tag
, view all tags

Bug: TWikiPreferences as delivered emits error to apache log

TWikiPreferences in default installation contains the line

      * Set ATTACHEDIMAGEFORMAT = \t* $comment: 
$name
emits the following error to the apache log:
[Sun Nov  3 13:24:14 2002] [error] [client 127.0.0.1] File does not exist: /c/cygwin/usr/local/lib/twiki/pub/Test/TWikiPreferences/$name

Strangely enough, the error message is not emitted by the similar definition for ATTACHEDFILELINKFORMAT.

Test case

Environment

TWiki version: Athens
TWiki plugins: Many, but irrelevant
Server OS: Windows
Web server: Apache
Perl version: 5.6.1
Client OS: W2K
Web Browser: IE

-- ThomasWeigert - 03 Nov 2002

Follow up

Fix record

That has been fixed already at TWiki.org and in the latest TWikiBetaRelease. The trick is to enclose the variable setting in verbatim tags:

<verbatim>
   * Set ATTACHEDIMAGEFORMAT = \t* $comment: <br />
     <img src="%ATTACHURLPATH%/$name" alt="$name" $size />
</verbatim>

-- PeterThoeny - 04 Nov 2002

Topic revision: r2 - 2002-11-04 - PeterThoeny
 
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.