Copied to clipboard

Flag this post as spam?

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


  • Hardy Wang 91 posts 112 karma points
    Mar 07, 2012 @ 16:16
    Hardy Wang
    0

    Funky bug Umbraco Deployed in Virtual Directory

    I installed Umbraco 4.7.1.1 in virtual directory, most part runs fine until I encountered a very weired bug.

    Some of my background settings, I have a web site named https://my-site.com, there is a physical folder named "information" and I created a virtual directory named "SubSite" inside information folder, so the complete path look like: https://my-site.com/information/SubSite for content and https://my-site.com/information/SubSite/umbraco for backoffice.

    I have made change to web.config:

        <add key="umbracoReservedPaths" value="/information/SubSite/umbraco,/information/SubSite/install/" />

        <add key="umbracoPath" value="/information/SubSite/umbraco" />

    The problem happens in backoffice content section. I have uploaded some images to media library, some of them are big pictures while some of them are just icon size. In the content editor I insert image by using Insert/Edit Image botton in TinyMCE's toolbar, and pick from media library.

    The problem I have is:

    • For all large size images, the path is prefixed with "/information/SubSite" thus they are displayed properly;
    • BUT for icon or small size image, when I pick from media library the "/information/SubSite" is there, after I save the content the prefix is gone! So the image is always not available. I have to select the missing picture in content editor again, click "Insert/Edit Image" button on toolbar one more time, it brings up the insert picture dialog box, from there I have to manually type in  "/information/SubSite" in the URL box and save content, then I can see it appears.

  • 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