Page 1 of 1

[CLOSED] stylesheets sometimes do not load

Posted: Sat Sep 28, 2013 4:34 am
by frankmanl
CMSMS 1.11.8
I'm building a site (http://tijdelijkewebsite.beaufort-extra.nl/index.php) using a fluid design (generated by DreamWeaver CS6).
Sometimes (quite often actually, maybe once in five times) when going to that site the stylesheets won't load and all content is shown without any layout.
Refreshing the page solves it.

Code: Select all

<!doctype html >
<!--[if lt IE 7]> <__html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]>    <__html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]>    <__html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<__html class="" lang="nl">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Beauforthuis - theater en zaalverhuur - Home</title>

<base href="http://tijdelijkewebsite.beaufort-extra.nl/" />
<meta name="Generator" content="CMS Made Simple - Copyright (C) 2004-12 Ted Kulp. All rights reserved." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<link rel="stylesheet" type="text/css" href="http://tijdelijkewebsite.beaufort-extra.nl/tmp/cache/stylesheet_combined_109222afca7afb11f9b8e4df6e42b64a.css" />
<link rel="stylesheet" type="text/css" href="http://tijdelijkewebsite.beaufort-extra.nl/tmp/cache/stylesheet_combined_7d04e414338ee82331aea2d26ccc1324.css" media="screen" />

<!--[if lt IE 9]>
<__script__ src="//html5shiv.googlecode.com/svn/trunk/html5.js"></__script>
<![endif]-->
<__script__ src="uploads/beaufort/scripts/bf-respond.min.js"></__script>
</head>
</__body>
(...)
<__body>
</__html>
This happens in Firefox, and it also happened when using CMSMS 1.11.7.
What can cause this and what can I do to solve it?

Frank

Re: stylesheets sometimes do not load

Posted: Tue Oct 01, 2013 3:43 pm
by paulbaker
I checked around 15 pages and couldn't replicate your error. Maybe look in Site Admin -> Admin Log or your PHP errors for clues?

Re: stylesheets sometimes do not load

Posted: Tue Oct 01, 2013 4:08 pm
by frankmanl
Thanks Paul. Last week this happened all the time, but the last couple of days all seems well.
Maybe a slow server? I'll close this topic anyway.

Re: [CLOSED] stylesheets sometimes do not load

Posted: Tue Oct 01, 2013 6:37 pm
by Rolf
Could be a browser caching problem, I have been there to...

Re: [CLOSED] stylesheets sometimes do not load

Posted: Wed Oct 02, 2013 3:52 pm
by Dr.CSS
You may want to move the top java script call down into the <head>...

Re: [CLOSED] stylesheets sometimes do not load

Posted: Wed Oct 02, 2013 6:05 pm
by frankmanl
I copied {process_pagedata} from a default template (CSSMenu top + 2 columns) and put it at the very top of my own template, before the HTML declaration.
Already thought that was a strange place.
I moved to the <head> now.
Thanks.