upgrading from 4.0.2.0 to 4.5.2 results in Xslt menu generation errors
Hi all,
After following the recommended upgrade guide (http://www.karlkopp.com/blog/2010/7/27/upgrading-umbraco-40x-to-45x) and upgrading from 4.0.4.2 to 4.5.2 (all updates going smoothly and the config wizard showing no errors), the menu tree is now longer being generated and the layout and design are messed up. See screen shots below:
4.0.4.2
4.5.2
Nothing else in the site has changed - all site files, databases and XSLT files have remained the same, yet the site is now only generating a link for the home page and ignoring all other pages as should be seen in the screen shot for 4.0.4.2.
Cant download any of the llinked files from fileden, but have you concidered that 4.5 is using a new xslt schema which won't work with 4.0.4.2 xslt files unless the install has been told to use the old schema....
Yup, as Claus points out, should update your xslt's to reflect the new schema unless you've explicitely choosen not to use the new schema, in which case
posted this thread twice by mistake, the other one has been solved, you were right, the new schema was incompatible. I had to update the xslt files to be compatible with the new schema.
If any future viewers of this thread are interested here is the link to the other thread:
upgrading from 4.0.2.0 to 4.5.2 results in Xslt menu generation errors
Hi all,
After following the recommended upgrade guide (http://www.karlkopp.com/blog/2010/7/27/upgrading-umbraco-40x-to-45x) and upgrading from 4.0.4.2 to 4.5.2 (all updates going smoothly and the config wizard showing no errors), the menu tree is now longer being generated and the layout and design are messed up. See screen shots below:
4.0.4.2
4.5.2
Nothing else in the site has changed - all site files, databases and XSLT files have remained the same, yet the site is now only generating a link for the home page and ignoring all other pages as should be seen in the screen shot for 4.0.4.2.
Here is a link to the HTML source code for:
4.5.2: http://www.fileden.com/files/2010/9/2/2958919/ava%20broken.txt *4.5.2*
4.0.4.2: http://www.fileden.com/files/2010/9/2/2958919/ava%20working.txt *4.0.4.2*
Here are links to the XSLT files that generate the menu:
AvaBanner.xslt:
http://www.fileden.com/files/2010/9/2/2958919/avaBanner.xslt%20BROKEN.txt *4.5.2*
http://www.fileden.com/files/2010/9/2/2958919/avaBanner.xslt%20WORKING.txt *4.0.4.2*
AvaNav.xslt
http://www.fileden.com/files/2010/9/2/2958919/avaNav.xslt%20%20BROKEN.txt *4.5.2*
http://www.fileden.com/files/2010/9/2/2958919/avaNav.xslt%20%20WORKING.txt *4.0.4.2*
AvaNavigationMenu.xslt
http://www.fileden.com/files/2010/9/2/2958919/avaNavigationMenu.xslt%20BROKEN.txt *4.5.2*
http://www.fileden.com/files/2010/9/2/2958919/avaNavigationMenu.xslt%20WORKING.txt *4.0.4.2*
Can anybody shed any light on this?
Thanks,
Max.
Cant download any of the llinked files from fileden, but have you concidered that 4.5 is using a new xslt schema which won't work with 4.0.4.2 xslt files unless the install has been told to use the old schema....
Yup, as Claus points out, should update your xslt's to reflect the new schema unless you've explicitely choosen not to use the new schema, in which case
should be set to "true" in umbracoSettings.config
An upgrade guide is available here: http://our.umbraco.org/wiki/install-and-setup/upgrading-an-umbraco-installation
Hope this helps.
Regards,
/Dirk
Hi,
posted this thread twice by mistake, the other one has been solved, you were right, the new schema was incompatible. I had to update the xslt files to be compatible with the new schema.
If any future viewers of this thread are interested here is the link to the other thread:
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/12303-XSLT-nav-generation-bug-after-umbraco-upgrade
Thanks again.
Max.
is working on a reply...