Bug: TWikiPreferences as delivered emits error to apache log
TWikiPreferences in default installation contains the line
* Set ATTACHEDIMAGEFORMAT = \t* $comment:
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