Copied to clipboard

Flag this post as spam?

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


  • Chad Rosenthal 272 posts 474 karma points
    Nov 30, 2012 @ 15:13
    Chad Rosenthal
    0

    Error404 not working for me

    A recent upgrade to Umbraco 4.11.1. Running  It's shared hosting so I don't know if I'm on IIS 6 or 7. 

    The entire site works, but when I change UmbracoSettings.config from::

            <errors>
                <!-- the id of the page that should be shown if the page is not found -->
                <!--        <errorPage culture="default">1</errorPage>-->
                <!--        <errorPage culture="en-US">200</errorPage>-->
                <error404>1</error404>
            </errors>

    to:

            <errors>
                <!-- the id of the page that should be shown if the page is not found -->
                <!--        <errorPage culture="default">1</errorPage>-->
                <!--        <errorPage culture="en-US">200</errorPage>-->
                <error404>1181</error404>
            </errors>

     

    I get the following error when I hit a page that doesn't exist. 

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Xml.XPath.XPathException: '/root//node[(contains(concat(',',translate(data [@alias='umbracoUrlAlias'], ' ', ''),','),',about-us/test,') or contains(concat(',',translate(data [@alias='umbracoUrlAlias'], ' ', ''),','),',/about-us/test,')]' has an invalid token.

     

    Any ideas?

     

     

  • Stephen 767 posts 2273 karma points c-trib
    Nov 30, 2012 @ 15:15
    Stephen
    0

    Strange. Looking into it...

    You're using the old XML format, not the new one?

  • Chad Rosenthal 272 posts 474 karma points
    Nov 30, 2012 @ 15:16
    Chad Rosenthal
    0

    Do you mean:

            <UseLegacyXmlSchema>true</UseLegacyXmlSchema>

    If so, then yes...I'm using the old XML format.

    -C

     

  • Stephen 767 posts 2273 karma points c-trib
    Nov 30, 2012 @ 15:22
    Stephen
    1

    (looking at the code...)

    Damn! Some idiot forgot a parenthesis somewhere. And that idiot would be me. #h5is

    Will log an issue. Will be fixed in the next release. Happens only because of the old XML schema.

    I'm trying to think of a workaround for you... Do you use aliases (umbracoUrlAlias property) in your site?

  • Chad Rosenthal 272 posts 474 karma points
    Nov 30, 2012 @ 15:26
    Chad Rosenthal
    0

    *laugh*

    No worries about the bug.

    Is it possible for you to send me an updated DLL in the short term?

  • Stephen 767 posts 2273 karma points c-trib
    Nov 30, 2012 @ 15:27
    Stephen
    0

    Email me at sgay _at_ pilotine.com

  • Bjørn Fridal 274 posts 784 karma points
    Dec 17, 2012 @ 16:03
    Bjørn Fridal
    0

    Hi Stephen,

    I just did an update to 4.11.1 and I get the same error. They are also using the old schema. They are going to change over to the new at one point, but I don't know when. Did you come up with a fix for it?

    Cheers
    Bjørn Fridal 

  • Dexter 17 posts 67 karma points
    Feb 13, 2013 @ 18:05
    Dexter
    0

    Has this error been fixed in a later release?

    Thanks,

    D

  • Stephen 767 posts 2273 karma points c-trib
    Feb 13, 2013 @ 18:42
    Stephen
    0

    Tought it was fixed, let me check.

  • Stephen 767 posts 2273 karma points c-trib
    Feb 14, 2013 @ 14:31
    Stephen
    0

    The fix was commited into 4.11.2 (changeset 1087f013b13d).

    So starting with 4.11.2 it should be OK. If that is NOT the case please log an issue on the issue tracked and copy the link into this thread so I can see it.

    Stephan

Please Sign in or register to post replies

Write your reply to:

Draft