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.
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?
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.
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::
to:
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?
Strange. Looking into it...
You're using the old XML format, not the new one?
Do you mean:
<UseLegacyXmlSchema>true</UseLegacyXmlSchema>
If so, then yes...I'm using the old XML format.
-C
(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?
*laugh*
No worries about the bug.
Is it possible for you to send me an updated DLL in the short term?
Email me at sgay _at_ pilotine.com
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
Has this error been fixed in a later release?
Thanks,
D
Tought it was fixed, let me check.
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
is working on a reply...