Thanks, but I don´t know the term: "set in UmbracoSettings.config to throw" I found the UmbracoSettings.config - area. But....´? I´m from Denmark - as you are. Is it only allowed to write in English in there?
If you have access to the file system of your Umbraco installation, then you can find the UmbracoSettings.config in the /config/UmbracoSettings.config
Open up the file and search for
<MacroErrors>inline</MacroErrors>
Here you can see what the different values do for you.
<!-- How Umbraco should handle errors during macro execution. Can be one of the following values:
- inline - show an inline error within the macro but allow the page to continue rendering. Historial Umbraco behaviour.
- silent - Silently suppress the error and do not render the offending macro.
- throw - Throw an exception which can be caught by the global error handler defined in Application_OnError. If no such
error handler is defined then you'll see the Yellow Screen Of Death (YSOD) error page.
Note the error can also be handled by the umbraco.macro.Error event, where you can log/alarm with your own code and change the behaviour per event. -->
<MacroErrors>inline</MacroErrors>
Change the inline value to throw then you should get more info why your script is failing.
Thanks for your help. I found the line
and change "inline" to "throw" but I can´t see any meaning / useful information, which is because that I´m unexperienced in looking in the codes.
I better find a Umbraco expert to do the hands-on thing, before I damage anything. Can you recommend a reliable one in DK?
Error loading MacroEngine script
HI I´m new in here, and I´m a novice with Umbraco.
Yesterday I got this error-message:
Error loading MacroEngine script (file: ~/macroscripts/tekstbanner.cshtml)
at this site: http://flowers.dk/
Anybody WHO knows how to fix it, please!?
Thanks in advance
Mads
Hi Mads and welcome to our :-)
The first thing I would try is to set
By doing this you should get some more information about the error that you have in the /macroscripts/tekstbanner.cshtml
Hope this helps,
/Dennis
Hej Dennis
Thanks, but I don´t know the term: "set in UmbracoSettings.config to throw" I found the UmbracoSettings.config - area. But....´? I´m from Denmark - as you are. Is it only allowed to write in English in there?
Thanks Mads
Hi Mads,
If you have access to the file system of your Umbraco installation, then you can find the UmbracoSettings.config in the /config/UmbracoSettings.config
Open up the file and search for
Here you can see what the different values do for you.
Change the inline value to throw then you should get more info why your script is failing.
Hope this helps,
/Dennis
Hi again Dennis
Thanks for your help. I found the line and change "inline" to "throw" but I can´t see any meaning / useful information, which is because that I´m unexperienced in looking in the codes.
I better find a Umbraco expert to do the hands-on thing, before I damage anything. Can you recommend a reliable one in DK?
Thanks in advance.
Mads -
Hi Mads,
You can find a list of all certified Umbraco developers here both level 1 and level 2 certified developers.
http://umbraco.com/certified-partners/find-a-certified-developer/
The developers are divided by country
/Dennis
is working on a reply...