[CLOSED] stylesheets sometimes do not load

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

[CLOSED] stylesheets sometimes do not load

Post 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
Last edited by frankmanl on Tue Oct 01, 2013 4:08 pm, edited 1 time in total.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: stylesheets sometimes do not load

Post 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?
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

Re: stylesheets sometimes do not load

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [CLOSED] stylesheets sometimes do not load

Post by Rolf »

Could be a browser caching problem, I have been there to...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [CLOSED] stylesheets sometimes do not load

Post by Dr.CSS »

You may want to move the top java script call down into the <head>...
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

Re: [CLOSED] stylesheets sometimes do not load

Post 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.
Post Reply

Return to “Layout and Design (CSS & HTML)”