custom stylesheet empty after upgrade

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
pirod
New Member
New Member
Posts: 3
Joined: Sun Mar 10, 2019 11:33 pm

custom stylesheet empty after upgrade

Post by pirod »

Hi,

I am taking the route to upgrading step by step. Now going from 1.10.3 to 1.11.13 made the CSS stylesheet attached to the template become empty and so does not render the website.

in the template CSS is called with: {cms_stylesheet https=true}
as it was already in previous version of the CMSMS.

stylesheet_combined keeps regenerating in tha cache at 0B

Any idea how to solve this? the stylesheet was working fine on the previous version of CMSMS.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: custom stylesheet empty after upgrade

Post by DIGI3 »

try it without the https, and also check for errors in the stylesheet itself. Later versions of Smarty/cmsms get less forgiving with errors.

Your PHP error log and/or admin log may also provide more clues.
Not getting the answer you need? CMSMS support options
pirod
New Member
New Member
Posts: 3
Joined: Sun Mar 10, 2019 11:33 pm

Re: custom stylesheet empty after upgrade

Post by pirod »

Hi,

It turns out the [[root_url]] tags in CSS were the cause.

Is this known? Why is there no clear indication of removal of this tag in CSS designing for example on the upgrade doc page where other changes are indicated?

thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: custom stylesheet empty after upgrade

Post by DIGI3 »

[[root_url]] tags are fine to use, but maybe one of them had a typo?
Not getting the answer you need? CMSMS support options
pirod
New Member
New Member
Posts: 3
Joined: Sun Mar 10, 2019 11:33 pm

Re: custom stylesheet empty after upgrade

Post by pirod »

thanks, but no typo. All tags were in place for many many years. upgrade of CMSMS made that break and I could only repair by removing ALL these root_url bracket tags.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: custom stylesheet empty after upgrade

Post by DIGI3 »

What happens when you add one back in, what's the error in the log?
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”