Copied to clipboard

Flag this post as spam?

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


  • John C Scott 457 posts 1157 karma points
    Sep 21, 2018 @ 12:57
    John C Scott
    0

    Preview Not Working

    I'm using 7.12.3 When I hit preview I don't get a preview page. When I look at sources in the inspector I see that the /umbraco part of the URL is missing. There's a lot of URL rewriting going on with the site and I'd assume that's the problem however I'd assume that for example where I'm getting for example: http://myurl.com/assets/css/canvasdesigner.css

    If this were due to rewriting if I typed: http://myurl.com/umbraco/assets/css/canvasdesigner.css

    the URL would be written to http://myurl.com/assets/css/canvasdesigner.css

    It's not, it serves the CSS file as expected. Any other ideas as to what could be the cause of this?

    The URLs from the page source of the page: http://myurl.local/umbraco/preview?id=41703 are

    <link href="../assets/css/canvasdesigner.css" type="text/css" rel="stylesheet" />
    <link href="../lib/spectrum/spectrum.css" type="text/css" rel="stylesheet" />
    <link href="../lib/jquery-ui/jquery-ui-1.10.4.custom.min.css" type="text/css" rel="stylesheet" />
    

    any suggestions greatfully appreciated.

    The changed parts of the app settings in the web.config which are not standard are

        <add key="umbracoHideTopLevelNodeFromPath" value="false" />
        <add key="umbracoUseDirectoryUrls" value="true" />
    

    Is probably worth mentioning that this is an upgrade from a 7.4 site

    & also that this is what it looks like: enter image description here

  • Tom Ruddock 3 posts 24 karma points
    Oct 25, 2018 @ 11:06
    Tom Ruddock
    0

    I'm having this exact issue following an upgrade from v7.5.9. I'm still having a poke around myself, but any help would be hugely appreciated.

  • Tomas 5 posts 26 karma points
    Oct 26, 2018 @ 08:42
    Tomas
    0

    Having the same issue after upgrading from 7.6.9 to 7.12.1. Would love to hear about any progress!

  • Tomas 5 posts 26 karma points
    Oct 26, 2018 @ 10:07
    Tomas
    1

    Turned out is was a rewrite rule to remove trailing slash that caused this issue. Not sure exactly why but removing it made all the difference.

  • Yevhenii_Koliesnik 3 posts 73 karma points
    Aug 11, 2020 @ 12:14
    Yevhenii_Koliesnik
    0

    Yes, u are exactly right ! Even in 2020 you answer helped me with supporting. Works for me.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies