Copied to clipboard

Flag this post as spam?

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


  • Arie 224 posts 675 karma points
    Oct 30, 2013 @ 14:53
    Arie
    0

    404 after publishing home node (Umbraco 6.1.6)

    Every time after I publish the home node I encounter a 404 when I visit the home page. When I publish the page again everything is fine.

    No errors in the log, although Url Tracker (correctly) records the 404.

    When I looked at umbraco.config after the first and second publish I found that the order of the nodes had changed.

    After first publish (the home node is not the first entry):

    line 42: <Authors id="1074" parentID="-1" level="1" creatorID="0" sortOrder="1" createDate="2013-10-04T15:54:56" updateDate="2013-10-04T15:55:55" nodeName="Authors" urlName="authors" path="-1,1074" isDoc="" nodeType="1054" creatorName="[redacted]" writerName="[redacted]" writerID="0" template="0" nodeTypeAlias="Authors" />
    
    line 43: <Home id="1073" parentID="-1" level="1" creatorID="0" sortOrder="1" createDate="2013-10-04T15:52:54" updateDate="2013-10-30T07:37:35" nodeName="[redacted]" urlName="[redacted]" path="-1,1073" isDoc="" nodeType="1070" creatorName="[redacted]" writerName=[redacted]" writerID="0" template="1069" nodeTypeAlias="Home">
    

    After re-publish (the home node is the first entry):

    line 42: <Home id="1073" parentID="-1" level="1" creatorID="0" sortOrder="1" createDate="2013-10-04T15:52:54" updateDate="2013-10-30T07:41:03" nodeName="[redacted]" urlName="[redacted]" path="-1,1073" isDoc="" nodeType="1070" creatorName="[redacted]" writerName="[redacted]" writerID="0" template="1069" nodeTypeAlias="Home">
    
    [...]
    
    line 161: <Authors id="1074" parentID="-1" level="1" creatorID="0" sortOrder="1" createDate="2013-10-04T15:54:56" updateDate="2013-10-04T15:55:55" nodeName="Authors" urlName="authors" path="-1,1074" isDoc="" nodeType="1054" creatorName="[redacted]" writerName="[redacted]" writerID="0" template="0" nodeTypeAlias="Authors" />
    
  • Arie 224 posts 675 karma points
    Oct 30, 2013 @ 16:17
    Arie
    0

    A bit more information:

    1. Authors is a sibling of Home. If I publish a child of Authors it will always show in umbraco.config before Home (even after re-publishing Home several times), thus breaking the home page.
    2. There are other siblings of Home (e.g. Site Admin Area, External Resources). None of these ever seem to end up before Home in umbraco.config.
    3. Unpublishing Authors eliminates the problem. Although this is more or less to be expected, it isn't a solution of course.
Please Sign in or register to post replies

Write your reply to:

Draft