Styles broken after upgrade - SOLVED

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
nosyguy
Forum Members
Forum Members
Posts: 87
Joined: Tue Apr 22, 2008 8:17 pm

Styles broken after upgrade - SOLVED

Post by nosyguy »

Couldn't find this addressed anywhere so not sure what is going on.

I upgraded an installation from 1.6x to the current version of CMSMS and now all my graphics and stylesheets are not working correctly.  Admin panel looks and works fine, and checked both the templates and the stylesheets in the admin panel.  Again looks fine.

I have performed this upgrade on other sites without an issue. First time it has happened - suggestions?

TIA
nosyguy
Last edited by nosyguy on Thu Aug 19, 2010 4:12 pm, edited 1 time in total.
uniqu3

Re: Styles broken after upgrade

Post by uniqu3 »

How do you call your stylesheet in your template.
Since in 1.8 {stylesheet} changed to {cms_stylesheet} the stylesheet is being catched and outputed to /tmp folder.
Change your paths in Stylsheet to url('[[root_url]]/your/path/image.jpg')
nosyguy
Forum Members
Forum Members
Posts: 87
Joined: Tue Apr 22, 2008 8:17 pm

Re: Styles broken after upgrade

Post by nosyguy »

I changed the {stylesheet} call in the template to {cms_stylesheet}, add the absolute urls to the stylesheet and still get the same thing. 

Other suggestions?

Anything else in the head - when I view source I can only see from the body tag down.

TIA
nosyguy
Last edited by nosyguy on Wed Aug 18, 2010 4:54 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Styles broken after upgrade

Post by Rolf »

Do you have an url to the website for us?

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nosyguy
Forum Members
Forum Members
Posts: 87
Joined: Tue Apr 22, 2008 8:17 pm

Re: Styles broken after upgrade

Post by nosyguy »

User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Styles broken after upgrade

Post by Rolf »

This isn't a stylesheet problem, your template stops halfways...

Try to reupload the new cms files again first.

Have looked in the PHP Error Log yet?

Tried to set debug true in the config.php?
Perhaps an error message then...

grtz. Rolf  :)


PS.

- System Information
- PHP version
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
spike
Forum Members
Forum Members
Posts: 153
Joined: Thu Sep 25, 2008 5:02 pm

Re: Styles broken after upgrade

Post by spike »

Check your template against a default template - I just checked your page source and got zilch up to your body tags - do you have a syntax - thingy - check the opening, closing, brackets, quotes . . . everything down the line to the tag
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Styles broken after upgrade

Post by Dr.CSS »

The {stylesheet} tag has not been replaced, {cms_stylesheet} is just a new tag that you can use if you want and if you do use it you don't have to use [[root_url]] you can just put / in front, and no reason to put quotes of any kind in the URL/link/path...
nosyguy
Forum Members
Forum Members
Posts: 87
Joined: Tue Apr 22, 2008 8:17 pm

Re: Styles broken after upgrade

Post by nosyguy »

Enabling debugging helped me find a corrupt file in the plugins folder that was causing the error.  Thanks!

nosyguy
Post Reply

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