CMSMS not reading stylesheet

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Parapet
Forum Members
Forum Members
Posts: 26
Joined: Tue Jul 28, 2009 8:19 pm

CMSMS not reading stylesheet

Post by Parapet »

First the basics:
Upgraded from 1.9.4.2 to 1.11.11
PHP version: 5.4.33
Additional Modules: CGExtensions, Captcha, FormBuilder, Gallery

For a reason I cannot yet determine, CMSMS is not reading the stylesheet info. I did change {stylesheet} to {cms_stylesheet} in the template, so that's not it. Somewhere along the line in the upgrade process it stopped reading the stylesheets, I think when I reached the upgrade to version 1.10 but I'm not 100% certain of that. In general, images do not seem to be displaying either.

Any ideas what I might be missing or need to change?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: CMSMS not reading stylesheet

Post by Jo Morg »

a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
e) Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg)
You may have forgotten step e)...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Parapet
Forum Members
Forum Members
Posts: 26
Joined: Tue Jul 28, 2009 8:19 pm

Re: CMSMS not reading stylesheet

Post by Parapet »

No, I checked all that... including step e... but thanks for trying to help!

Real problem is that the stylesheeet is not being read... and I did make sure that the call was {cms_stylesheet}.

I also did a fresh install of 1.11.11 and still get the same issue... can't figure it.

Edit: just tried to use Image Manager, found that images are not displaying in it, either, just the name of each file, and only JPG images, not GIFs or other types, are listed. Seems like it has to be a setting somewhere.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CMSMS not reading stylesheet

Post by paulbaker »

Parapet wrote:Somewhere along the line in the upgrade process it stopped reading the stylesheets
Did you clear CMSMS cache?
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: CMSMS not reading stylesheet

Post by staartmees »

The stylesheet is connected to the template?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CMSMS not reading stylesheet

Post by Dr.CSS »

It could help for us to see your system info, and you should look at the system info page to see if you have any yellow ! or red X...
Locked

Return to “[locked] Installation, Setup and Upgrade”