Copied to clipboard

Flag this post as spam?

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


  • Jason Espin 368 posts 1335 karma points
    Apr 16, 2014 @ 10:19
    Jason Espin
    0

    Errors using Optimus in Umbraco 7.1.1

    Hi all,

    I've just installed Optimus within my Umbraco 7.1.1 installation and I'm encountering a number of errors. Firstly, when I click either the 'Scripts' or 'Styles' folder under 'Bundling' I am presented with the following error:

    Request error: The URL returned a 404 (not found):
    views/bundlingAndMinificationTree/edit.html
    

    The same issue occurs when left clicking on 'fonts' and 'images' within the 'Dynamic Stylesheets' section.

    Request error: The URL returned a 404 (not found):
    views/stylesheetsNew/edit.html
    

    What is the cause of these errors and are they something to worry about? Also, the documentation I have found for both the bundling and the use of dynamic stylesheets when using Optimus isn't very clear. Once I have created a bundle or a dynamic stylesheet, how do I reference them in my templates?

    Jason

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Apr 16, 2014 @ 21:57
    Jeavon Leopold
    100

    Hi Jason,

    You don't need to worry about those messages although it would be nice to get rid of them :-)

    You are right, it's not clear how to use the bundles in your templates (I will try to change that).

    Anyhow, all you need to do is add one or both of the below within you head tag of your template (View) and use the reference for your bundle

    @Styles.Render("~/bundles/MyCss")
    @Scripts.Render("~/bundles/MyJs")
    

    Jeavon

  • Jason Espin 368 posts 1335 karma points
    Apr 22, 2014 @ 11:43
    Jason Espin
    0

    Great thanks Jeavon!

  • Matthew Hardesty 22 posts 73 karma points
    Dec 12, 2014 @ 09:48
    Matthew Hardesty
    0

    Following up on this post. I'm running 7.1.6 and get 404 errors whenever I try to access those items in the Umbraco back office.

    Attempting to click on "scripts"

    Request error: The URL returned a 404 (not found): 
    views/bundlingAndMinificationTree/edit.html
    

    Attempting to click on "styles"

    Request error: The URL returned a 404 (not found): 
    views/bundlingAndMinificationTree/edit.html
    

    Attempting to click on a freshly made dynamic script

    Server Error in '/' Application.
    
    The resource cannot be found.
    
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. 
    
    Requested URL: /app_plugins/optimus/pages/fileeditor
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
    

    Attempting to click on a freshly made dynamic stylesheet

    Server Error in '/' Application.
    
    The resource cannot be found.
    
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. 
    
    Requested URL: /app_plugins/optimus/pages/fileeditor
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
    

    Any luck?

  • Comment author was deleted

    Dec 12, 2014 @ 09:53

    Have you tried a browser refresh? Also do the files exist on filesystem?

  • Matthew Hardesty 22 posts 73 karma points
    Dec 12, 2014 @ 10:07
    Matthew Hardesty
    0

    Just cleared browser cache and restarted it. Same as before.

    I was able to locate: /app_plugins/optimus/pages/FileEditor.aspx

    I was not able to locate: views/bundlingAndMinificationTree/edit.html

  • Comment author was deleted

    Dec 12, 2014 @ 10:22

    WHen do you get the 404? Is it when you click the Bundling/Scripts folder? Can you create a new bundle ?

     

  • Matthew Hardesty 22 posts 73 karma points
    Dec 12, 2014 @ 10:58
    Matthew Hardesty
    0

    Hey Tim,

    I created a short video to show you how I encountered the error: https://www.youtube.com/watch?v=DXnvbVWLwbk&feature=youtu.be

    In the video, I show what happens when I try to create scripts / bundles / etc.

     

     

     

     

     

     

     

     

     

  • Matthew Hardesty 22 posts 73 karma points
    Dec 15, 2014 @ 20:55
    Matthew Hardesty
    0

    Hey Tim,

    Any luck reproducing on your end?

     

  • Marco Teodoro 72 posts 147 karma points c-trib
    Dec 18, 2014 @ 20:25
    Marco Teodoro
    0

    Found the same issue after upgrade to 7.1.2 on nuget. maybe some file has gone. Where should i look into? 

    Regards,

    Marco

Please Sign in or register to post replies

Write your reply to:

Draft