Copied to clipboard

Flag this post as spam?

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


  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 12:20
    Bunnynut
    0

    Homepage keeps redirecting to 'Upgrading Umbraco'-page

    Im setting up a new website using Umbraco, i have defined some document types, templates and some content.

    But when i try to visit the homepage it keeps redirecting me to the Installing Umbraco page.

    How can i fix this? Any help it greatly appreciated.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 15:46
    Charles Afford
    0

    Hi, how are you trying to visit the home page?  Through a url or a preview in the Umbraco backend?  Are you using XSLT?  What version of umbraco are you using?  Are you using IIS or WebMatrix.  Have you published all your content out in the Umbraco backend?  Charles :)

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 16:03
    Bunnynut
    0

    Both previewing the page and visiting it directly results in that page.

    Im not using any XSLT yet, but i will and im using the latest version. the ConfigurationStatus tells me it's 4.9.0.

    How should it be configured then, is it the default document?

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 16:28
    Charles Afford
    0

    So what exactly previewing?  You are seeing the default page when Umbraco cannot find any content, which would be correct i guess as i assume you have no macros within your templates?.  Charlie :)

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 16:33
    Charles Afford
    0

    If you go to > Developers > XSLT files > right click > add xslt file (include macro) > call it myfirstxslt

    Then in your template  > Setting > templates add:

    <umbraco:Macro Alias="myfirstxslt"  htmlEncode="true" disable-output-escaping="yes" runat="server"></umbraco:Macro>

    Then go to the Content tab > Assign the template to a node and preview.

    You should now see a blank white page as the xslt is blank.

    With in your xslt file in the middle somewhere you can use:

    <textarea>

    <xsl:copy-of select="$currentPage"></xsl:copy-of>

    </textarea> 

    This will show you all the xml loaded for the page.  Hope this helps :)  Charlie :)

     

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 16:50
    Bunnynut
    0

    That doesnt seem to work.

    What i do notice is that the umbracoConfigurationStatus setting tells me im using 4.9.0 but the upgrade page tells me im using the 4.11.3 configuration wizard.
    For some reason it thinks im using an old version and i need to upgrade.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 17:02
    Charles Afford
    0

    Ok, so could you explain what you have done so far?  Is this the first install you have done?  How did you install it?  What version did you use?  Thanks.  Charlie

    Could you also tell me or post what have you got in terms of doc types/templates and what nodes are in the content tree.  Thanks  Charlie :)

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 17:07
    Bunnynut
    0

    I downloaded Umbraco from the website using webplatform installer. Entered connection data after which the database was created.
    I copied all the files from the locally installed web to the webserver via FTP.

    I have created 1 Master Document type with two types inheriting from that one Home and Content.
    3 templates: Main and Home and Content under Main.

    In my content tree I have the following:

    Homepage - Home documenttype and Home template
         Content item 1 - Content documenttype, content template
         Content item 2 - Content documenttype, content template
         Content item 3 - Content documenttype, content template

    Thats all i have so far.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 17:14
    Charles Afford
    0

    Ok,  unpublish the Content items and what do you have in your Home template and home document type?  Umbraco cannot find any content, thats why you are getting the page.  

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 17:15
    Charles Afford
    0

    Why are you using a web server?, are you able to use IIS??

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 17:22
    Bunnynut
    0

    My Home document type consists of some content fields divied in three blocks each consist of a title, image and text. So Title block 1 - 3, Image Block 1-3 and Text block 1 - 3.

    My Home template looks like this:

    <%@ Master Language="C#" MasterPageFile="~/masterpages/main.master" AutoEventWireup="true" CodeFile="home.master.cs" Inherits="masterpages_home" %>

    <asp:Content ContentPlaceHolderID="cphLogoHeader" runat="server">
    <div class="homescreen">
        <div class="wrapper">
          <img src="/static/images/webmolecule_beeldmerk.png" alt="webmolecule" />
          <span>
            <h1>Websites, projectmanagement en alles wat met het web te maken heeft.<br><br>
              <a href="">Bekijk ons werk</a>
            </h1>
          </span>
      </div>
    </div>
    </asp:Content>

    <asp:Content ContentPlaceHolderID="cphContent" runat="server">
        <section>
          <h2>Design en development</h2>
        <img src="/static/images/design_development.png" alt="webmolecule - design en development" />
        <p>Om u zelf de controle te geven over de content van de website, zal u over de mogelijkheid beschikken om de content op uw website aan te passen. Voeg een regel toe voor de uitlijning.
            <br /><a href="">Meer informatie over Design en Development</a></p>
      </section>

        <section>
          <h2>Onderhoud en functionaliteit</h2>
        <img src="/static/images/ontwikkeling_functionaliteit.png" alt="webmolecule - ontwikkeling en functionaliteit" />
        <p>Een website is eigenlijk nooit af, dat geldt niet alleen voor de content, maar ook voor de functionaliteit van de website. Mocht u later iets willen aanpassen dan kunt u  bij ons terecht.
            <br /><a href="">Meer informatie over onderhoud en functionaliteit</a></p>
      </section>

        <section>
          <h2>Advies en management</h2>
        <img src="/static/images/advies_management.png" alt="webmolecule - advies en management" />
        <p>Naast ervaring met het ontwikkelen van websites en -applicaties heeft WebMolecule ruime ervaring met het managen en leiden van diverse webprojecten.
            <br /><a href="">Meer informatie over advies en management</a></p>
      </section>
    </asp:Content>

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 17:29
    Charles Afford
    0

    Ok what is in the top level template you have?  any why are you using code behind in there?

     

    Charles :)

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 17:36
    Charles Afford
    0

     

    HTML:

       <html>

    Head information

       <asp:contentplaceholder id="BodyPlaceHolder" runat="server"></asp:contentplaceholder>

      <html>

     

    DEFAULT:

    <asp:Content ID="BodyPlaceHolder" ContentPlaceHolderID="BodyPlaceHolder" runat="server">

    <body>

    <asp:contentplaceholder id="Another" runat="server"/> 

    </body> 

     </asp:Content>

     

    ANOTHER:

    <asp:Content ContentPlaceHolderID="Another" runat="server">

    <umbraco:Macro Alias="XSLTFILE"  htmlEncode="true" disable-output-escaping="yes" runat="server"></umbraco:Macro>

    </asp:Content>

     

    All of your html markup should go in that xslt file. 

    Does that make sense :)?  Charlie :)

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 04, 2013 @ 18:17
    Jan Skovgaard
    0

    Hi Bunny

    Must admit that I have only just skimmed through this post - but is my understanding correct that you have upgraded your Umbraco installation?

    If so try having a look at the web.config file and look for the configuration status here <add key="umbracoConfigurationStatus" value="4.11.4" /> does it have a value? If not simply enter the correct version number of Umbraco. Then it should stop redirecting to the upgrade screen.

    Also remember to delete the "install" directory.

    Hope this helps.

    /Jan

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 19:50
    Bunnynut
    0

    My Main Masterpage looks like this:

    MAIN:

    <%@ Master Language="C#" AutoEventWireup="true" %>

    <html>

     Head information

       <asp:contentplaceholder id="cphMain" runat="server"></asp:contentplaceholder>

    <html>

    HOME:

    <%@ Master Language="C#" MasterPageFile="~/masterpages/main.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="cphMain" runat="server">
     CONTENT HOME PAGE
    </asp:Content>

    I have deleted the install directory and changed the <add key="umbracoConfigurationStatus" value="4.11.4" />.

    Still the website directly redirects to /install/default.aspx, which is not there.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 22:03
    Charles Afford
    0

    Hey sorry for the late reply,  ummmm do this .... @Jan Skovgaard.  

    Jan obv is suggesting its a config problem and not a codeing issue.  I dont really have any exp of this so its best to ask him :)

    That code is alot better though and the way you want to structure things.  Then just use either an xslt file or razor views (if you want to use MVC)

    Charles.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 22:08
    Charles Afford
    0

    Hang on what version of umbraco are you using?  the value of the key needs to be that of the version of umbraco you are using?.  Charles

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 22:22
    Bunnynut
    0

    Well at first my web.config told me i was using 4.9.x, but it kept trying to upgrade to 4.11.4.

     So I changed the setting just as Jan suggested, but to no avail.

    I guess something went wrong during the installation. Maybe the easiest way is to just install it again, I wont lose a lot of work.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 22:31
    Charles Afford
    0

    have you tried the key with 4.9.x?  What was the package you installed?  

  • Bunnynut 136 posts 318 karma points
    Feb 04, 2013 @ 22:37
    Bunnynut
    0

    Yes, thats what i started out with.

  • Charles Afford 1163 posts 1709 karma points
    Feb 04, 2013 @ 22:46
    Charles Afford
    0

    ah i see.  hmmm i would wait and see what Jan says.  You could try re-installing?  personallt i have never got web matrix to work, always used iis.  Its not coming up with any other erros just riedirecting you? hmmm.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 05, 2013 @ 00:14
    Jan Skovgaard
    0

    Hi Bunnuynut

    Hmm, hard to say what's going on there - perhaps it's best to try and start out on a clean installation of 4.11.4 - Try to follow the install instructions from the documentation here http://our.umbraco.org/documentation/Installation/

    Either try the manual installation or try the webmatrix approach.

    Hope this helps.

    /Jan

  • Bunnynut 136 posts 318 karma points
    Feb 05, 2013 @ 13:17
    Bunnynut
    0

    Ok, i decided to start all over. Downloaded the latest version from http://umbraco.com/download using the Web Platform installer.
    I checked the 'Enable configuration of all web application parameters' option and clicked on the Install-button.
    Funny thing is that i want to change the account with which the installer tries ot connect to the database.
    But im unable to change either the databaseserver or the account name, i would really like to do that.
    In the documentation it says "Once you've created the database and credentials, enter those details in the install wizard after choosing the I already have a blank SQL Server 2008 database option. "
    So because its impossible to change it, i select SQL Server CE.

    In the Configure step, i select my local IIS Web but leave everything as is and click Continue.

    It now gives me the message that the Umbraco CMS was successfully installed and i click Launch Umbraco CMS.
    So now i am at the famous /install/default.aspx and click the Lets Get started button and i receive an 403.14 error message stating that the web server is configured not to list the contents of this directory.
    I have actually resorted to giving Network Service Full Control over my website, which doesnt help either.

    So that doesnt seem to work very well for me.

    So i'll try the Web Matrix version next.
    At least im no past the first step of accepting the licensse.

    At the database configuration im now able to select SQL Server, choose database type.
    It now says to fill out the connection information to my database but there is no form to enter any data.
    So i click the install button, to my surprise its attempting to populate my database but it doenst know which one.
    I hit the Back-button and now im able to enter the connection information.
    So i enter the information its installing, its at 5% but thats it.
    We use integrated security but im unable to specify that. So i use the option to paste the connectionstring myself.
    Yes! The database has been created.

    I create a user, done.

    I create a master doctype for meta fields and a doctype for the hompage and let umbraco create a matching template.
    Add a home, publish and preview. It Works!

    That installation process is not what its supposed to be in my opinion.
    I mean, i love Umbraco i have used it a couple of times before but the web platform install sucks monkey ass (or whatever animal you prefer).
    Please excuse my bluntness, but i hope you can understand my frustration.

    Anyway i will post further findings if something goes wrong.
    I really want to thank you guys for bearing with me and trying to help me to get this fixed.
    I have learnt before that the Umbraco-community is a great one, you guys have proven that by staying with me.
    I salute you.

  • Charles Afford 1163 posts 1709 karma points
    Feb 05, 2013 @ 13:43
    Charles Afford
    0

    Do a manual install using IIS, it sounds like you have not got IUSR permission on the root folder.

    Trying going to secuirty on the root folder and adding IUSR and giving it full permissions :).  That might help.  

    Do a manual install and use IIS, you wont have a problem and be tearing your hairout!!.  

    Charlie :)

  • Charles Afford 1163 posts 1709 karma points
    Feb 05, 2013 @ 13:44
    Charles Afford
    0

    Do a manual install using IIS, it sounds like you have not got IUSR permission on the root folder.

    Trying going to secuirty on the root folder and adding IUSR and giving it full permissions :).  That might help.  

    Do a manual install and use IIS, you wont have a problem and be tearing your hairout!!.  

    Charlie :)

  • Bunnynut 136 posts 318 karma points
    Feb 05, 2013 @ 16:57
    Bunnynut
    0

    Everything seems to work its supposed to now, i got it all up and running.
    Thanks again for your time.

  • Charles Afford 1163 posts 1709 karma points
    Feb 06, 2013 @ 21:41
    Charles Afford
    0

    No problem :) although not sure if i was any help :).  Charlie

Please Sign in or register to post replies

Write your reply to:

Draft