I am running two Umbraco websites, with both being maintained by someone other than me.
Recently, one of them suffered a problem after an unknown change in the admin panel. Rather than displaying a simple slideshow with rotating images on the home page an error at the top of the page read.
Error parsing XSLT file: \xslt\SlideshowJS.xslt
>
I have checked both the Slideshow.xslt and the SlideshowJS.xslt files we currently have and they match the working versions on one of our other websites, so I can't help but feel that that's not the problem. I checked the stack trace on the home page and found the following errors:
niceurl No node found at '2739' 0.0469947996183873 0.000797
niceurl No node found at '2744' 0.0471640948779803 0.000169
niceurl No node found at '2740' 0.0475817457246661 0.000418
niceurl No node found at '2741' 0.0477409838401249 0.000159
niceurl No node found at '2745' 0.0478935171928276 0.000153
niceurl No node found at '2750' 0.0480435362594967 0.000150
niceurl No node found at '2751' 0.0482030537400703 0.000160
niceurl No node found at '2913' 0.0484002855111474 0.000197
niceurl No node found at '2749' 0.0488011744509428 0.000401
After toying with the xslt files a bit more I tried to save the SlideshowJS.xslt file, only to be given the following error
System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
XmlResolver dataSources, XsltArgumentList argumentList,
XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
writer, Boolean closeWriter)
at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable
contextDocument, XmlResolver dataSources, XsltArgumentList argumentList,
XmlWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable
contextDocument, XmlResolver dataSources, XsltArgumentList argumentList,
TextWriter results)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String
fileName, String oldName, String fileContents, Boolean ignoreDebugging)
Can anyone here see any reasons as to why this is happening? Any help with this would be much appreciated.
XSLT errors with Slideshow script
I am running two Umbraco websites, with both being maintained by someone other than me.
Recently, one of them suffered a problem after an unknown change in the admin panel. Rather than displaying a simple slideshow with rotating images on the home page an error at the top of the page read.
>
I have checked both the Slideshow.xslt and the SlideshowJS.xslt files we currently have and they match the working versions on one of our other websites, so I can't help but feel that that's not the problem. I checked the stack trace on the home page and found the following errors:
niceurl No node found at '2739' 0.0469947996183873 0.000797
niceurl No node found at '2744' 0.0471640948779803 0.000169
niceurl No node found at '2740' 0.0475817457246661 0.000418
niceurl No node found at '2741' 0.0477409838401249 0.000159
niceurl No node found at '2745' 0.0478935171928276 0.000153
niceurl No node found at '2750' 0.0480435362594967 0.000150
niceurl No node found at '2751' 0.0482030537400703 0.000160
niceurl No node found at '2913' 0.0484002855111474 0.000197
niceurl No node found at '2749' 0.0488011744509428 0.000401
After toying with the xslt files a bit more I tried to save the SlideshowJS.xslt file, only to be given the following error
System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
Can anyone here see any reasons as to why this is happening? Any help with this would be much appreciated.
The problem has risen again after resetting nodes in the content. Can anyone help out with this?
is working on a reply...