Copied to clipboard

Flag this post as spam?

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


  • Chris 34 posts 134 karma points
    Apr 15, 2016 @ 09:24
    Chris
    0

    Unpublished page preview 404

    For some reason when pages are unpublished and the preview function is used I get my 404 page showing. I've looked around these forums and found some ideas but none have worked. I've tried with the most basic page I have, and below is the debug output.

    I've also checked the \Appdata\preview folder and I am getting a 0a7a040f2-5566-40a6-b7d0-a0b9f1c1d45e.config created to represent this preview. Has anyone else got an idea how to fix this? using Umbraco 7.3.7

    0:12:50 DEBUG Umbraco.Web.UmbracoModule
    Total milliseconds for umbraco request to process: 65.1734 10:12:50 WARN Umbraco.Web.UmbracoModule
    Status code is 404 yet TrySkipIisCustomErrors is false - IIS will take over. 10:12:50 DEBUG Umbraco.Web.UmbracoModule
    Response status: Redirect=none, Is404=true, StatusCode=0 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandleWildcardDomains: No match. 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandleWildcardDomains: Path="-1,1059,1269" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindTemplate: Running with template id=1267 alias="GenericContent" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindTemplate: Got template id=1267 alias="GenericContent" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindTemplate: Look for template id=1267 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandlePublishedContent: End 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    EnsurePublishedContentAccess: Page is not protected 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandlePublishedContent: Found a document 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Handler 'umbraco.handle404' found valid node with id=1269. 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Finder 'Umbraco.Web.Routing.ContentFinderByLegacy404' set status to 404. 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Finder 'Umbraco.Web.Routing.ContentFinderByLegacy404' found node with id=1269. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByLegacy404
    Found corresponding content. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByLegacy404
    Got id=1269. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByLegacy404
    Looking for a page to handle 404. 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Replace handler 'umbraco.handle404' by new finder 'Umbraco.Web.Routing.ContentFinderByLegacy404'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Handler 'umbraco.handle404'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers
    Running for legacy url='1293'. 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandlePublishedContent: No document, try last chance lookup 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    HandlePublishedContent: Begin 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindPublishedContent: End finders, no document was found (took 1ms) 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByProfile
    Not the profile path 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Replace handler 'umbraco.SearchForProfile' by new finder 'Umbraco.Web.Routing.ContentFinderByProfile'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Handler 'umbraco.SearchForProfile'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNiceUrlAndTemplate
    Not a valid template: "1293" 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Replace handler 'umbraco.SearchForTemplate' by new finder 'Umbraco.Web.Routing.ContentFinderByNiceUrlAndTemplate'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Handler 'umbraco.SearchForTemplate'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Replace handler 'umbraco.SearchForAlias' by new finder 'Umbraco.Web.Routing.ContentFinderByUrlAlias'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Handler 'umbraco.SearchForAlias'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNotFoundHandlers Running for legacy url='1293'. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByIdPath
    Not a node id 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByIdPath
    Id=1293 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNiceUrl
    No match. 10:12:50 DEBUG Umbraco.Web.Routing.ContentFinderByNiceUrl
    Test route "/1293" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindPublishedContent: Begin finders 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindPublishedContentAndTemplate: Path="/1293" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindDomain: Culture="en-GB" 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindDomain: Matches no domain 10:12:50 DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine
    FindDomain: Uri="http://mysite/1293" 10:12:50 DEBUG Umbraco.Web.UmbracoModule
    Begin request: http://mysite/1293.aspx. 10:12:50 DEBUG Umbraco.Web.UmbracoModule
    Begin request: http://mysite/umbraco/dialogs/Preview.aspx?id=1293.

  • Chris 34 posts 134 karma points
    Apr 18, 2016 @ 15:32
    Chris
    0

    Looks like this was a bug in 7.3.7: http://issues.umbraco.org/issue/U4-7908

    Need a fix for an existing site as upgrading is currently not an option

Please Sign in or register to post replies

Write your reply to:

Draft