Copied to clipboard

Flag this post as spam?

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


  • TaoistTotty 246 posts 314 karma points
    Apr 12, 2011 @ 12:14
    TaoistTotty
    0

    No sitemap seen

    I have installed the package, and have the XSLT and Template but nothing else, no document type, ASPX page.

    Has something gone wrong with the installation or have I missed something?

    This is on a 4.5.2 site.

    Many thanks.

    TT

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 12, 2011 @ 12:28
    Jan Skovgaard
    1

    Hi TaoistTotty

    Have you tried creating a document in the content tree and use the template on this document type? Of course you would need to allow the installed template to be used with the document type you created.

    Does this help?

    /Jan

  • TaoistTotty 246 posts 314 karma points
    Apr 12, 2011 @ 12:39
    TaoistTotty
    0

    Hi Jan

    Thanks for this.

    This creates a blank sitemap, but how do I make the settings changes to change and frequency.

    I could change the XSLT, but do not want to do this unless I have to (as I do not want to break anything).

    Regards

    TT

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 12, 2011 @ 22:02
    Jan Skovgaard
    1

    Hi

    Is it completely blank? I have just made a test on a 4.7 install where I followed the above instructions and it works like a charm.

    Don't know if it's an issue with it using the old XML schema? (I guess this should not be a problem if you have just installed the package recently, since it should figure it out automatically).

    /Jan

  • TaoistTotty 246 posts 314 karma points
    Apr 12, 2011 @ 22:11
    TaoistTotty
    0

    Hi Jan

    All I am seeing is:

    <urlset xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> 
       
    </urlset>

    None of the eight pages are listed.

    This is on a 4.5.2 version.

    TT

  • TaoistTotty 246 posts 314 karma points
    Apr 12, 2011 @ 22:18
    TaoistTotty
    0

    Hi Jan

     

    Sorry double post.

    TT

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 12, 2011 @ 23:35
    Jan Skovgaard
    0

    I'm not sure what else I can suggest you to try out. But I have a feeling that if you can keep your patience that the package creator is having a look at this post tomorrow ;-)

    /Jan

  • TaoistTotty 246 posts 314 karma points
    Apr 12, 2011 @ 23:49
    TaoistTotty
    0

    Jan

    Thanks for the update.

    Will see what tomorrow brings.

    Many thanks

    TT

  • TaoistTotty 246 posts 314 karma points
    Apr 13, 2011 @ 12:44
    TaoistTotty
    0

    Just an update to say that the sitemap has not changed today.

    TT

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 13, 2011 @ 18:55
    Jan Skovgaard
    0

    Hi TT

    Well I was kinda hoping that Sebastian the package creator would have a look at this post since I poked him on twitter about it yesterday. I'm sure he will add a comment once he sees this post :-)

    /Jan

  • TaoistTotty 246 posts 314 karma points
    Apr 13, 2011 @ 19:06
    TaoistTotty
    0

    Hi Jan

    Not a problem.

    Thanks for your help.

    Will have a look at the XSLT tomorrow and see if I can see anything.

    Regards

    TT

  • TaoistTotty 246 posts 314 karma points
    Apr 15, 2011 @ 23:22
    TaoistTotty
    0

    Did not get a chance to look at the XSLT.

    Sitemap still empty.

    Regards

    TT

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 16, 2011 @ 14:56
    Sebastiaan Janssen
    0

    I don't understand why it would be empty, all this does is it goes the node of level 1 in your site and then lists all of it's descendants that are not protected and where umbracoNaviHide is not set to true.

    Maybe you should have a look at the trace, (add this querystring: ?umbDebugShowTrace=true to your url) and see if there are any errors.

  • TaoistTotty 246 posts 314 karma points
    Apr 16, 2011 @ 18:08
    TaoistTotty
    0

    Hi Sebastiaan

    have done this and am getting the following error:

    XML Parsing Error: junk after document element
    Location: http://www.penstrazebusinesscentre.co.uk/sitemap.aspx?umbDebugShowTrace=true
    Line Number 7, Column 1:<div id="__asptrace">
    ^

    Any suggestion?

    TT

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 16, 2011 @ 18:31
    Sebastiaan Janssen
    0

    Ah yes, that won't work as it's set up to output XML, could you remove the line that says:

    <xsl:value-of select="umbraco.library:ChangeContentType('text/xml')"/>

    and try again please?

  • TaoistTotty 246 posts 314 karma points
    Apr 16, 2011 @ 18:41
    TaoistTotty
    0

    Sebastiaan

    The reply is:

    Request Details
    Session Id: 2g50prrridyiml0svtmqcrvq Request Type: GET
    Time of Request: 16/04/2011 17:40:31 Status Code: 200
    Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)
    Trace Information
    Category Message From First(s) From Last(s)
    aspx.page Begin PreInit
    umbracoInit handling request 2.41964709447127E-05 0.000024
    request handler current url '/sitemap.aspx' 0.000162226339288415 0.000138
    umbracoRequestHandler Just before xPath query (True, '1150') 0.0016899035275705 0.001528
    umbracoRequestHandler After xPath query 0.00174104606843092 0.000051
    umbracoRequestHandler Access checking started 0.00179878764682171 0.000058
    umbracoRequestHandler Page not protected 0.0018290332355026 0.000030
    umbracoRequestHandler Access checking ended 0.00184938026788793 0.000020
    umbracoInit Done handling request 0.00186862746068486 0.000019
    umbracoPage Element loaded: searchEngineSitemapChangeFreq 0.00213093920251731 0.000262
    umbracoPage Element loaded: searchEngineSitemapPriority 0.00216888366831698 0.000038
    umbracoPage Pagedata loaded for sitemap (ID: 1150) 0.00219143037987909 0.000023
    aspx.page End PreInit 0.00261321886202897 0.000422
    aspx.page Begin Init 0.00264016493194468 0.000027
    umbracoMacro Macro loaded from cache (ID: 13, CultivSearchEngineSitemap) 0.00272595241983957 0.000086
    renderMacro Rendering started (macro: CultivSearchEngineSitemap, type: 1, cacheRate: 0) 0.00275234856996107 0.000026
    umbracoMacro Before adding extensions 0.0296104313185922 0.026858
    umbracoXsltExtension Extension added: urn:Exslt.ExsltCommon, ExsltCommon 0.0303214776124902 0.000711
    umbracoXsltExtension Extension added: urn:Exslt.ExsltDatesAndTimes, ExsltDatesAndTimes 0.0303550227199363 0.000034
    umbracoXsltExtension Extension added: urn:Exslt.ExsltMath, ExsltMath 0.03037646959191 0.000021
    umbracoXsltExtension Extension added: urn:Exslt.ExsltRegularExpressions, ExsltRegularExpressions 0.0303968166242953 0.000020
    umbracoXsltExtension Extension added: urn:Exslt.ExsltStrings, ExsltStrings 0.0304199132556517 0.000023
    umbracoXsltExtension Extension added: urn:Exslt.ExsltSets, ExsltSets 0.030440260288037 0.000020
    umbracoXsltExtension Extension added: urn:umbraco.contour, Library 0.0304595074808339 0.000019
    umbracoMacro After adding extensions 0.0304776548340425 0.000018
    umbracoMacro Before performing transformation 0.0305463948083172 0.000069
    umbracoMacro After performing transformation 0.10620820953264 0.075662
    aspx.page End Init 0.106344589641601 0.000136
    aspx.page Begin InitComplete 0.106366586433369 0.000022
    aspx.page End InitComplete 0.106384733786577 0.000018
    aspx.page Begin PreLoad 0.106402331219992 0.000018
    aspx.page End PreLoad 0.106423778091965 0.000021
    aspx.page Begin Load 0.106443575204556 0.000020
    aspx.page End Load 0.106527712933069 0.000084
    aspx.page Begin LoadComplete 0.106549159805042 0.000021
    aspx.page End LoadComplete 0.106570056757222 0.000021
    aspx.page Begin PreRender 0.106587654190636 0.000018
    aspx.page End PreRender 0.106610750821993 0.000023
    aspx.page Begin PreRenderComplete 0.106639346651291 0.000029
    aspx.page End PreRenderComplete 0.106656944084705 0.000018
    aspx.page Begin SaveState 0.106871962724237 0.000215
    aspx.page End SaveState 0.106891759836828 0.000020
    aspx.page Begin SaveStateComplete 0.106909357270242 0.000018
    aspx.page End SaveStateComplete 0.106926404783862 0.000017
    aspx.page Begin Render 0.106943452297482 0.000017
    aspx.page End Render 0.10718156756837 0.000238
    Control Tree
    Control UniqueID Type Render Size Bytes (including children) ViewState Size Bytes (excluding children) ControlState Size Bytes (excluding children)
    __Page ASP.default_aspx 383 0 0
    ctl00 ASP.masterpages_cultivsearchenginesitemap_master 0 0 0
    ctl00$ctl00 ASP.umbraco_masterpages_default_master 0 0 0
    ctl00$ctl00$ContentPlaceHolderDefault System.Web.UI.WebControls.ContentPlaceHolder 0 0 0
    ctl00$ctl00$ContentPlaceHolderDefault$ctl02 System.Web.UI.ResourceBasedLiteralControl 0 0 0
    ctl00$ctl00$ContentPlaceHolderDefault$ctl00 umbraco.presentation.templateControls.Macro 0 0 0
    ctl00$ctl00$ContentPlaceHolderDefault$ctl01 System.Web.UI.WebControls.PlaceHolder 0 0 0
    ctl00$ctl00$ContentPlaceHolderDefault$ctl03 System.Web.UI.LiteralControl 0 0 0
    Session State
    Session Key Type Value
    windowHeight System.String
    windowWidth System.String
    Application State
    Application Key Type Value
    umbracoUrl System.String forecomputers.co.uk:80/umbraco
    umbracoNeedConfiguration System.Boolean False
    Request Cookies Collection
    Name Value Size
    updateCheck 1 13
    UserContext 40f9216f-f12c-4158-959f-39d889e01533 48
    ASP.NET_SessionId 2g50prrridyiml0svtmqcrvq 42
    __unam 6f69f6a-12f55683f3b-59e83273-3 37
    Response Cookies Collection
    Name Value Size
    Headers Collection
    Name Value
    Connection Keep-Alive
    Accept text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
    Accept-Encoding gzip, deflate
    Accept-Language en-GB,en;q=0.9
    Cookie updateCheck=1; UserContext=40f9216f-f12c-4158-959f-39d889e01533; ASP.NET_SessionId=2g50prrridyiml0svtmqcrvq; __unam=6f69f6a-12f55683f3b-59e83273-3
    Host www.penstrazebusinesscentre.co.uk
    User-Agent Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10
    Response Headers Collection
    Name Value
    X-AspNet-Version 4.0.30319
    Cache-Control private
    Content-Type text/html
    Form Collection
    Name Value
    Querystring Collection
    Name Value
    umbDebugShowTrace true
    Server Variables
    Name Value
    ALL_HTTP HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:en-GB,en;q=0.9 HTTP_COOKIE:updateCheck=1; UserContext=40f9216f-f12c-4158-959f-39d889e01533; ASP.NET_SessionId=2g50prrridyiml0svtmqcrvq; __unam=6f69f6a-12f55683f3b-59e83273-3 HTTP_HOST:www.penstrazebusinesscentre.co.uk HTTP_USER_AGENT:Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10
    ALL_RAW Connection: Keep-Alive Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Encoding: gzip, deflate Accept-Language: en-GB,en;q=0.9 Cookie: updateCheck=1; UserContext=40f9216f-f12c-4158-959f-39d889e01533; ASP.NET_SessionId=2g50prrridyiml0svtmqcrvq; __unam=6f69f6a-12f55683f3b-59e83273-3 Host: www.penstrazebusinesscentre.co.uk User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10
    APPL_MD_PATH /LM/W3SVC/6/ROOT
    APPL_PHYSICAL_PATH C:\inetpub\penstrazebc\
    AUTH_TYPE
    AUTH_USER
    AUTH_PASSWORD
    LOGON_USER
    REMOTE_USER
    CERT_COOKIE
    CERT_FLAGS
    CERT_ISSUER
    CERT_KEYSIZE
    CERT_SECRETKEYSIZE
    CERT_SERIALNUMBER
    CERT_SERVER_ISSUER
    CERT_SERVER_SUBJECT
    CERT_SUBJECT
    CONTENT_LENGTH 0
    CONTENT_TYPE
    GATEWAY_INTERFACE CGI/1.1
    HTTPS off
    HTTPS_KEYSIZE
    HTTPS_SECRETKEYSIZE
    HTTPS_SERVER_ISSUER
    HTTPS_SERVER_SUBJECT
    INSTANCE_ID 6
    INSTANCE_META_PATH /LM/W3SVC/6
    LOCAL_ADDR 46.18.216.5
    PATH_INFO /default.aspx
    PATH_TRANSLATED C:\inetpub\penstrazebc\default.aspx
    QUERY_STRING umbDebugShowTrace=true
    REMOTE_ADDR 86.160.174.2
    REMOTE_HOST 86.160.174.2
    REMOTE_PORT 52916
    REQUEST_METHOD GET
    SCRIPT_NAME /default.aspx
    SERVER_NAME www.penstrazebusinesscentre.co.uk
    SERVER_PORT 80
    SERVER_PORT_SECURE 0
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE Microsoft-IIS/7.5
    URL /default.aspx
    HTTP_CONNECTION Keep-Alive
    HTTP_ACCEPT text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT_LANGUAGE en-GB,en;q=0.9
    HTTP_COOKIE updateCheck=1; UserContext=40f9216f-f12c-4158-959f-39d889e01533; ASP.NET_SessionId=2g50prrridyiml0svtmqcrvq; __unam=6f69f6a-12f55683f3b-59e83273-3
    HTTP_HOST www.penstrazebusinesscentre.co.uk
    HTTP_USER_AGENT Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10

    Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    Thanks

    TT

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 16, 2011 @ 19:00
    Sebastiaan Janssen
    1

    Okay, that looks fine, no errors in there. Is this umbraco 4.7? You could give the Razor version a go.

    Other than that, I really can't tell what might be going on, you're going to have to go through the XSLT file and start putting in some test strings to see where it stops outputting. Then see which xsl statement near that line could be at fault. 

  • TaoistTotty 246 posts 314 karma points
    Apr 16, 2011 @ 19:02
    TaoistTotty
    0

    Sebastiaan

    Thanks, it is a 4.5.2 version.

    I will have a look at the XSLT, and consider upgrading to 4.7

    Many thanks.

    TT

  • TaoistTotty 246 posts 314 karma points
    Apr 16, 2011 @ 19:23
    TaoistTotty
    0

    Thanks Sebastiaan

    Have found the problem.

    Not sue why but the parent parameter was not getting the information needed.

    Removed this, saved changed and then replace and all is working.

    Thanks for the help.

    TT

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 16, 2011 @ 19:39
    Sebastiaan Janssen
    0

    Very strange, I must be missing something obvious! What did you change the parent variable to??

  • TaoistTotty 246 posts 314 karma points
    Apr 16, 2011 @ 20:12
    TaoistTotty
    0

    Sebastiaan

    I did not change the value just removed, saved the file and then replaced.

    Something strange at my end.

    Regards

    TT

  • claire 15 posts 36 karma points
    May 23, 2011 @ 08:49
    claire
    0

    Hi TT,

    Which part of the code did you need to remove? Did you then add it back in for it to work? I am having the same issue in v4.5.2 and can't seem to get the sitemap to display.

    Thanks in advance,
    Claire

  • TaoistTotty 246 posts 314 karma points
    May 23, 2011 @ 09:41
    TaoistTotty
    0

    Hi Clare

    I removed the two lines below that contain the parent variable, saved the changes and recycled the application pool.

    Restored and repeated, and this worked for me.

    <xsl:template match="/">
        <!-- change the mimetype for the current page to xml -->
        <xsl:value-of select="umbraco.library:ChangeContentType('text/xml')"/>
        <xsl:call-template name="drawNodes">
          <xsl:with-param name="parent" select="$currentPage/ancestor-or-self::*[@level=1]"/>
        </xsl:call-template>
      </xsl:template>

      <xsl:template name="drawNodes">
        <xsl:param name="parent"/>
        <xsl:if test="umbraco.library:IsProtected($parent/@id, $parent/@path) = 0

    I hope this helps.

    Regards

    TT

  • claire 15 posts 36 karma points
    May 23, 2011 @ 10:16
    claire
    0

    Thanks TT, that didn't work but for anyone else who may come across the same problem, I moved all the pages into a folder and the sitemap displayed. Not sure if I missed this requirement somewhere but the sitemap displays OK for pages that are in the folder.

  • Kyle Skrinak 272 posts 327 karma points
    Jan 31, 2012 @ 17:55
    Kyle Skrinak
    0

    Sigh. Not working for me, either. Installed the package, tried Jan's suggestion, but I, too, get a blank sitemap.aspx file (except for the declarations, that is) The "remove the parents" didn't work either. I'm on 4.7 using the XSLT version.

Please Sign in or register to post replies

Write your reply to:

Draft