Tags:
create new tag
, view all tags

Question

I see in my error_log the following mesage

File does not exist: /net/kawela/kawela/intdev/WebDocRoot/PublicTwiki/pub/TWiki/TWikiPreferences/$name, referer: http://kawela.keck.hawaii.edu/PublicTwiki/bin/view/TWiki/TWikiPreferences

I thik it comes from the section of TWikiPreferences that looks like

  • Format of images when the link check box is checked: (can be overwritten by user preferences)
    • HELP NOTE: Keyword $name gets expanded to filename; $comment to comment; $size to width="..." height="..." attribute of img tag; \t to tab (3 spaces for bullets).
      * Set ATTACHEDIMAGEFORMAT = \t* $comment: <br />
        <img src="%ATTACHURLPATH%/$name" alt="$comment" $size />

Is this expected?

Mahalo, Wayne

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris
Web server: Apache2
Perl version:  
Client OS:  
Web Browser:  
Categories: Installation

-- WayneDahl - 09 Aug 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

A wiki wiki answer: If the setting with $name is enclosed in varbatim tags you should not get this message in the error log. Checking... Yes, the ATTACHEDIMAGEFORMAT in TWiki04.TWikiPreferences is not enclosed in verbatim tags. If you do it the same way as ATTACHEDFILELINKFORMAT you should be OK.

-- PeterThoeny - 09 Aug 2006

 
Topic revision: r2 - 2006-08-09 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.