Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mads Rosentoft 4 posts 84 karma points
    Jun 08, 2016 @ 14:21
    Mads Rosentoft
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2016 @ 14:30
    Dennis Aaen
    0

    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

  • Mads Rosentoft 4 posts 84 karma points
    Jun 08, 2016 @ 16:20
    Mads Rosentoft
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2016 @ 16:32
    Dennis Aaen
    0

    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

      <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.

    Hope this helps,

    /Dennis

  • Mads Rosentoft 4 posts 84 karma points
    Jun 08, 2016 @ 18:36
    Mads Rosentoft
    0

    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 -

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2016 @ 18:42
    Dennis Aaen
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft