Page 1 of 1
Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 3:37 pm
by skarni
I have version 1.10.3 "Hyacinthe" installed.
For the past several months, even after upgrading my CMSMS website, my website has been fine.
I haven't made any changes at all to the website in the past three days, but this morning, my website was broken. I turned on debug mode, don't have a clue what to do with it.
• I've upgraded each module in turn, no change.
• I switched templates for the homepage, still broken.
• I removed the sharethis button, still broken.
Can anyone help me figure this out? I'm more of a designer so my coding skills are limited to xhtml and css.
http://www.tourpikecounty.com/
Thank you!
Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 5:11 pm
by mcDavid
There is no stylesheet linked in your HTML source.
Did you use the {cms_stylesheet} tag in your template?
Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 5:13 pm
by skarni
yes, it is in my header section of my template. {cms_stylesheet}. Its not commented out or anything.
Note: It would seem that {cms_stylesheet} is being ignored when the page is rendered. However, other tags, such as my global content blocks, are working.
Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 5:41 pm
by mcDavid
Are there stylesheets attached to your template?
you can check this by clicking the blue "css" text-bubble in the template list. If not, add one

Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 5:43 pm
by skarni
Yes there are, I checked. The website was working and pulling the stylesheet just yesterday. I made no changes to the website since then, and boom, no stylesheet.
I wonder what kind of hosting problems or network problems could cause this? I changed templates several times and each template, even stock ones that came with CMSMS, break css.
Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 5:49 pm
by calguy1000
Check the paths in your config.php.
I bet the host moved your site to a different path, and now the config.php is incorrect.
Here's a tip: Under a normal install (with no funky configurations) the root_path, upload_path etc. can be commented out of the config.php in CMSMS 1.10 and above.
Re: Stylesheet broke all on its own?
Posted: Tue Mar 27, 2012 6:02 pm
by skarni
I used a php file to determine what my root path was, and compared it to what is written in the config.php file. They match. Does that mean that the paths are correct?
Re: Stylesheet broke all on its own?
Posted: Wed Mar 28, 2012 3:02 am
by skarni
I'm not sure if this can be called "solved", as I think my network administrator just reloaded the website from a backup. I'll possibly know more tomorrow, as I'm assuming that's what he did.
Re: Stylesheet broke all on its own?
Posted: Wed Mar 28, 2012 8:04 am
by mcDavid
You might want to try what happens if you clear the cache?