Copied to clipboard

Flag this post as spam?

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


  • Hassan 79 posts 264 karma points
    May 31, 2016 @ 05:56
    Hassan
    0

    Developer section does not show in backoffice

    Hi.

    I use Umbraco 7.3.7. Developer section is shown in backoffice, but when I clicked on it, backoffice is going out and login page is appeared!

    enter image description here

    Other sections work correcly, but developer not work. When I clicked on developer section, backoffice is going out and login page is appeared:

    enter image description here

    What is that problem? How can I solve it?

    With thanks.

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 31, 2016 @ 06:23
    Dennis Adolfi
    0

    Hello Hassan. Yes, this happpens sometimes. Easy fix however.

    Its your /Config/trees.config that has been malformed.

    Just replace it with the trees.config file from a fresh install: https://our.umbraco.org/contribute/releases/737/, or replace its content in your solution with:

        <?xml version="1.0" encoding="utf-8"?>
        <trees>
          <!--Content-->
          <add initialize="true" sortOrder="0" alias="content" application="content" title="Content" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.ContentTreeController, umbraco" />
          <add initialize="false" sortOrder="0" alias="contentRecycleBin" application="content" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.ContentRecycleBin, umbraco" />
          <!--Media-->
          <add initialize="true" sortOrder="0" alias="media" application="media" title="Media" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.MediaTreeController, umbraco" />
          <add initialize="false" sortOrder="0" alias="mediaRecycleBin" application="media" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.MediaRecycleBin, umbraco" />
          <!--Settings-->
          <add application="settings" alias="stylesheets" title="Stylesheets" type="umbraco.loadStylesheets, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="0" />
          <add application="settings" alias="stylesheetProperty" title="Stylesheet Property" type="umbraco.loadStylesheetProperty, umbraco" iconClosed="" iconOpen="" initialize="false" sortOrder="0" />
          <add application="settings" alias="templates" title="Templates" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.TemplatesTreeController, umbraco" initialize="true" sortOrder="1"/>
          <add application="settings" alias="partialViews" title="Partial Views" silent="false" initialize="true" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.PartialViewsTree, umbraco" sortOrder="2" />
          <add application="settings" alias="scripts" title="Scripts" type="umbraco.loadScripts, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />
          <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />
          <add application="settings" alias="languages" title="Languages" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.LanguageTreeController, umbraco" sortOrder="5" />
          <add application="settings" alias="mediaTypes" title="Media Types" type="umbraco.loadMediaTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="6" />
          <add application="settings" alias="nodeTypes" title="Document Types" type="umbraco.loadNodeTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="7" />
          <!--Developer-->
          <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
          <add application="developer" alias="macros" title="Macros" type="umbraco.loadMacros, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />
          <add application="developer" alias="packager" title="Packages" type="umbraco.loadPackager, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />
          <add application="developer" alias="packagerPackages" title="Packager Packages" type="umbraco.loadPackages, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" initialize="false" sortOrder="3" />
          <add application="developer" alias="relationTypes" title="Relation Types" type="umbraco.loadRelationTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />
          <add application="developer" alias="xslt" title="XSLT Files" type="umbraco.loadXslt, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="5" />
          <add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTree, umbraco" silent="false" initialize="true" sortOrder="6" title="Partial View Macro Files" iconClosed="icon-folder" iconOpen="icon-folder" />
          <!--Users-->
          <add application="users" alias="users" title="Users" type="umbraco.loadUsers, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="0" />
          <add application="users" alias="userTypes" title="User Types" type="umbraco.cms.presentation.Trees.UserTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />
          <add application="users" alias="userPermissions" title="User Permissions" type="umbraco.cms.presentation.Trees.UserPermissions, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />
          <!--Members-->
          <add initialize="true" sortOrder="0" alias="member" application="member" title="Members" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MemberTreeController, umbraco" />
          <add application="member" alias="memberGroup" title="Member Groups" type="umbraco.loadMemberGroups, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />
          <add application="member" alias="memberType" title="Member Types" type="umbraco.loadMemberTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />
          <!--Translation-->
          <add silent="false" initialize="true" sortOrder="1" alias="openTasks" application="translation" title="Tasks assigned to you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadOpenTasks, umbraco" />
          <add silent="false" initialize="true" sortOrder="2" alias="yourTasks" application="translation" title="Tasks created by you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadYourTasks, umbraco" />
          <!-- Custom -->
      <!-- Save anything that you might have under Custom -->
        </trees>
    

    Let me know if it works out for you!!

    / Dennis

  • Hassan 79 posts 264 karma points
    May 31, 2016 @ 07:25
    Hassan
    1

    Hello Dennis!

    I cheked /Config/trees.config in my project. It is like to content above. And In my /Config/trees.config there are some additional information because I use Newsletter studio in my project. There are no different between content above and my config file to replace.

    This is config file in my project:

    <?xml version="1.0" encoding="utf-8"?>
    <trees>
     <!--Content-->
     <add initialize="true" sortOrder="0" alias="content"      application="content" title="Content" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.ContentTreeController, umbraco" />
     <add initialize="false" sortOrder="0" alias="contentRecycleBin" application="content" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.ContentRecycleBin, umbraco" />
     <!--Media-->
     <add initialize="true" sortOrder="0" alias="media" application="media"  title="Media" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.MediaTreeController, umbraco" />
     <add initialize="false" sortOrder="0" alias="mediaRecycleBin" application="media" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.MediaRecycleBin, umbraco" />
     <!--Settings-->
     <add initialize="true" sortOrder="0" alias="documentTypes" application="settings" title="Document Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.ContentTypeTreeController, umbraco" />
     <add application="settings" alias="templates" title="Templates" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.TemplatesTreeController, umbraco" initialize="true" sortOrder="1" />
     <add application="settings" alias="partialViews" title="Partial Views" silent="false" initialize="true" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.PartialViewsTree, umbraco" sortOrder="2" />
     <add application="settings" alias="stylesheets" title="Stylesheets" type="umbraco.loadStylesheets, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />
     <add application="settings" alias="stylesheetProperty" title="Stylesheet Property" type="umbraco.loadStylesheetProperty, umbraco" iconClosed="" iconOpen="" initialize="false" sortOrder="0" />
     <add application="settings" alias="scripts" title="Scripts" type="umbraco.loadScripts, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />
     <add application="settings" alias="languages" title="Languages" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.LanguageTreeController, umbraco" sortOrder="5" />
     <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="6" />
     <add initialize="true" sortOrder="7" alias="mediaTypes" application="settings" title="Media Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MediaTypeTreeController, umbraco" />
     <!--Developer-->
     <add initialize="true" sortOrder="0" alias="dataTypes" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add application="developer" alias="macros" title="Macros" type="umbraco.loadMacros, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />
     <add application="developer" alias="packager" title="Packages" type="umbraco.loadPackager, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />
     <add application="developer" alias="packagerPackages" title="Packager Packages" type="umbraco.loadPackages, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" initialize="false" sortOrder="3" />
     <add application="developer" alias="relationTypes" title="Relation Types" type="umbraco.loadRelationTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />
     <add application="developer" alias="xslt" title="XSLT Files" type="umbraco.loadXslt, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="5" />
     <add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTree, umbraco" silent="false" initialize="true" sortOrder="6" title="Partial View Macro Files" iconClosed="icon-folder" iconOpen="icon-folder" />
     <!--Users-->
     <add application="users" alias="users" title="Users" type="umbraco.loadUsers, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="0" />
     <add application="users" alias="userTypes" title="User Types" type="umbraco.cms.presentation.Trees.UserTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />
     <add application="users" alias="userPermissions" title="User Permissions" type="umbraco.cms.presentation.Trees.UserPermissions, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />
     <!--Members-->
     <add initialize="true" sortOrder="0" alias="member" application="member" title="Members" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MemberTreeController, umbraco" />
     <add initialize="true" sortOrder="1" alias="memberTypes" application="member" title="Member Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MemberTypeTreeController, umbraco" />
     <add application="member" sortOrder="2" alias="memberGroups" title="Member Groups" type="umbraco.loadMemberGroups, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" />
     <!--Translation-->
     <add silent="false" initialize="true" sortOrder="1" alias="openTasks" application="translation" title="Tasks assigned to you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadOpenTasks, umbraco" />
     <add silent="false" initialize="true" sortOrder="2" alias="yourTasks" application="translation" title="Tasks created by you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadYourTasks, umbraco" />
     <!-- Custom -->
     <!--<add application="myApplication" alias="myTree" title="Me Tree" type="MyNamespace.myTree, MyAssembly"
       iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="10" />-->
     <add initialize="true" sortOrder="10" alias="MailingList" application="NewsletterStudio" title="Mailing lists" iconClosed="icon-folder" iconOpen="icon-folder-open" type="NewsletterStudio.Umbraco.MailingListTreeController, NewsletterStudio" />
     <add initialize="true" sortOrder="5" alias="Newsletter" application="NewsletterStudio" title="Newsletters" iconClosed="icon-message" iconOpen="icon-message" type="NewsletterStudio.Umbraco.NewsletterTreeController, NewsletterStudio" />
     <add initialize="true" sortOrder="15" alias="Settings" application="NewsletterStudio" title="Settings" iconClosed="icon-settings" iconOpen="icon-settings" type="NewsletterStudio.Umbraco.SettingsTreeController, NewsletterStudio" />
     <add initialize="true" sortOrder="2" alias="datasource" application="forms" title="Datasources" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.DataSourceTreeController, Umbraco.Forms.Web" />
     <add initialize="true" sortOrder="0" alias="form" application="forms" title="Forms" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.FormTreeController, Umbraco.Forms.Web" />
     <add initialize="true" sortOrder="3" alias="prevaluesource" application="forms" title="Prevalue sources" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.PreValueSourceTreeController, Umbraco.Forms.Web" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="bundlingAndMinificationTree" application="settings" title="Bundling" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="Optimus.Umbraco.Trees.BundlingAndMinificationTree, Optimus" />
     <add initialize="true" sortOrder="5" alias="mediaTypes" application="settings" title="Media Types" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadMediaTypes, umbraco" />
     <add initialize="true" sortOrder="1" alias="memberGroup" application="member" title="Member Groups" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadMemberGroups, umbraco" />
     <add initialize="true" sortOrder="2" alias="memberType" application="member" title="Member Types" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadMemberTypes, umbraco" />
     <add initialize="true" sortOrder="6" alias="nodeTypes" application="settings" title="Document Types" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadNodeTypes, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="3" alias="formsecurity" application="users" title="Forms Security" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Forms.Web.Trees.FormSecurityTreeController, Umbraco.Forms.Web" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
     <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />
    </trees>
    
  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 31, 2016 @ 08:28
    Dennis Adolfi
    0

    Hi again Hassan.

    Your config file does´nt look exacly like the fresh install if you look in the end of you Custom section. You see that you have all the trees defined again under your custom section? And at the very end of the file you have the developer tree defined about 10 times.

    After the -- Custom -- section, try removing everything except this:

    <add initialize="true" sortOrder="10" alias="MailingList" application="NewsletterStudio" title="Mailing lists" iconClosed="icon-folder" iconOpen="icon-folder-open" type="NewsletterStudio.Umbraco.MailingListTreeController, NewsletterStudio" />
     <add initialize="true" sortOrder="5" alias="Newsletter" application="NewsletterStudio" title="Newsletters" iconClosed="icon-message" iconOpen="icon-message" type="NewsletterStudio.Umbraco.NewsletterTreeController, NewsletterStudio" />
     <add initialize="true" sortOrder="15" alias="Settings" application="NewsletterStudio" title="Settings" iconClosed="icon-settings" iconOpen="icon-settings" type="NewsletterStudio.Umbraco.SettingsTreeController, NewsletterStudio" />
    
  • Hassan 79 posts 264 karma points
    May 31, 2016 @ 10:37
    Hassan
    0

    Hi.

    You are right Dennis. I corrected my config file, but it is not working yet.

    Should I do something else for this problem or change config file is enough for solve it?

    I cleared browser cache and republish site too, but developer section does not appear yet.

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 31, 2016 @ 10:53
    Dennis Adolfi
    101

    Could you try to replace the entire trees.config file with the same file fresh install (not just specific lines, the enitre file) and then add the 3 newsletter specific lines after Custom.

    When this is done, bumb your /Config/ClientDependancy.config version number and see if the problem still exist.

    Otherwise, you might want to look in the logfile for any errors.

    Best of luck to you!

  • Hassan 79 posts 264 karma points
    May 31, 2016 @ 12:59
    Hassan
    1

    Thank you Dennis.

    I replaced entire tree.config and then add my custom tags in it and it works correctly.

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 31, 2016 @ 13:03
    Dennis Adolfi
    0

    Ah that´s great to hear Hassan!! Glad i could help!! Have a great day!!

Please Sign in or register to post replies

Write your reply to:

Draft