"xsltErrorNoNodesPublished" randomly when saving XSLT
I'm running Umbraco 4.7.0 and find that periodically when saving an XSLT file I get an error, "[xsltErrorNoNodesPublished]". However, I have published a page, so I can't understand why this error appears randomly.
A probably related problem is that I've copy-pasted XSLT code from a different Umbraco installation (4.5.2), and this code that was perfectly valid before is suddenly generating an error:
Error occured
System.Xml.Xsl.XslLoadException: The variable or parameter 'mediaId' is either not defined or it is out of scope. An error occurred at C:\www\dev.publictheater.org\xslt\634365029429099641_temp.xslt(16,9).
at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
I can't edit my above post due to a "Error parsing XSLT file: \xslt\forum-commentsList.xslt" error. I tried to delete it, and it appears to work, but the post remains.
Anyway, I figured out the error in the copy-pasted code, and it wasn't relevant to the [xsltErrorNoNodesPublished] issue.
Bugs, galore! Every 3-4 times I load my site, it reverts to the "no pages found - more work to do" screen. Reload again, and it works a couple more times. I'm going to create a fresh post about this.
"xsltErrorNoNodesPublished" randomly when saving XSLT
I'm running Umbraco 4.7.0 and find that periodically when saving an XSLT file I get an error, "[xsltErrorNoNodesPublished]". However, I have published a page, so I can't understand why this error appears randomly.
A probably related problem is that I've copy-pasted XSLT code from a different Umbraco installation (4.5.2), and this code that was perfectly valid before is suddenly generating an error:
I can't edit my above post due to a "Error parsing XSLT file: \xslt\forum-commentsList.xslt" error. I tried to delete it, and it appears to work, but the post remains.
Anyway, I figured out the error in the copy-pasted code, and it wasn't relevant to the [xsltErrorNoNodesPublished] issue.
Bugs, galore! Every 3-4 times I load my site, it reverts to the "no pages found - more work to do" screen. Reload again, and it works a couple more times. I'm going to create a fresh post about this.
is working on a reply...