Copied to clipboard

Flag this post as spam?

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


  • Hemant 45 posts 66 karma points
    Mar 07, 2012 @ 10:17
    Hemant
    0

    Upgradation of 3.0.5 to 4.7.1

    Hi All,

    I want to upgrade my umbraco project to version 4.7.1 that is in 3.0.5.

    I done that using : http://farmcode.org/post/2009/02/05/Upgrading-to-Umbraco-4.aspx.

    But, at final stage , installing the database, it stoped at 20% progress, like below.

     

    This process is spent more than 2 hrs. 
    And even i close it and start again, it come at this stage and same as it is.

    Please, help me.

    Thanks in advance.

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 07, 2012 @ 10:56
    Lee Kelleher
    1

    Hi Hemant,

    That blog post is a few years old now and was referring to upgrading to v4.0.

    I'd recommend the following upgrade path: v3.0.5 -> v4.0.1 -> v4.5.2 -> v4.7.1.1

    If you need any older releases/downloads, I have been maintaining an unofficial archive.

    Best of luck!

    Cheers, Lee.

  • Lennart Stoop 304 posts 842 karma points
    Mar 07, 2012 @ 11:05
    Lennart Stoop
    1

    I'd also go with the upgrade path Lee recommends. Here's a small upgrade guide for 4.0.x to 4.5.2 and 4.7.0, in case it might help.

    http://www.screencast.com/t/oVhKz5o9dfsU

     

    Grtz

    L

  • Hemant 45 posts 66 karma points
    Mar 07, 2012 @ 11:07
    Hemant
    0

    Thanks Lee & Lennart,


    I will follow your guidence.

     Please, also correct me that , is this ref. link is ok : http://farmcode.org/post/2009/02/05/Upgrading-to-Umbraco-4.aspx 
    to upgrade ??

    or please mention if you have another, better one.  

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 07, 2012 @ 12:55
    Lee Kelleher
    0

    Hi Hemant,

    Yes, the steps in the blog post are still good. The only problem being that you can't directly upgrade from v3.x to the latest version (v4.7+), you have to do it in a staggered approach.

    Cheers, Lee.

  • Hemant 45 posts 66 karma points
    Mar 12, 2012 @ 07:47
    Hemant
    0

    Hi Lee,

    Thanks.

    I have done successfully upgrade umbraco version 3.0.5 to 4.0.1.

    Now, i am doing upgrade 4.0.1 to 4.5.2.
    But, i am stopped the below stage. 

    It is not going ahead.

    Am i miss any step?
    I have choose AplicationPool = ASP.NET v4.0 Classic on IIS Configuration.
    Is it ok? or not ?

     

    I have solved this problem.

    but, there is  another problem, i  faced.

    Please check below link:
    http://120.72.90.245:8084/      : This is in version 4.0.1.

    http://120.72.90.245:8085/     : This is in version 4.5.2.

     

    The first link is working fine, as in (origional project) vesrion 3.0.5.

    But, in second link i get only 1 menu on left side compare to First one.

    Is anything i missed ???
     

    Waitting your reply.

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 12, 2012 @ 12:06
    Lee Kelleher
    0

    Hi Hemant,

    From your screengrab, it looks like the CSS (and most likely JavaScript) is not being loaded.  My *guess* would be that this is related to the ClientDependency settings ... either a permissions issue (e.g. read+write on the App_Data/TEMP folder - I *think* the IIS_USR needs permission) ... but for your upgrade, I'd suggest disabling ClientDependency for now.

    To do this, enable "debug" mode in your Web.config...

    <compilation debug="true" ... >

    Cheers, Lee.

  • Hemant 45 posts 66 karma points
    Mar 13, 2012 @ 13:47
    Hemant
    0

    Hi Lee,

    I have solved That ScreenShot problem.

    but, there is  another problem, i  faced.

    Please check below link:
    http://120.72.90.245:8084/      : This is in version 4.0.1.

    http://120.72.90.245:8085/     : This is in version 4.5.2.

     

    The first link is working fine, as in (origional project) vesrion 3.0.5.

    But, in second link i get only 1 menu on left side compare to First one.

    Is anything i missed ???
     

    Waitting your reply.

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 13, 2012 @ 13:56
    Lee Kelleher
    0

    Taking a complete guess... take a look in your "/config/umbracoSettings.config" file, check that the "<UseLegacyXmlSchema>" option is set to "true".

  • Hemant 45 posts 66 karma points
    Mar 14, 2012 @ 05:39
    Hemant
    0

    Hi Lee,

    Thanks for your reply.

    But, no success.

    Is any other settings which i missed ???

     

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 14, 2012 @ 11:16
    Lee Kelleher
    0

    Hi Hermant,

    Try republishing your entire website content? It might be that the new XML schema is being used, where all your templates/macros are using the legacy XML schema.

    Thanks, Lee.

  • Hemant 45 posts 66 karma points
    Mar 14, 2012 @ 12:18
    Hemant
    0

    Hi Lee,

    The backend not allow me to login, even i have credentials.

    SO, FOR THAT , i need to make any setting ??

    b'coz, original project that is in version 3.0.5 allow me to login backend side, with same credentials.

     

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 14, 2012 @ 12:30
    Lee Kelleher
    0

    Ah yes, it's the password encryption for the back-office users.  Find the "UsersMembershipProvider" setting in your Web.config and change the "passwordFormat" from "Hashed" to "Clear":

    <add name="UsersMembershipProvider" ... passwordFormat="Clear"/>
  • Hemant 45 posts 66 karma points
    Mar 14, 2012 @ 15:07
    Hemant
    0

    Hi Lee,

    Thanks .

    Now, i am able to login at backend side.

    But, still there is problem with menu.

    Only 1 menu is loading.

    Any missing point from my side.

    Thanks.

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 14, 2012 @ 15:12
    Lee Kelleher
    0

    Can you clarify what you mean by "Only 1 menu is loading"?

    Did you try republishing your entire website content?

  • Flemming Christensen 13 posts 50 karma points
    Mar 14, 2012 @ 15:33
    Flemming Christensen
    0

    Yes, we have tried to republish the entire website, but only the "frontpage" node is shown.

    I think the problem we have is that the navigation.xslt is from 3.0.5, and that it doesn't work in 4.5.2.

    The frontpage node is handled differently:

     

    <ul>
            <li>
              <style="margin-bottom:5px;">
                <xsl:attribute name="href">
                  <xsl:value-of select="umbraco.library:NiceUrl('1065')"/> <!-- forsiden håndteres særskilt -->
                </xsl:attribute>
                Forside
              </a>
            </li>

    But the foreach of the nodes doesn't get any nodes:

    <xsl:for-each select="umbraco.library:GetXmlNodeById($source)/descendant-or-self::node [@level &lt;=$level]/node [string(data [@alias='umbracoNaviHide']) != '1']">

        <xsl:choose>
        <xsl:when test="current()/data[@alias='noLink'] = '1'">
              <li class="naviNoLink"><xsl:value-of select="@nodeName"/></li>
        </xsl:when>
        <xsl:otherwise>
        <li>
                <href="{umbraco.library:NiceUrl(@id)}" title="Gå til {@nodeName}">
                  <xsl:if test="$currentPage/ancestor-or-self::node/@id = current()/@id">
                    <xsl:attribute name="class">selected</xsl:attribute>
                  </xsl:if>

                  <xsl:value-of select="@nodeName"/>
                </a>
          </li>
        </xsl:otherwise>
              </xsl:choose>
              
            </xsl:for-each>
          </ul>

    This is the result (which is also shown when using Visualize XSLT function in the xslt editor.

    <ul><li><a style="margin-bottom:5px;" href="/forside.aspx"><br> Forside<br> </a></li></ul><p>Done</p>

     

    This is the complete xslt 

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xsl:Stylesheet [
      <!ENTITY nbsp "&#x00A0;">
    ]>
    <xsl:stylesheet
      version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:msxml="urn:schemas-microsoft-com:xslt"
      xmlns:umbraco.library="urn:umbraco.library"
      exclude-result-prefixes="msxml umbraco.library">


      <xsl:output method="xml" omit-xml-declaration="yes" />

      <xsl:param name="currentPage"/>



      <xsl:template match="/">

    <xsl:variable name="source">
    <xsl:choose>
    <xsl:when test="$currentPage/ancestor-or-self::node[@id=1077]">
    <xsl:value-of select="1077" />
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$currentPage/@parent" />
    </xsl:otherwise>
    </xsl:choose>
    </xsl:variable>


        <xsl:variable name="level">
          <xsl:choose>
            <xsl:when test="$source='1077'" <!-- on-line-bestilling har særlig menu-struktur -->
              <xsl:value-of select="3" />
            </xsl:when>
               <xsl:otherwise>
              <xsl:value-of select="1"/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:variable>

          <ul>
            <li>
              <style="margin-bottom:5px;">
                <xsl:attribute name="href">
                  <xsl:value-of select="umbraco.library:NiceUrl('1065')"/> <!-- forsiden håndteres særskilt -->
                </xsl:attribute>
                Forside
              </a>
            </li>



    <xsl:for-each select="umbraco.library:GetXmlNodeById($source)/descendant-or-self::node [@level &lt;=$level]/node [string(data [@alias='umbracoNaviHide']) != '1']">

        <xsl:choose>
        <xsl:when test="current()/data[@alias='noLink'] = '1'">
              <li class="naviNoLink"><xsl:value-of select="@nodeName"/></li>
        </xsl:when>
        <xsl:otherwise>
        <li>
                <href="{umbraco.library:NiceUrl(@id)}" title="Gå til {@nodeName}">
                  <xsl:if test="$currentPage/ancestor-or-self::node/@id = current()/@id">
                    <xsl:attribute name="class">selected</xsl:attribute>
                  </xsl:if>

                  <xsl:value-of select="@nodeName"/>
                </a>
          </li>
        </xsl:otherwise>
              </xsl:choose>
              
            </xsl:for-each>
          </ul>


      </xsl:template>

    </xsl:stylesheet>

     

     

     

     

     

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 05:26
    Hemant
    0

    Hi Lee,

    Please Check Below links for "ONE MENU LOADING PROBLEM".

    In Version 3.0.5 : http://120.72.90.245:8083/     : This is our origional project.

    As you suggest me to upgrade it v3.0.5 -> v4.0.1 -> v4.5.2 ->  v4.7.1.

    I have upgraded it to version 4.0.1 : http://120.72.90.245:8084/  : That is same as version 3.0.5.(Means same menus)

    Now, i have upgraded from version 4.0.1 to 4.5.2 : http://120.72.90.245:8085/  : Here , i get ONLY ONE MENU.

    That is the problem.

    And yes, i have published it's contents from backend side.

    Thanks. 

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 15, 2012 @ 13:11
    Lee Kelleher
    0

    Hi Hemant,

    I've looked at your links, can see what you mean about the one menu item... but without knowledge of how the website (templates/macros) is built, I can't really help you with this.

    My guess is still that there is a problem with the content using the new XML schema, where your XSLT is using the legacy schema.  My final advice would be to try deleting the "/App_Data/umbraco.config" ... and let Umbraco regenerate it.  Then open "umbraco.config" and see what XML is being used ... if it is lots of "node" and "data" elements, then it's the legacy schema ... otherwise it's the new schema.

    - Lee

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 13:22
    Hemant
    0

    Hi Lee,

    Thanks for your reply.

    But, i am not finding "/App_Data/umbraco.config"  file.

     

    Thanks.

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 13:23
    Hemant
    0

    Hi Lee,

    Thanks for your reply.

    But, i am not finding "/App_Data/umbraco.config"  file.

     

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 15, 2012 @ 13:26
    Lee Kelleher
    0

    Try "/data/umbraco.config".  Also check your Web.config to see what the value is for the appSetting key "umbracoContentXML".

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 13:46
    Hemant
    0

    Hi Lee,

    I have deleted the previous "umbraco.config"  from data folder.

    And publish the project contents.

    Now, the new generated  umbraco.config is below: 

    [LK] Edit: <snipped/> No need to paste entire "umbraco.config" contents.

    Please, Check it and correct me.

    Thanks.

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 13:50
    Hemant
    0

    Hi Lee,

    And this is the setting in web.config for "umbracoContentXML"

    <add key="umbracoContentXML" value="/data/umbraco.config" /> 

     

    Thanks.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Mar 15, 2012 @ 13:53
    Lee Kelleher
    0

    Hi Hemant,

    I edited your post, as it was a bit excessive to post the entire contents of your 'umbraco.config'.  The format is using the legacy schema.

    Not sure why the navigation is only display one menu item.  You'll need to debug it (or ask the original developer to take a look for you).

    - Lee

  • Hemant 45 posts 66 karma points
    Mar 15, 2012 @ 13:58
    Hemant
    0

    Hi Lee,

    Thanks for your genuine help.

    Thanks.

     

Please Sign in or register to post replies

Write your reply to:

Draft