Copied to clipboard

Flag this post as spam?

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


  • Karsten Grombach 16 posts 34 karma points
    Apr 26, 2010 @ 13:08
    Karsten Grombach
    0

    Macros not being parsed..

    I'm experiencing a weird issue where alle macros are being displayed as <Macro: (,)>  on the rendered pages.

    I expect that I might have broken something in the configuration, but even backtracking my last changes hasn't brought any success. I have the option of starting from scratch an reinstalling umbraco on my devenvironment, but I would really like to understand this..

    Where does the umbraco engine parse macros and what can cause this?

    Thanks

    Karsten

  • Tobias Neugebauer 52 posts 93 karma points
    Apr 26, 2010 @ 13:23
    Tobias Neugebauer
    0

    Hi,

    i've had a look into the umbraco source code (secifically umbraco.presentation.macro) where the macros get rendered. It seems the macro can not resolve its type (wether its Xslt, Usercontrol etc.) in which case it goes to a switch default (line 497 in 4.2 beta II). Please check that all your macros have the right Xslt files specified and try again.

    And you could append the ?umbDebugShowTrace=true to your url and see whats going on in the trace. You couuld also post the trace and someone will point you in the right direction :)

    Hope this helps

    Toby

  • Karsten Grombach 16 posts 34 karma points
    Apr 27, 2010 @ 05:57
    Karsten Grombach
    0

    Thanks for the pointers.. Two essentials macros were missing!

Please Sign in or register to post replies

Write your reply to:

Draft