Copied to clipboard

Flag this post as spam?

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


  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 12:55
    Ravi Motha
    0

    Child pages are returning 404 errors

    I've seen a couple of posts with similar issues particularly this one; http://our.umbraco.org/forum/using/ui-questions/23692-All-my-article-pages-result-in-a-404-not-found

    However I have a template and it seems to work and if I use the page ID to view the page, that works.. so why oh why doesn't the normal linking work

    I have double checked the templates

    I have republished the site and pages, and I can see the pages working whenI use the ID (and other pages in the site seem to work, when don e in the same way) 

    I am running 4.7.0 (Yes I know it needs upgrading) 

    Windows 2008 R2 

    IIS 7 with .NET 4

     

    all help /abuse gratefully receievd (abuse obviously less so)

    Ravi

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Oct 16, 2012 @ 13:25
    Simon Dingley
    1

    Hey Ravi,

    Are you using Hostnames? Is it a multi-site installation?

    Simon

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 13:37
    Ravi Motha
    0

    No hostnames it's a single site (not multi site), just about to look at the URL rewriter (don't think that's the answer), and also gonna try deleting the umbraco.config

     

    Ravi

  • Stephen 767 posts 2273 karma points c-trib
    Oct 16, 2012 @ 13:43
    Stephen
    1

    What do you mean by "work with the ID"?

    Can you give us the url that does not work, the url that works, and the url(s) that appear in the Properties tab of the document?

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Oct 16, 2012 @ 13:45
    Simon Dingley
    0

    Stephen, I think he means he can view it via the url including the nodeId e.g. www.example.com/1234.aspx 

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 13:47
    Ravi Motha
    0

    Simon is totally correct

    http://jointhepod.stage2.edcoms.com/student-zone/ezines.aspx -  Does not work

    but 

    http://jointhepod.stage2.edcoms.com/5478.aspx which is the Ezines page does work

    Would this be an indication of a duff document type

     

     

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Oct 16, 2012 @ 13:54
    Simon Dingley
    0

    Anything in the logs? Check the umbraco.config file and make sure the node is there if you haven't already.

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 13:57
    Ravi Motha
    0

    I'll have a look and let you know.. need to grab some lunch and feeling wan.. grins

  • Stephen 767 posts 2273 karma points c-trib
    Oct 16, 2012 @ 14:19
    Stephen
    0

    OK. Can you tell us the url(s) that appear in the Properties tab?

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 15:19
    Ravi Motha
    0

    so for the ezine link I showed earlier..  and that shows up perfectly but there is no page, I 'm just about to do a re[publish , hopefully that will updat ethe umbraco.config or at least give me a better starting point to see what's up in the logs

    /student-zone/ezines/

    - is the link
  • Simon Dingley 1474 posts 3431 karma points c-trib
    Oct 16, 2012 @ 15:22
    Simon Dingley
    0

    I'd actually look inside the umbraco.config to make sure that the node is in there.

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 16, 2012 @ 16:05
    Ravi Motha
    0

    Okay , I've deleted the config and republished the site, I have the 

     

     <StudentZonePage id="5478" parentID="5475" level="3" writerID="0" creatorID="0" nodeType="5431" template="5432" sortOrder="3" createDate="2012-10-15T18:31:33" updateDate="2012-10-16T14:43:48" nodeName="Ezines" urlName="ezines" writerName="admin" creatorName="admin" path="-1,1058,5475,5478" isDoc="">
            <bodyContent><![CDATA[
    <p>Read all about it! &nbsp;The Pod's online magazine for young
    people is packed with fun actitivities and facinating facts on
    green issues -&nbsp;so you're sure to find lots to interest you.
    Why not take a look now?&nbsp;</p>
     
    <table border="0">
    <thead>
    <tr>
    <th class="download-campaign">title</th>
    <th class="download-resources">ezine</th>
    <th class="download-resources">
    <p>ezine(pdf)</p>
    </th>
    </tr>
    </thead>
     
    <tbody>
    <tr class="even">
    <td class="first">
    <p>Summer term 2012</p>
    </td>
    <td><a href="http://cream.ceros.com/pod/pod/page/1"
    title="View Summer Ezine"><img src="/images/css-images/colour10/icon-ceros.gif" alt="View Summer Ezine"/></a></td>
    <td><a href="/files/pod09.pdf" target="_blank"
    title="Summer eZine"><img src="/media/58198/icon-pdf.gif" width="28" height="17" alt="Icon -pdf"/></a></td>
    </tr>
     
    <tr class="even">
    <td class="first">
    <p>Spring term 2012</p>
    </td>
    <td><a href="http://cde.cerosmedia.com/1R4ef31569b2170985.cde"
    target="_blank" title="View Spring ezine"><img src="/images/css-images/colour10/icon-ceros.gif" alt="View Spring ezine"/></a></td>
    <td><a href="/media/151383/Ezine February 2012.pdf"><img src="/media/58198/icon-pdf.gif" width="28" height="17" alt="Icon -pdf"/></a></td>
    </tr>
     
    <tr class="even">
    <td class="first">
    <p>Autumn term 2011</p>
    </td>
    <td><a href="http://cde.cerosmedia.com/1C4e6dd5181de1f904.cde"><img src="/images/css-images/colour10/icon-ceros.gif" alt="View Autumn ezine"/></a></td>
    <td>&nbsp;<a
    href="http://data.cerosmedia.com/hosting/POD/thePod_issue7.pdf"><img src="/media/58198/icon-pdf.gif" width="28" height="17" alt="Icon -pdf"/></a></td>
    </tr>
    </tbody>
    </table>
     
    <p>&nbsp;</p>
    ]]></bodyContent>
            <rightNavigationControls />
            <showParentWrapper>0</showParentWrapper>
            <umbracoNaviHide>0</umbracoNaviHide>
            <hideFromSchoolsWhenNotLoggedIn>0</hideFromSchoolsWhenNotLoggedIn>
            <pageTitle>Ezines</pageTitle>
            <addToTopNavigation>0</addToTopNavigation>
            <addToBottomNavigation>0</addToBottomNavigation>
            <umbracoUrlName />
            <umbracoUrlAlias />
            <metaTagsDescription><![CDATA[]]></metaTagsDescription>
            <displayName />
            <cSSClass>studentzone</cSSClass>
          </StudentZonePage>  

     

    Nothing has jumped out in the logs..yet, I am still going through, i feel like I have either a duff template some issue with routing or a corrupt umbraco.config, but surely deleting and republishing should sort that out..

     

     

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Oct 17, 2012 @ 16:24
    Ravi Motha
    0

    after much gnashing found it was a ue to the URL rewriter set up.. been looking at the project too long, completely overlooked it.. 

    sometimes you need to  get someone else to look at your problem from a different viewpoint to spot the obvious.. thanks for your time gents

Please Sign in or register to post replies

Write your reply to:

Draft