Pages Losing Styles aimlessly

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Zafazo
New Member
New Member
Posts: 9
Joined: Mon Dec 12, 2011 6:40 pm

Pages Losing Styles aimlessly

Post by Zafazo »

Version info:
CMSMS: 1.10.1
Apache version 2.2.21
PHP version 5.2.17
MySQL version 5.1.56
Architecture i686
Operating system linux


Alright this is a recurring issue with CMSMS 1.10.1, at least what i have noticed with our installation.

And the title explains it all. Pages on are website aimlessly lose the styling that should be applied to them.

Now to fix this issue I simply have to re save the pages in CMSMS that are doing this and they work once again.

And to boot it's only one specific page that has been doing this, another decided to start this today.

Below is the source content code for the page that has done this on at least 3 different occasions.

Code: Select all

<div><img src="uploads/images/sports/sportsbanner.jpg" alt="" width="400" height="115" /></div>
<div><a href="uploads/images/sports/2011SportsBook.pdf"><img src="uploads/images/sports/SportsBookCover.png" alt="" width="300" height="398" /></a></div>
<div><a href="{cms_selflink href='calendar' }"><img src="uploads/images/sports/sportscal.jpg" alt="" width="250" height="331" /></a></div>
<div><a href="{cms_selflink href='scores' }"><img src="uploads/images/sports/sportsscores.jpg" alt="" width="250" height="189" /></a></div>
<div><a href="{cms_selflink href='high-school-gow' }"><img style="clear: both;" src="uploads/images/sports/HSGOW.jpg" alt="" width="318" height="267" /></a></div>
<div> <a href="{cms_selflink href='osage-gow' }"><img src="uploads/images/sports/OCGOW.jpg" alt="" width="305" height="224" /></a></div>
<div><a href="{cms_selflink href='ohs' }"><img src="uploads/images/sports/OHS.jpg" alt="" width="250" height="188" /></a></div>
<div><a href="{cms_selflink href='ou' }"><img src="uploads/images/sports/OU.jpg" alt="" width="217" height="197" /></a></div>
<div><img src="uploads/images/sports/sportsicons.jpg" alt="" width="500" height="67" /></div>
Now I have thought on this some and it wasn't until we started to get more users on CMSMS who edit content etc.

These individuals only have modified "editor" permissions
and can not edit style sheets or templates.

However, with my experience with different software or CMS's in specific, some browsers seem to do some crazy things to begin with depending on what OS/browser a user may be using, which brought me to the conclusion that this could be related more to our specific user's.

On another note the main page that has been having this issue is never changed or edited, shouldn't anyway and as far as I can tell with logs etc. it hasn't been.

Regardless, It is an annoying issue none the less.

Also, All my templates have 2 style sheets connected to them.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pages Losing Styles aimlessly

Post by Dr.CSS »

Are you asking for paid Help or?...

Have you set the time zone, are you using the older {stylesheet} tag or the new {cms_stylesheet} tag
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Pages Losing Styles aimlessly

Post by applejack »

Please post further details or PM me...
Zafazo
New Member
New Member
Posts: 9
Joined: Mon Dec 12, 2011 6:40 pm

Re: Pages Losing Styles aimlessly

Post by Zafazo »

No not paid help. I didn't mean to post in this forum but I couldn't find the right forum until after I had posted this and do not have the ability to move it or much functionality to begin with.

And yes I have set the timezone.

And am using the new cms_stylesheet smarty tag.
The other returns an error and won't work anyhow.

--------------------------------------------------------------

At least in older versions of CMSMS the style sheet was generated each time a page was loaded which is not a good design aspect to begin with in my opinion just due to the fact that it takes up that much more bandwidth and server processing time.

I wasn't sure if this is still true.

Also, the problem I am having could stem from the caching function in CMSMS.

--------------------------------------------------------------

I ran several test with the content on the website and how long it would take to update those changes to the cached pages among what other things occurred.

I noticed that these changes were uneven for some reason and often caused the page to take at least an extra 10 seconds or so to load the page and would on the rare occasion be incorrect.
Now due to the fact that the page I was testing it on had several images to begin with would cause this significant increase in load time due to the fact that the images would not have been cached or would be re cached due to the update.

I also tested the effects of clearing the cache in the CMSMS back-end interface. And have found that this does not always work, of course i also cleared the local cache on my machine.

Regardless, I have since turned off the caching function in CMSMS and have not had any trouble with page load time or the style sheet linking issue.

But the style sheet linking issue was something that seemed to happen at random anyhow.
Zafazo
New Member
New Member
Posts: 9
Joined: Mon Dec 12, 2011 6:40 pm

Re: Pages Losing Styles aimlessly

Post by Zafazo »

A page on the forums appears to be doing something very similer to the problem I am having as well at this moment in time

http://forum.cmsmadesimple.org/index.php/

I also have an image of the forum when it was doing this.

Nope not just my machine, but the forums uses phpBB...
Post Reply

Return to “CMSMS Core”