Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1444 posts 1855 karma points
    Nov 22, 2017 @ 16:40
    Gordon Saxby
    0

    Install not working

    Umbraco v7.5.11

    I have tried installing using Nuget "Install-Package DiploTraceLogViewer -Version 2.4.1" and also by using the Install Package feature in Umbraco, but the Log Viewer does not appear in the Developer section!?

    I have logged out and back in again, I have restarted IIS, I have updated ClientDependency ... not sure what to do next!

    Edit: I have also tried installing it as a local package, but still no Log Viewer anywhere :-(

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Nov 22, 2017 @ 17:03
    Dan Diplo
    0

    Strange. I can't remember if I've tested that exact version of Umbraco, but I know it works on most versions I've used between 7.4.x and latest 7.7.6

    A few things you can try:

    Run your site in debug mode (ie. set debug="true" in web.config). This stops ClientDependency being used and avoids some caching issues.

    Open Chrome dev tools and check for any JS errors. If you can, disable cache via dev tools. Report any errors.

    Check in /config/trees.config and look if you can locate this line:

      <add initialize="true" sortOrder="9" alias="diploTraceLog" application="developer" title="Trace Logs" iconClosed="icon-folder" iconOpen="icon-folder-open"
        type="Diplo.TraceLogViewer.Controllers.TraceLogTreeController, Diplo.TraceLogViewer"/>
    

    If you can't see it, add it.

    Double check that Diplo.TraceLogViewer.dll is in the /bin folder and you have a folder called DiploTraceLogViewer in your /App_Plugins/ folder.

  • Gordon Saxby 1444 posts 1855 karma points
    Nov 23, 2017 @ 09:14
    Gordon Saxby
    0

    It was the trees.config setting that was missing - no idea why?!

  • Gordon Saxby 1444 posts 1855 karma points
    Nov 23, 2017 @ 09:28
    Gordon Saxby
    0

    I have just tried installing it, as a local package (v2.4.1), in a different environment but the same site / project.

    The DLL and App_Plugins bit worked, but the trees.config was not updated again. I added the config line (as above) and it still didn't work. I logged of and on again - didn't work. I updated the version in ClientDependency, refreshed and logged back in and that did work.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Nov 23, 2017 @ 13:16
    Dan Diplo
    0

    Strange. It's Umbraco itself that is supposed to create the config entry in trees.config when it discovers the assembly.

    I've just tested installing it (via NuGet) into a fresh, blank Umbraco 7.6.7 install and it worked - it appeared immediately.

  • Gordon Saxby 1444 posts 1855 karma points
    Nov 23, 2017 @ 14:01
    Gordon Saxby
    0

    Strange indeed! Maybe it's an issue with Umbraco 7.5.11? Or something odd has happened in our Visual Studio solution?!

Please Sign in or register to post replies

Write your reply to:

Draft