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
Styles broken after upgrade - SOLVED
Styles broken after upgrade - SOLVED
Last edited by nosyguy on Thu Aug 19, 2010 4:12 pm, edited 1 time in total.
Re: Styles broken after upgrade
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')
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
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
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.
Re: Styles broken after upgrade
Do you have an url to the website for us?
Rolf
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Styles broken after upgrade
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
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
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Styles broken after upgrade
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
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
Enabling debugging helped me find a corrupt file in the plugins folder that was causing the error. Thanks!
nosyguy
nosyguy