I installed in on Version 7.0.2. The package seems to install fine- no reported errors and all thej files seem to be in place and I can add the macro to a RTE. Whern I browse the page as suggested in teh documentation I get the same error:
This page contains the following errors:
error on line 2 at column 1: Document is empty
Below is a rendering of the page up to the first error.
I know this is an old thread, but I'll post this here in case anyone encounters this error in the future. I just had this issue, and discovered that the XSLT file in the most recent version throws an error when trying to save it. Presumably that is why it's not outputting anything. Once I replaced the XSLT with the below, it started working:
Hmmm... That still produces errors for me... running Umbraco 4.8.11
Error occured
System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.macro.GetXsltExtensionsImpl() at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) at umbraco.macro.GetXsltExtensions() at umbraco.macro.AddMacroXsltExtensions() at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
I'm a complete newb to Umbraco's deep back end. I can do content / CSS / template updates, but this backend stuff is beyond me. Anyone have any ideas why this is happening?
I have just tried setup a Umbraco version 4.11.8, and uses the code from the post above, and it works fine for me. The steps I follow, is this.
First create an XSLT file, and name it GoogleSiteTree, after this go to the settings section, into the template folder. create a new template name it e.g sitemap, in this template add the following line.
Document is empty
Hi there, I just installed the package on 4.11.3, but I get the following error.
here's the link: http://rentinreykjavik.com/googleSiteTree.aspx
Does anybody know what I'm doing wrong? I tried Adam's solution at http://our.umbraco.org/projects/website-utilities/google-sitemap-for-umbraco-4-(jespercom)/google-sitetree-support/40781-Needs-a-document-type-in-4118,-at-least but I still get the same error.
I installed in on Version 7.0.2. The package seems to install fine- no reported errors and all thej files seem to be in place and I can add the macro to a RTE. Whern I browse the page as suggested in teh documentation I get the same error:
This page contains the following errors:
Below is a rendering of the page up to the first error.
I know this is an old thread, but I'll post this here in case anyone encounters this error in the future. I just had this issue, and discovered that the XSLT file in the most recent version throws an error when trying to save it. Presumably that is why it's not outputting anything. Once I replaced the XSLT with the below, it started working:
Hmmm... That still produces errors for me... running Umbraco 4.8.11
Error occured
System.NullReferenceException: Object reference not set to an instance of an object.
at umbraco.macro.GetXsltExtensionsImpl()
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
at umbraco.macro.GetXsltExtensions()
at umbraco.macro.AddMacroXsltExtensions()
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
I'm a complete newb to Umbraco's deep back end. I can do content / CSS / template updates, but this backend stuff is beyond me. Anyone have any ideas why this is happening?
The front-end result is:
Error parsing XSLT file: \xslt\GoogleSiteTree.xslt
Hi ProducerTina,
I have just tried setup a Umbraco version 4.11.8, and uses the code from the post above, and it works fine for me. The steps I follow, is this.
First create an XSLT file, and name it GoogleSiteTree, after this go to the settings section, into the template folder. create a new template name it e.g sitemap, in this template add the following line.
After this, click save, then you can vistit the sitemap on the following url http.//www.yourdomain.com/sitemap
Alternatively if you can't get the XSLT to work, then you could try use the Cultiv Search Engine Sitemap, there is a XSLT version https://our.umbraco.org/projects/website-utilities/cultiv-search-engine-sitemap, and the DynmicNode Razor.
Or if you set the debug mode to true in the web.config.
Then you can get the stacktrace by adding ?umbDebugShowTrace=true to the URL. You can read more about it here https://our.umbraco.org/wiki/how-tos
Hope this helps,
/Dennis
is working on a reply...