Tags:
create new tag
view all tags

Question

I just used the Upgrade utility to upgrade an existing TWiki to the latest version. The upgrade appeared to go well, and I was able to resolve any configuration issues from the configure page. However, somthing seems to be wrong with the page templates: the "Main" left sidebar is pushed down the page below all page content, the page header is blank, and the header logos and text appears at the bottoom of the page. This seems to be a universal issue.

Any ideas?

Thanks for your help.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4 update 4, kernel 2.6.9-42.0.3.ELsmp
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: RHEL4
Web Browser: Firefox 1.5.0.7
Categories: Installation, Skin

-- JohnDeStefano - 17 Oct 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.

Update: I just copied all the contents of templates/ in the original TWiki to the upgraded version, after removing the contents of the new templates/ directory. The pages look much better, but the header is cut off yb the main page content: only about 2/3 of the top log is visible, and the Jump and Search fields overlap the page.

-- JohnDeStefano - 17 Oct 2006

This might be an issue of the browser caching css files. Try to shift-reload the page.

-- PeterThoeny - 17 Oct 2006

I've tried Ctrl+F5 (I dont think Shift+ does anything?) in Firefox; also deleted the cahce manually, but no luck: same page presentation. Very strange. Also noticed that the Jump and Search fields appear as bullets, or unstyled list items, so I would bet that this is some sort of style/template/CSS issue.

-- JohnDeStefano - 17 Oct 2006

Some things changed in the left bar. Please check to see how your _default web looks like. Otherwise it seems not everything is copied over well. You can try to re-install PatternSkin with the installer offered in that topic.

-- ArthurClemens - 17 Oct 2006

I didn't see an installer in the TWikiSkins topic (how to package, publish, browse, activate, etc., but no install), but the skin was in my skin "browser" topic with the same problem. So, eventually, I went to the PatternSkin topic on the main server, and downloaded and extracted the compressed file into my TWiki directory. Of course, that mucked things up, because my web server runs as a separate user... but once I changed the owner (chown) of all the related directories to that of the web server user, the skin was back to normal.

Thank you.

-- JohnDeStefano - 17 Oct 2006

Well, ok, ALMOST back to normal... now there seems to me some TWISTYSHOW and TWISTYTOGGLE gobbledygook on the WebHome that I can't get rid of.

-- JohnDeStefano - 17 Oct 2006

It looks like TWISTY and TWISTYTOGGLE tags are being wrapped around certain elements on the WebHome page, but not in the content: I verified that the content itself doesn't contain these tags. They also appear as hard-coded on the Edit page (wrapped around the textarea buttons and pagehelp sections). I downloaded and installed the latest version of the skin tgz file.

-- JohnDeStefano - 17 Oct 2006

John - check your permissions in the pub directory. I have seen this kind of thing resulting from, for example, the layout.css file not loading. There's a shell command at the end of the INSTALL.html file included in the distribution that will quickly reset all permissions in the pub directory. Personally, I always have to apply this command on a new installation to get the style sheets to load properly.

-- LynnwoodBrown - 17 Oct 2006

Thanks Lynwood... that looked promising. I ran the two chmod commands, and I also checked to make sure that everything in pub/ was owned by the web server user. But it didn't seem to help. I'm fairly certain that these didn't appear until I downloaded and re-installed the skin. Where would I go to check whether something was screwy with these TWIST tags?

-- JohnDeStefano - 17 Oct 2006

TwistyPlugin should be enabled as well - it is by default but since you are upgrading something seems to be messed up. So please visit TwistyPlugin, download and install.

-- ArthurClemens - 17 Oct 2006

Excellent. Re-downloaded, re-installed, and re-enabled the plugin, and all is well. Thank you.

-- JohnDeStefano - 18 Oct 2006

Something happened last night to break the skins again: this time, it's all of the skins, not just PatternSkin. Now all pages are coming up as bare HTML, no images or formatting at all, except for the "Main" heading on the sidebar on the main page. I tried previewing all the installed skins and they all appear the same way. I also tried resetting TWiki-wide permissions with this script with no effect: http://twiki.org/cgi-bin/view/TWiki/SettingFileAccessRightsLinuxUnix

Just for fun, I just tried re-installing PatternSkin and its recent update. No effect.

Maybe this is somehow related to the updates I had to do to TwistyContrib, TwistyPlugin, and BehaviourContrib two days ago? I have no idea.

-- JohnDeStefano - 03 Nov 2006

It looks like the recent problems were related to an apache redirect configuration issue, nothing at all to do with TWiki. Sorry for the trouble.

-- JohnDeStefano - 03 Nov 2006

Change status to:
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-11-03 - JohnDeStefano
 
  • 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.