Page 1 of 1

Styles broken after upgrade - SOLVED

Posted: Wed Aug 18, 2010 3:07 pm
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

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 4:29 pm
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')

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 4:52 pm
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

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 5:01 pm
by Rolf
Do you have an url to the website for us?

Rolf

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 5:05 pm
by nosyguy

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 5:52 pm
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

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 7:21 pm
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

Re: Styles broken after upgrade

Posted: Wed Aug 18, 2010 7:22 pm
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...

Re: Styles broken after upgrade

Posted: Thu Aug 19, 2010 4:12 pm
by nosyguy
Enabling debugging helped me find a corrupt file in the plugins folder that was causing the error.  Thanks!

nosyguy