Tags:
create new tag
view all tags

Question

Hello. I have asked this question as a follow up to a ticket in which I had an unrelated problem. I hope I am not violating the mores of the forum by posting a second question, but it occured to me that it may not belong in that topic at this point. I am performing a Twiki upgrade from Cairo to Dakar; I'm on the 1 inch line with the ball. Here is the issue: the left sidebar appends itself to the botom of the page rather than displaying in the blank space allocated on the left hand side. I have attached a copy of the image to this page. It does this in the PatternSkin example page itself; In TWikiPreferences I set:
Set SKIN = pattern
and
Set TWIKILAYOUTURL = http://twiki/twiki4.0.2/pub/TWiki/PatternSkin/layout.css
and
Set TWIKISTYLEURL = http://twiki/twiki4.0.2/pub/TWiki/PatternSkin/style.css
It uses the pattern skin color scheme; maybe it's not using the PatternSkin layout? I have also attached the page source from WebHome/main. Thanks!

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Enterprise System 4.0
Web server: Apache/2.0.52
Perl version: perl v5.8.5
Client OS: Windows XP SP2
Web Browser: Firefox 1.5, IE 6
Categories: Installation, Plugins, Skin

-- JosephHammerman - 25 Apr 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

looks like the CSS files aren't being loaded

  • check your access_log (assuming apache) what errors is it reporting?
  • check your PubDir setting in configure
  • check the permissions on the pub/ directory and below; they should be readable by the web-server
ps, make sure you're overriding preferences in Main.TWikiPreferences and not TWiki.TWikiPreferences

-- WillNorris - 25 Apr 2006

I had the same problem. I think that some of the css was either not copied into the new directory, or was overlayed by the older versions. I ended up doing fresh install, and then manually migrated my data webs into the new install instead of using the upgrade script.

I also believe I've seen some issues with the browser caching the CSS. Shift-Reload on firefox seemed to correct some of my issues.

-- GeorgeClark - 25 Apr 2006

I had exactly the same issue when doing an upgrade from 4.0.1 to 4.0.2 today. I'm confident that no caching issue was involved, because I traced the HTTP protocol for 304 and 404 situations. Strange enough the variables used in TopBar do not expand according to vartiable definitions - see:

<a href="%WEBLOGOURL%"><img src="%WEBLOGOIMG%" border="0" alt="%WEBLOGOALT%" />
What does this indicate?

access_log and error_log don't indicate any issue, only the favicon produces a 404 - which should be nothing to complain.

Any idea??! Thanks!

-- DirkSchlossmacher - 25 Apr 2006

1. Access_log is error free. Error_log reports
[Tue Apr 25 09:32:43 2006] [error] [client 172.16.130.217] [Tue Apr 25 09:32:43 2006] view: Use of uninitialized value in pattern match (m//) at /usr/share/twiki4.0.2/lib/TWiki.pm line 1109. [Tue Apr 25 09:32:44 2006] [error] [client 172.16.130.217] File does not exist: /usr/share/twiki4.0.2/pub/Main/WebHome/web-bg-small.gif, referer: http://twiki/twiki4.0.2/bin/view
2.I looked at the configure script. The paths are correct; The "pub" directory link is broken, however. The pub directory has the correct UNiX permissions:
drwxr-xr-x 26 apache apache 4096 Apr 24 15:35 pub
Here is the Directory block within the Twiki virtual host:
Options FollowSymLinks +Includes AllowOverride None Allow from all
I'm not sure what you mean in the postscript to your message; I set those values in TWikiPreferences. I thought those were where site wide confgurations like SKIN were set. If I click you two linksabove, the Main link does not have a SKIN value set. You seem to be indicating that I shoud set the SKIN and TWIKISTYLEURL etc. values in TWikiPreferences. Am I misunderstanding you?
This error manifests itself whether I perform a manual or a automatic upgrade; in fact, it is [resent in the vanilla installation of TWiki 4.0.2, prior to undertaking any upgrade efforts. I've tried a hard refresh on my browser. Thanks for all your help!

-- JosephHammerman - 25 Apr 2006

Ok, this ticket can be resolved. LynWood, Soronthar, CDot and Drusilla helped me out in IRC chat. I had to download the new PatternSkin, unzip it, and copy it's files into the correct locations on my new install, in case anyone else has this problem. Just to summarize: in upgrading from Cairo to Dakar, I had to edit Main/TWikiPreferences.txt to include the line <space><space><space>*<space>Set<space>ICONTOPIC <space>=<space>TWiki.TWikiDocGraphics, and I had to download PatternSkin, and copy in the files to their correct locations. Not cookbook, but maybe this advice will help someone out. Thanks all!

-- JosephHammerman - 25 Apr 2006

Thanks Joseph, regarding the distorted template elements your hint on reinstalling the PatternSkin Plugin helped.

However, one big issue remains:

<a href="%WEBLOGOURL%"><img src="%WEBLOGOIMG%" border="0" alt="%WEBLOGOALT%" />

The TWiki Variables in the TopBar do not get resolved, even though defined in TWikiPreferences and working prior to the 401 to 402 upgrade...

Does anyone have a hint on that!?

Thank you, Dirk

-- DirkSchlossmacher - 27 Apr 2006

Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm view.htm r1 manage 18.3 K 2006-04-25 - 00:23 UnknownUser  
HTMLhtm viewpagesource.htm r1 manage 17.0 K 2006-04-25 - 00:24 UnknownUser  
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-04-27 - DirkSchlossmacher
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.