I try to upgrade an Umbraco website from version 4.7.1 to version 4.7.1.1 . However, after the upgrade, my layout is all scramble, presumably because the the css is not loaded (see screenshot 'before upgrade' and 'after upgrade':
Layout before the upgrade
layout after the upgrade:
I'm using the Client Depency Framework, as implemented in the uBootStrap package
I checked the ClientDepency.config file and changed the version number, but this does not solve the issue.
Has anyone experience the same, and, how did you solve it?
This is a long shot - but do you have a <staticContent> element in your web.config file? If so try to comment it out and see if that changes anything. If it does the issue probably appears due to a mime-type not being removed in the section before adding it. That can cause some troubles in my experience.
And are you also sure that the referenced CSS file name is in fact correct? (I'm thinking if the CSS file is being minifed etc. in your build-process the referenced filename may be wrong for some reason).
Happy to say that I solved the issue, I explain the steps I took in the thread where the issue with Umbraco v4.7.1.1 and the uBootstrap package is reporterd here:
css doesn't get loaded after upgrade to 4.7.1.1
Hi,
I try to upgrade an Umbraco website from version 4.7.1 to version 4.7.1.1 . However, after the upgrade, my layout is all scramble, presumably because the the css is not loaded (see screenshot 'before upgrade' and 'after upgrade':
Layout before the upgrade
layout after the upgrade:
I'm using the Client Depency Framework, as implemented in the uBootStrap package
I checked the ClientDepency.config file and changed the version number, but this does not solve the issue.
Has anyone experience the same, and, how did you solve it?
Thanks for the help,
Anthony
Hi Anthony
This is a long shot - but do you have a <staticContent> element in your web.config file? If so try to comment it out and see if that changes anything. If it does the issue probably appears due to a mime-type not being removed in the section before adding it. That can cause some troubles in my experience.
And are you also sure that the referenced CSS file name is in fact correct? (I'm thinking if the CSS file is being minifed etc. in your build-process the referenced filename may be wrong for some reason).
Looking forward to hear from you.
/Jan
Hi Jan,
Thanks for your help, I think I found the problem, it is my version of the uBootstrap package that is not compatible with Umbraco v4.7.1.1 :
http://our.umbraco.org/projects/starter-kits/ubootstrap/help-using-ubootstrap/27771-Solution-for-using-ClientDependency-14
I'll implement the latest CdLoader.cshtml script and see if that solves the issue.
have a nice weekend,
Anthony
Hi Anthony
Happy to hear that. Please remember to share the final solution with the rest of us once you've figured out exactly what was wrong )
/Jan
Hi Jan,
Happy to say that I solved the issue, I explain the steps I took in the thread where the issue with Umbraco v4.7.1.1 and the uBootstrap package is reporterd here:
http://our.umbraco.org/projects/starter-kits/ubootstrap/help-using-ubootstrap/27771-Solution-for-using-ClientDependency-14?p=0#comment115783
greetings,
Anthony
is working on a reply...