Copied to clipboard

Flag this post as spam?

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


  • Pasang Tamang 258 posts 458 karma points
    Mar 11, 2013 @ 08:45
    Pasang Tamang
    0

    Front end broken while publishing home node

    Hi all,

    I have a problem in one of my site. The site was running smoothly. Unfortunately the front end broke down. Umbraco administration is fine only front end is broken. 

    In above image you can see the error is in macro rendering, for a instance if I remove that macro then getting error in another macro. I have a previous backup copy which works fine. No changes in content just re-publish then above problem occurs. I have tried with U6.0 and U6.0.2

    Thanks in advance

    Kind Regards

    PTamang

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 11, 2013 @ 10:57
    Jan Skovgaard
    0

    Hi Passang

    What does the content of your TopNavBar look like?

    /Jan

  • Pasang Tamang 258 posts 458 karma points
    Mar 11, 2013 @ 11:17
    Pasang Tamang
    0

    Hi Jan,

    There is just code for navigation. The problem should not be with code because I am using same in many existing sites. If I remove the macro rendering line then I am getting error to 

    @{

        Layout = null;

    <!--error is pointed to below line.-->  

      var homepage = Model.Content.AncestorOrSelf(1);

    }

Please Sign in or register to post replies

Write your reply to:

Draft