Copied to clipboard

Flag this post as spam?

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


  • kristian schneider 190 posts 351 karma points
    Jan 30, 2011 @ 20:06
    kristian schneider
    0

    umbraco can't find root and first level nodes after update to new schema

    I don't know if this is a xslt issue but the error mentions xpath so...

    I've got a site that has been converted to the new schema.

    My problem ocours when I try to access the root or level 1 nodes ie:

    http://root or http://root/level1

    I can access the node on second level

    http://root/level1/level2

    I've deleted the umbraco.config file and republished each root node as described in the wiki

    The output looks like this:

    Page not found

    No umbraco document matches the url 'http://cp.localhost/'

    umbraco tried this to match it using this xpath query'/* [@urlName = "careerplan4me"] | /root/* [@urlName = "careerplan4me"]')

    This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.

    For more information, visit information about custom 404 on the umbraco website.

    This page is intentionally left ugly ;-)

    span.tracecontent b { color: white; }span.tracecontent { background-color: white; color: black; font: 10pt verdana,arial; }span.tracecontent table { clear: left; font: 10pt verdana,arial; margin-bottom: 25px; }span.tracecontent tr.subhead { background-color: rgb(204, 204, 204); }span.tracecontent th { }span.tracecontent th.alt { background-color: black; color: white; }span.tracecontent td { color: black; text-align: left; }span.tracecontent td.err { color: red; }span.tracecontent tr.alt { background-color: rgb(238, 238, 238); }span.tracecontent h1 { font: 24pt verdana,arial; }span.tracecontent h2 { font: 18pt verdana,arial; }span.tracecontent h3 { font: 12pt verdana,arial; }span.tracecontent th a { color: darkblue; font: 8pt verdana,arial; }span.tracecontent a { color: darkblue; text-decoration: none; }span.tracecontent a:hover { color: darkblue; text-decoration: underline; }span.tracecontent div.outer { width: 90%; }span.tracecontent table.viewmenu td { background-color: rgb(0, 102, 153); color: white; }span.tracecontent table.viewmenu td.end { }span.tracecontent table.viewmenu a { color: white; font: 8pt verdana,arial; }span.tracecontent table.viewmenu a:hover { color: white; font: 8pt verdana,arial; }span.tracecontent a.tinylink { color: darkblue; background-color: black; font: 8pt verdana,arial; text-decoration: underline; }span.tracecontent a.link { color: darkblue; text-decoration: underline; }span.tracecontent div.buffer { padding-top: 7px; padding-bottom: 17px; }span.tracecontent .small { font: 8pt verdana,arial; }span.tracecontent table td { padding-right: 20px; }span.tracecontent table td.nopad { padding-right: 5px; }

    Request Details

    Session Id: uuy0bvyurvb5o03xtjnfhot0 Request Type: GET
    Time of Request: 30-01-2011 18:54:21 Status Code: 404
    Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)

    Trace Information

    CategoryMessageFrom First(s)From Last(s)
    aspx.page Begin PreInit
    umbracoInit handling request 2,18142715808375E-05 0,000022
    request handler current url '' 0,000146711669651515 0,000125
    requestHandler Redirecting to domain: cp.localhost, nodeId: 1590 0,000551345020935285 0,000405
    umbracoRequestHandler xpath: '/* [@urlName = "careerplan4me"] | /root/* [@urlName = "careerplan4me"]' 0,000588129871051991 0,000037
    umbracoRequestHandler Just before xPath query (False, '/* [@urlName = "careerplan4me"] | /root/* [@urlName = "careerplan4me"]') 0,000606094565295034 0,000018
    umbracoRequestHandler pageXPathQueryStart: '/root' 0,000617215566493108 0,000011
    umbracoRequestHandler After xPath query 0,000648867646826088 0,000032
    umbracoRequestHandler Access checking started 0,000676670149821273 0,000028
    umbracoRequestHandler Page not protected 0,000730564232550401 0,000054
    umbracoRequestHandler Access checking ended 0,00074596254190158 0,000015
    umbracoInit Done handling request 0,000757083543099654 0,000011
    umbracoPage testing altTemplate 0,000935875023899459 0,000179
    umbracoPage Element loaded: umbracoPermanentRedirect 0,00101971026370032 0,000084
    umbracoPage Element loaded: keywords 0,00104494638180365 0,000025
    umbracoPage Element loaded: description 0,00107360434642945 0,000029
    umbracoPage Pagedata loaded for careerplan4.me (ID: 1590) 0,00108814719415001 0,000015
    umbracoPage Looking up skin information 0,00112236565937485 0,000034

    and for level 2:

    Page not found

    No umbraco document matches the url 'http://cp.localhost/home'

    umbraco tried this to match it using this xpath query'1592')

    This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.

    For more information, visit information about custom 404 on the umbraco website.

    This page is intentionally left ugly ;-)

    span.tracecontent b { color: white; }span.tracecontent { background-color: white; color: black; font: 10pt verdana,arial; }span.tracecontent table { clear: left; font: 10pt verdana,arial; margin-bottom: 25px; }span.tracecontent tr.subhead { background-color: rgb(204, 204, 204); }span.tracecontent th { }span.tracecontent th.alt { background-color: black; color: white; }span.tracecontent td { color: black; text-align: left; }span.tracecontent td.err { color: red; }span.tracecontent tr.alt { background-color: rgb(238, 238, 238); }span.tracecontent h1 { font: 24pt verdana,arial; }span.tracecontent h2 { font: 18pt verdana,arial; }span.tracecontent h3 { font: 12pt verdana,arial; }span.tracecontent th a { color: darkblue; font: 8pt verdana,arial; }span.tracecontent a { color: darkblue; text-decoration: none; }span.tracecontent a:hover { color: darkblue; text-decoration: underline; }span.tracecontent div.outer { width: 90%; }span.tracecontent table.viewmenu td { background-color: rgb(0, 102, 153); color: white; }span.tracecontent table.viewmenu td.end { }span.tracecontent table.viewmenu a { color: white; font: 8pt verdana,arial; }span.tracecontent table.viewmenu a:hover { color: white; font: 8pt verdana,arial; }span.tracecontent a.tinylink { color: darkblue; background-color: black; font: 8pt verdana,arial; text-decoration: underline; }span.tracecontent a.link { color: darkblue; text-decoration: underline; }span.tracecontent div.buffer { padding-top: 7px; padding-bottom: 17px; }span.tracecontent .small { font: 8pt verdana,arial; }span.tracecontent table td { padding-right: 20px; }span.tracecontent table td.nopad { padding-right: 5px; }

    Request Details

    Session Id: uuy0bvyurvb5o03xtjnfhot0 Request Type: GET
    Time of Request: 30-01-2011 19:03:25 Status Code: 404
    Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)

    Trace Information

    CategoryMessageFrom First(s)From Last(s)
    aspx.page Begin PreInit
    umbracoInit handling request 2,52361181033218E-05 0,000025
    request handler current url '/home' 0,000991052299074519 0,000966
    umbracoRequestHandler Just before xPath query (True, '1592') 0,00102398757185343 0,000033
    umbracoRequestHandler After xPath query 0,0010513623440333 0,000027
    umbracoRequestHandler Access checking started 0,0010996959261634 0,000048
    umbracoRequestHandler Page not protected 0,00112279339019016 0,000023
    umbracoRequestHandler Access checking ended 0,00113391439138824 0,000011
    umbracoInit Done handling request 0,00114546312340162 0,000012
    umbracoPage testing altTemplate 0,00151074523967682 0,000365
    umbracoPage Element loaded: Title 0,00159928551844611 0,000089
    umbracoPage Element loaded: NavigationColour 0,00162494936736474 0,000026
    umbracoPage Element loaded: umbracoNaviHide 0,00164933002383744 0,000024
    umbracoPage Element loaded: umbracoNaviFooterHide 0,00167071656460297 0,000021
    umbracoPage Element loaded: umbracoPermanentRedirect 0,00169124764373787 0,000021
    umbracoPage Element loaded: keywords 0,00171520056939526 0,000024
    umbracoPage Element loaded: description 0,00173573164853017 0,000021
    umbracoPage Pagedata loaded for Home (ID: 1592) 0,00175112995788135 0,000015
    umbracoPage Looking up skin information 0,00178791480799805 0,000037

     

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 30, 2011 @ 20:11
    Jan Skovgaard
    1

    Hi Kristian

    That's really odd. Have you tried restarting the website?

    I don't think it has to do with XSLT if you can't access the home page at all when entering the url in the browser.

    /Jan

  • kristian schneider 190 posts 351 karma points
    Jan 30, 2011 @ 20:13
    kristian schneider
    0

    I dont susspect it to be a xslt issue either.

    A reset of the website does not change anything

    /krisian

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 31, 2011 @ 09:49
    Dirk De Grave
    0

    Did you republish the website using http://domain.com/umbraco/dialogs/republish.aspx?xml=true after updating to the new xml schema?

     

    Cheers,

    /Dirk

  • kristian schneider 190 posts 351 karma points
    Jan 31, 2011 @ 09:52
    kristian schneider
    0

    No I did not. I've just tried and it does not seem to solve the problem

    /kristian

  • kristian schneider 190 posts 351 karma points
    Feb 01, 2011 @ 14:18
    kristian schneider
    0

    I now got it to work by attaching a template to the Node.

    Previously they did not have that and does not need it because we do a 301 redirect.

    Anyways that solved it

    /kristian

Please Sign in or register to post replies

Write your reply to:

Draft