Question
I have upgraded an older twiki directly to 4.0.5, not sure which wersion I was previously running, I installed it over 1 year ago. Upgrade was performed via
UpgradeTwiki script, and went fine.
On to the problem at hand:
Right after an upgrade the menu looked poorly formatted font-wise, left menu pushed down, and header was at the bottom of the page. I have read everything I could find regarding this problem on this web site and updated fonts, which fixed the fnt formatting problem, changed permissions, and followed apache log files to remove all error causing probs.
I still have the left menu pushed down and header at the bottom of the page. Just to re-iterate I have changed permissions in data,lib,pub,locale,templates,tools to 777 recursively. I can pull up any file in pub/TWiki/*, whose ownership has been chnaged to apache:apache, and perms to 777. I am at a loss as to what can be causing thi sproblem now. In fact after making a backup I changed the ENTIRE twiki to 777 recursively, and the format did not improve. Running the configure page shows 1 warning, stating that current settign does not match HTTP_HOST, which is currently set to the hostname, and not web site name. Setting the {DefaultUrlHost} to the site name produces a waring that it does not match the host name.
Any help would be greatly appreciated.
Regards,
Vadim
Environment
--
VadimIsrailevich - 04 Dec 2006
Answer
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.
I have the idea that not all files are updated correctly. Try to download and install the latest
PatternSkin (along with the update patch you will find on that page).
--
ArthurClemens - 04 Dec 2006
Yes, and if that does not fix it, then...
HTTP_HOST is your website name but without the
http://
, which should fix the display
Find you hostname and then change the
DefaultUrlHost to that hostname
--
SteveStark - 04 Dec 2006
Arthur, thanks for the reply. I patched the
PatternSkin which fixed the font prob. There was a post about that. Sorry I was not more descriptive.
--
VadimIsrailevich - 04 Dec 2006
Changing the
DefaultUrlHost to an HTTP alias solves the config warning, but it re-appears again after a while, this time complaining that it should be my actual hostname.

And the
LeftMenu / Header still look broken.
--
VadimIsrailevich - 04 Dec 2006
Yes, an alias is not good enough. You need to put in the real hostname starting with http. You can use the alias within the htaccess after the site is correctly installed. fix the hostname problem and then see if the header is still broken. once the problem is resolved, you can then go into the htaccess and put in any directives
--
SteveStark - 05 Dec 2006
Hi, Steve. Did the change last night - same prob.
Was working with
ArthurClemens 'till he had to hit the sack - still no solution - Hey Arthur, you forced me to set security ;), which I thought I would do after I fixed the layout. Anyhow, the test you had about replacing the borger pic worked - I now have dancing dudes as my footer :). Anyone? YEEEELP.
--
VadimIsrailevich - 05 Dec 2006
I am assuming that the left bar is still displayed hanging below the left of the topic. if you are not receiving any errors in the configure then it sounds like something in the content is braking the code.
If the left bar is hanging when you go to any topic then I believe that something in the
TWikiPreferences is braking the code. Try and upload a new
TWikiPreferences
if the leftbar only hangs when you load some topics, then disable all the plugins in the configure and see that fixes the problem.
--
SteveStark - 05 Dec 2006
Solved:
http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-12-05,Tue&sel=307#l303
--
ArthurClemens - 05 Dec 2006
Yup CDot nailed it. To save everyone the trouble of reading through my IRC mumblings, the solution was to replace the files in
pub/TWiki/PatternSkin/* with the files fromn the 4.0.5 distro tarball. Apparently the Upgrade script left the old files in that directory, which caused the border problem.
-V
--
VadimIsrailevich - 05 Dec 2006
Most gracious thank to Arthur for the time he spent with me yesterday, and a low bow to CDot for his knowledge of the product.
Thank you!
--
VadimIsrailevich - 05 Dec 2006
strange that i was first going to suggest that but i assumed that the upgrade included the pattern files
--
SteveStark - 05 Dec 2006
I'm not quite sure where to make this comment as I'm new to Twiki admin but can the upgrade script be amended. ( Refered to at
http://twiki.org/cgi-bin/view/TWiki04/TWikiUpgradeGuide
)
I have just had the exact same issue and spent 2 wasted days trying to sort it out! Thanks.
--
GarryFerguson - 14 Dec 2006