Hope someone can help, I'm new to Umbraco. I've recently created a local install of Umbraco and after unpacking the uBootstrap package, every Macro Engine fails to load.
Some like Navigation.cshtml and Sidenavigation.cshtml have fixes whereby adding a space before @Html.Raw in those files forces them to work, but this isn't consistent across all the Macro Engine files.
I can see other users are encountering this issue, but wondered if there was a root cause or fix.
I'm using the default Web Matrix install of Umbraco, version 6.0.6.
Thanks for this. I was wondering, in the thread you link to, someone mentions a branch called 1.1.1 which resolves issues, but they haven't linked to this and I can't find it either on the official page or the github page.
It was a fresh install of Umbraco, so I didn't lose much other than time, thankfully.
Attempted to install the package twice and got a page which stated that 'The resource could not be found'.
On the third attempt the site went down completely, and all pages showed an error page starting with:
Could not load file or assembly 'Umbraco.Forms.References, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
So I didn't have much luck with the v6 package. For some reason it kept 404'ing, and the back office kept saying the resource could not be found.
I noticed that the package modifies web.config on install, but doesn't modify it on uninstall, and this left .dll files which the system attempted to reference after Bootstrap was gone, causing everything to fail. Pushing web.config back to an earlier version of the file allowed the back office to load again.
I decided to install v1.1.0 again and try to get the Macro packages working with various bits of info from this forum. So:
RelatedLinks.chtml - This will render once a footer link has been set in the back end Navigation.chtml & SideNavigation.chtml - These will render once a space has been placed in front of every instance of
Once I put these changes in place, everything, with the exception of search, started working as expected.
Still trying to work out how to make NewsList and PhotoPager play nice, but there *must* be a way.
Hope this helps, and thanks for everyone's advice!!!
For everyone's reference: Neither version of the package linked to from this thread, the v6 package OR the mvc package, will work. Backoffice simply refuses to install either of them.
Error loading all MacroEngine scripts
Hi there,
Hope someone can help, I'm new to Umbraco. I've recently created a local install of Umbraco and after unpacking the uBootstrap package, every Macro Engine fails to load.
Some like Navigation.cshtml and Sidenavigation.cshtml have fixes whereby adding a space before @Html.Raw in those files forces them to work, but this isn't consistent across all the Macro Engine files.
I can see other users are encountering this issue, but wondered if there was a root cause or fix.
I'm using the default Web Matrix install of Umbraco, version 6.0.6.
Any help much appreciated.
Hi Duncan,
I'm afraid the current version of the uBootstrap package does not play nicely with Umbraco 6 due to some fundamental changes on the razor view engine on ASP.NET MVC 4. You can read more on http://our.umbraco.org/projects/starter-kits/ubootstrap/help-using-ubootstrap/38557-Umbraco-6-coupled-with-uBootstrap
Cheers,
Jorge
Hi Jorge,
Thanks for this. I was wondering, in the thread you link to, someone mentions a branch called 1.1.1 which resolves issues, but they haven't linked to this and I can't find it either on the official page or the github page.
Can you shed some light?
Cheers again,
Duncan
Hi Jorge,
Has there been an update to this?
Thanks,
D
Hi Duncan,
Here's the branch with 1.1.1: https://github.com/DrewGarratt/ubootstrap/tree/Umbraco6
Hope that works for ya!
-Amir
Hi Amir,
Thanks for the link, unfortunately the 1.1.1 version completely destroyed my Umbraco installation and wiped it from the server.
D
Hi Duncan,
There is a unfinished version of Uboostrap MVC on https://github.com/jorgelusar/ubootstrap/tree/mvc, just in case it might help. I'm afraid I do not have the time for now to fix this issue.
Thanks,
Jorge
Duncan, that's terrible. What did it "do" exactly, I've never had a package actually break an installation before...Did you have a backup?
-Amir
Hi Amir,
It was a fresh install of Umbraco, so I didn't lose much other than time, thankfully.
Attempted to install the package twice and got a page which stated that 'The resource could not be found'.
On the third attempt the site went down completely, and all pages showed an error page starting with:
Could not load file or assembly 'Umbraco.Forms.References, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
D
Hi guys,
So I didn't have much luck with the v6 package.
For some reason it kept 404'ing, and the back office kept saying the resource could not be found.
I noticed that the package modifies web.config on install, but doesn't modify it on uninstall, and this left .dll files which the system attempted to reference after Bootstrap was gone, causing everything to fail. Pushing web.config back to an earlier version of the file allowed the back office to load again.
I decided to install v1.1.0 again and try to get the Macro packages working with various bits of info from this forum. So:
RelatedLinks.chtml - This will render once a footer link has been set in the back end
Navigation.chtml & SideNavigation.chtml - These will render once a space has been placed in front of every instance of
PageTitle.chtml - This one requires a code change, posted in http://our.umbraco.org/projects/starter-kits/ubootstrap/help-using-ubootstrap/38557-Umbraco-6-coupled-with-uBootstrap by Drew Garret.
This is the new code:
Once I put these changes in place, everything, with the exception of search, started working as expected.
Still trying to work out how to make NewsList and PhotoPager play nice, but there *must* be a way.
Hope this helps, and thanks for everyone's advice!!!
For everyone's reference: Neither version of the package linked to from this thread, the v6 package OR the mvc package, will work.
Backoffice simply refuses to install either of them.
Duncan
is working on a reply...