Page 1 of 1

Layout is being messed up

Posted: Sun Nov 12, 2006 6:55 pm
by achrist
I am using PHP 5.1.6., Apache 2.0.59, MySQL 5.0.24a.

Today I downloaded and installed from scratch CMSMS 1.0. At first everything looked fine, bud as I moved around the default entries reading about basic principles I noticed that the standard themes and styles started failing. First, a certain page might look fine, but then later on, it would suddenly look as if it had missed its layout. For instance, take a look at this screenshot: Unformated page.

It should off course look more like this one: OK page.

After having used the links on the demo pages for a while, I am able to produce this error in both Firefox 2.0 and IE 6.

Funny thing this is, that apparently there is no difference between the source code for a formated and an unformated page, so I looks as if the browsers are being worn down or are cheated into using something something in their chache that should not be there. Actually, clearing the cache temporarily solves the problem in both browsers. I just don't think I can ask my visitors to do that every now and then  ;)

What could be the problem here?

/Allan

Re: Layout is being messed up

Posted: Sun Nov 12, 2006 7:08 pm
by tsw
check the page source and look for stylesheet inclusion (its in the head part) then look at that link with browser, it should either show the css or some error.

what is the memorylimit for php on that server?

Re: Layout is being messed up

Posted: Sun Nov 12, 2006 8:36 pm
by achrist
There is a stylesheet inclusion like this:
http://www.gantrup.dk/cmsmadesimple/sty ... ype=screen
and pasting that into a browser address line produces an empty page.

The PHP memory limit on the server is 16MB.

But mind you:
  • There is no difference between the source of a page (as reported by the browsers) when it is OK and when it is not
  • The problem seems to occur ramdomly
    [li]Even as I look at this page in this forum I have the same problem. The top of the page looks like this:
how the forum looks now in my browser

If I clear the cache in the browser, then the presentation of the forum changes. Needless to say, I have never experienced a  similar behaviour with other fora, CMSes or home pages.

/Allan

Re: Layout is being messed up

Posted: Sun Nov 12, 2006 11:38 pm
by Dr.CSS
The only one in your site that has that line in it is  Top simple navigation + left subnavigation + 1 column...

I've gone thru all your pages and had no unstyled pages show up...

It may be your browser ...