Copied to clipboard

Flag this post as spam?

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


  • Adrian 38 posts 117 karma points
    Dec 06, 2013 @ 12:43
    Adrian
    0

    U7 installed in test site, in sub folder, JS errors in Backend

    Hi,

    I've created a test site, and added a subfolder, so the url to the test site is

    http://[myurl]/bart/

    set up asp.net app etc.

    Run through the first run install, and installing the Text starter pack.

    When we browse to the url, the browser just shows 'The Service is unavailable' message

    When we go to the new back office http://[myurl]/bart/umbraco I notice there are some 404s on ActionDeleteRelationType.js, ActionNewRelationType.js generated by YepNope.min.js.

    in chrome dev tools the SRC of the scripts is

    <script src="/umbraco/developer/RelationTypes/TreeMenu/ActionDeleteRelationType.js"></script>

    It looks likethe links to these files is hard coded into umbraco.dll...

    i've temporally fixed the 404 using IIS Url rewriting...

  • Adrian 38 posts 117 karma points
    Dec 06, 2013 @ 12:53
    Adrian
    0

    Also when trying to sort out the Starter kits, I get more 404 errors like this

    Failed to load resource: the server responded with a status of 404 (Not Found) http://testumbraco.mysite.co.uk/Bart/umbraco/views/packager/edit.html

    Which I cant fix with url rewrite as I cant find the packager/edit.html file.

    :-(

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 09, 2013 @ 15:49
    Per Ploug
    0

    there is no package/edit.html the packager doesnt have any editor on its root node, so believe this is bug, there should be no editor when clicking that. Will look into those relationtype scripts

  • Sandro Mastronardi 11 posts 69 karma points
    Oct 22, 2014 @ 12:04
    Sandro Mastronardi
    0

    I have the same script files that are not being loaded in umbraco 7.1.8 when running in a subfolder application... This is the code:

    ///

    /// Gets a string for the javascript source /// public string JsSource { get { return "/umbraco/developer/RelationTypes/TreeMenu/ActionNewRelationType.js"; } }

    the fact that it uses /umbraco and not a relative url causes it to break under an application when umbraco is not installed in the root... is there a fix coming for this?

    Sandro

  • stefan 4 posts 24 karma points
    May 15, 2016 @ 14:16
    stefan
    0

    I'm getting similar exception on the backend in the 7.4.3 release too:

    Exception thrown: 'System.ArgumentException' in System.Web.dll

    Additional information: The relative virtual path 'developer/RelationTypes/TreeMenu/ActionDeleteRelationType.js' is not allowed here.

    In this method:

        public static Attempt<string> TryResolveUrl(string virtualPath)
    
Please Sign in or register to post replies

Write your reply to:

Draft