Copied to clipboard

Flag this post as spam?

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


  • Tomasz 11 posts 82 karma points
    Jan 05, 2016 @ 21:31
    Tomasz
    1

    Package install issues when Umbraco in virtual path (as application)

    Thought I'd share.

    I had a problem installing the plugin on a configuration as follows IIS site structure (I am sure this will be the same issue for all plugins):

    • /foo –
    • /foo/bar (bar setup as application)
    • /foo/bar/…
    • /foo/bar/views
    • /foo/bar/umbraco

    This creates a folder /foo/bar/bar/AppPlugins/SpectrumColorPicker/…). - clearly, a bug. I tried to simply move the plugin from /foo/bar/bar/AppPlugins/… to /foo/bar/App_Plugins/… (normal structure?)

    But that was only fixed the Data Type editor, the document type using the plugin was failing to load CSS and JS.

    I added the ~ (tilde) sign in assetsService.load([“~/…”]) and assetsService.loadCss(“~/…”) in the SpectrumColorPicker.controller.js to fix the issue.

    Also the web.config needs an update to the following line <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">

    This might need a re-test and potentially be included in the package?.

    Thanks! Tomasz

  • Robert Foster 388 posts 1454 karma points admin c-trib
    Jan 05, 2016 @ 23:02
    Robert Foster
    0

    Hi Tomasz, Yep, that makes sense - I'll try to get the project updated today...

  • Robert Foster 388 posts 1454 karma points admin c-trib
    Jan 06, 2016 @ 04:53
    Robert Foster
    0

    Hi Tomasz,

    One other thought - did you use the Nuget package to install, or the Umbraco Project through the back-office? Just wondering as I look into the install issue as well.

    Ta, Rob.

  • Tomasz 11 posts 82 karma points
    Jan 11, 2016 @ 01:57
    Tomasz
    0

    Hi Robert,

    Sorry for the late response, I used the CMS Repo, not a NuGet package.

    Site running 7.3.0 (NuGet), SQL 2012, VS2015.

    Hope that helps.

    Thanks

  • Jacob Alvarez 7 posts 98 karma points
    Sep 07, 2016 @ 14:35
    Jacob Alvarez
    1

    Robert

    Has any progress been made fixing this? All of our dev Umbraco sites are set up in subdirectories on a dev domain, so we can't install packages for any of them... Our current workaround is to set up new Umbraco sites on a subdomain, but this goes against our convention of just using subdirectories and is more of a hassle.

    Also, note that we've tried installing packages through NuGet and the Umbraco backend, both being unsuccessful.

    Thanks Jacob

  • Prisha 16 posts 86 karma points
    Jun 17, 2017 @ 19:13
    Prisha
    0

    Any success I am having same issue in 7.6.3 If you have found a solution please share it would a great help.

  • Robert Foster 388 posts 1454 karma points admin c-trib
    Jun 17, 2017 @ 20:43
    Robert Foster
    0

    Support for virtual paths has been added in the source code on the git repository (https://github.com/robertjf/UmbColourPicker) and I'll push up a new version of the umbraco project shortly.

    Edit: New version (v. 0.0.6) now available as both NuGet package and uploaded to the packages repository.

    Rob.

  • Lorentzen1337 1 post 71 karma points
    Sep 28, 2016 @ 08:56
    Lorentzen1337
    0

    Any news on fixing this bug? Running the sites in debug mode does not seem that viable. By the way thanks for an awesome extension!

    Thanks

  • Robert Foster 388 posts 1454 karma points admin c-trib
    Jun 17, 2017 @ 20:45
    Robert Foster
    0

    I know this is an old comment, and I've just now moderated you so you can post etc. freely (not sure why you were blocked).

    you should not in any way need to run the site in debug mode in order to use this or any other package. If this is still the case on an updated Umbraco install, you should probably check out the issues register here:

    http://issues.umbraco.org/

    • Rob.
Please Sign in or register to post replies

Write your reply to:

Draft