Tags:
create new tag
, view all tags

Question

Q. I've recently edited my TWikiPreferences with the WYSIWYG editor, and now the icons are showing up as square boxes with a question mark. When I right click on the icon and try to view it in a new browser window, I notice that the path has some spaces in between the topic and the icon name. How do I fix this? It looks like the icons on this page!

A. The WYSIWYG editor is adding trailing spaces to the line:

Skin icons

  • Topic containing the icon graphics library. Icons can easily be rendered with Name.

You need to edit this page in raw mode, and delete the extra spaces after the: * Set ICONTOPIC = TWikiDocGraphics line.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5.X
Client OS: Any
Web Browser: Any
Categories: Installation, Missing functionality, Performance, Deployment, Browser Issue, Add-Ons, Skin

-- JosephTrexler - 29 Feb 2008

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.

I can verify that I saw this EXACT same problem with a similar set of circumstances.

Background: I made the mistake of editing TWikiPreferences using the Edit button and doing it in WYSIWIG mode (Note: Developers, please offer 2 buttons at the top -- raw/wysiwig for out-of-the-box install.). All that I did was uncomment the #LINKTOOLTIPINFO (I thought it would be a neat feature) and save the file.

OUCH --- let the hell commence. To sum up -- the icons in the WebLeftBar disappeared and the entire system slowed to a crawl. Couldn't view anything.

Solution Method

  • You need to get access to your Apache Error Log and look at it as you access pages. In my case,
    [error] [client xx.xx.xx.xx] File does not exist: /twiki/pub/TWiki/TWikiDocGraphics  /home.gif
    • NOTE: the spaces after the "TWikiDocGraphics " . Guess what, I think you can blame the good old WYSIWIG editor for this one!!! Some how, http://www.twiki.org/p/pub/Support/HowToFixLostIcons got itself clobbered by something. Definitely a bug.
  • Basically you need to back-rev your Preference file. This seems to be the most efficient way to get back to reasonable settings without all sorts of %20's and whatnot added.
    • Using the More topic actions link at the bottom of the page, walk back to a prior version of the document, before you WYSIWIG'd it to death.

  • The final thing that I recommend is adding a link at the every top of your pref's page
    [[path/to/?rawedit][RAW EDIT THIS PAGE]]

-- RedByer - 14 May 2008

 
Change status to:
Topic revision: r2 - 2008-05-14 - RedByer
 
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.