I'm maintaining a Umbraco installation on a shared hosting managed by a Plesk Control Panel. The version is "umbraco v 4.0.1 (Assembly version: 1.0.3373.718)" and the Hosting is ASPNET 2.0.
There seems that Plesk CP has some issues and the site suddenly ran into problems. After I restored privileges I start having an issue that I didn't have before with the XSLT files. They haven't been changed or anything has not been published in a while. So I don't understand the nature of this issue.
The debug of any page in the site throws an error like:
Error parsing XSLT System.Xml.Xsl.XslCompiledTransform
El valor del atributo'order' debe ser 'ascending' o 'descending'. Error en C:\Inetpub\vhosts\XXXX\httpdocs\xslt\ListNewsEventsOnHome.xslt(36,1).
en System.Xml.Xsl.Runtime.XmlQueryRuntime.ThrowException(String text)
en System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) en C:\Inetpub\vhosts\XXXX\httpdocs\xslt\ListNewsEventsOnHome.xslt:línea 35
en System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
en System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
en System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
en System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
en System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
en System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
en System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results)
en System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
en umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
en umbraco.macro.loadMacroXSLT(macro macro, Hashtable attributes, Hashtable pageElements)
I don't understand spanish (that's what I'm guessing it is, anyway) - but the error seems to indicate that the $SortOrder variable doesn't get computed to either "ascending" or "descending", which is required.
It seems like that could happen if the is no NewsEventsListPage published in the site — do you know if all pages have been republished?
Thanks for your advice. I re-published the whole site right clicking on the root node and I thought that was enough.
But obviously not all the pages were republished.
After publishing folder by folder everything is back to normal.
Error parsing XSLT System.Xml.Xsl.XslCompiledTransform
Hi,
I'm maintaining a Umbraco installation on a shared hosting managed by a Plesk Control Panel. The version is "umbraco v 4.0.1 (Assembly version: 1.0.3373.718)" and the Hosting is ASPNET 2.0.
There seems that Plesk CP has some issues and the site suddenly ran into problems. After I restored privileges I start having an issue that I didn't have before with the XSLT files. They haven't been changed or anything has not been published in a while. So I don't understand the nature of this issue.
The debug of any page in the site throws an error like:
The content of the ListNewsEventsOnHome is:
We didn't change any code so I don't understand what is the issue here. Why it was working before and now is not.
Any pointer will be very much appreciated. Regards, Victor
Hi Victor - welcome to OUR !
I don't understand spanish (that's what I'm guessing it is, anyway) - but the error seems to indicate that the
$SortOrder
variable doesn't get computed to either "ascending" or "descending", which is required.It seems like that could happen if the is no NewsEventsListPage published in the site — do you know if all pages have been republished?
/Chriztian
Hi Chriztian,
Thanks for your advice. I re-published the whole site right clicking on the root node and I thought that was enough. But obviously not all the pages were republished. After publishing folder by folder everything is back to normal.
Kind Regards, Victor
is working on a reply...