Copied to clipboard

Flag this post as spam?

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


  • Michal Koblasa 45 posts 139 karma points
    May 04, 2017 @ 10:09
    Michal Koblasa
    0

    Debug false - Admin section is not loading

    Hello guys,

    i need to run with debug=false, but umbraco admin section is failing. I followed few of post on this topic, where was cache reload supposed (done), and some very old for v4.

    But still cannot make it work, when i switch to debug=true, it is fine.

    Umbraco version is: 7.5.9

    enter image description here

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 04, 2017 @ 11:35
    Dennis Adolfi
    0

    Have you tried bumping the Client Dependency version number?

    I had this same issue the other day, an mine was solved by bumping CDF.

    Bumping: in /Config/DlientDependency.config file, bump the version number by +1, which will force CDF to re-cache/bundle etc.

    When you run debug=true, CDF is disabled and that could be the reason why it´s working for you when you have debug=true.

    Best of luck to you! Let me know how it goes!

    Have a great day!

  • Michal Koblasa 45 posts 139 karma points
    May 04, 2017 @ 12:05
    Michal Koblasa
    0

    Thank you for advice, i tried. But still same.

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 05, 2017 @ 06:20
    Dennis Adolfi
    0

    Oh, I'm sorry to hear that. Solved it for me when I had a similar experience the other day.

    Have your checked you logfiles to see if there is any entries marked ERROR? Maybe those can lead you towards the answer..

    Best of luck to you!

  • Michal Koblasa 45 posts 139 karma points
    May 10, 2017 @ 15:33
    Michal Koblasa
    0

    Hello, in log is only this, model builder should not be related to load JS, and info messages are ok:

    2017-05-10 17:29:54,744 [P14136/D2/T13] ERROR Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models.
    System.InvalidOperationException: The model class for content type with alias "Newsletter" is named "Newsletter". CSharp does not support using the same name for the property with alias "newsletter". Consider using an attribute to assign a different name to the property.
       at Umbraco.ModelsBuilder.Building.Builder.Prepare() in C:\Users\Stéphane\Documents\Development\Umbraco\Zbu\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Building\Builder.cs:line 171
       at Umbraco.ModelsBuilder.Building.Builder..ctor(IList`1 typeModels, ParseResult parseResult) in C:\Users\Stéphane\Documents\Development\Umbraco\Zbu\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Building\Builder.cs:line 84
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GenerateModelsCode(IDictionary`2 ourFiles, IList`1 typeModels) in C:\Users\Stéphane\Documents\Development\Umbraco\Zbu\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 345
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild) in C:\Users\Stéphane\Documents\Development\Umbraco\Zbu\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 283
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels() in C:\Users\Stéphane\Documents\Development\Umbraco\Zbu\Zbu.ModelsBuilder\Umbraco.ModelsBuilder\Umbraco\PureLiveModelFactory.cs:line 152
     2017-05-10 17:29:54,745 [P14136/D2/T13] WARN  Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
     2017-05-10 17:30:09,061 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
     2017-05-10 17:30:09,086 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 0 (took 25ms)
     2017-05-10 17:30:10,204 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
     2017-05-10 17:30:10,204 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 0 (took 0ms)
     2017-05-10 17:30:10,237 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Starting resolution types of umbraco.cms.businesslogic.macro.IMacroEngine
     2017-05-10 17:30:10,307 [P14136/D2/T13] INFO  Umbraco.Core.PluginManager - Completed resolution of types of umbraco.cms.businesslogic.macro.IMacroEngine, found 0 (took 69ms)
     2017-05-10 17:30:29,846 [P14136/D2/T20] INFO  Umbraco.Core.PluginManager - Starting resolution types of umbraco.interfaces.ICacheRefresher
     2017-05-10 17:30:29,861 [P14136/D2/T20] INFO  Umbraco.Core.PluginManager - Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 0 (took 14ms)
    
Please Sign in or register to post replies

Write your reply to:

Draft