I am working with Umbraco version 4.9.1 and uBlogsy version 2.1.1.2. The blog works perfectly fine and im able to put posts into the system and they show. However i just went to the RSS section which is: http://www.helpforheroes.org.uk/news/rss/ and i get an error:
This page contains the following errors:
error on line 1 at column 37: Document is empty
Below is a rendering of the page up to the first error.
I have been through the forum and looked at all the RSS error issues like re-saving the cshtml file, change the string, make the files on single line. All of this doesnt actually help in making the rss work.
Has anyone else had this issue and know how to fix this?
I think that error occurs because there's a line or a space at the top of the file. Right click the page and view source to see if the browser is seeing an extra line or more
Thanks for your response. I had a look at removing the bit of code which you mentioned on your link above. I tried this and also removing all the other comments in that RSS.cshtml file. However this didn’t fix it.
Saying that though, I have literally just fixed this now. I stripped every section out and starting putting all back in line by line. I eventually found out that it was the link to do with “uBlogsyPostAuthor”
My issue was to do with the fact that the “Author” of the blog was never set in the admin part of umbraco. So I went in and put an author in, only to find out because I had lots of posts already on the site without an author, it wouldn’t update the data base. So I have had to change the fact that the author file if hard coded to use one name. (Thankfully our site uses one name as an author). So our code now looks like similar to this:
<author>Name of the only author</author>
So im not sure if there is a bug with the author field in uBlogsy, but thought I would post this result so that others might have the same issue as me.
RSS Error Document is Empty
Hello,
I am working with Umbraco version 4.9.1 and uBlogsy version 2.1.1.2. The blog works perfectly fine and im able to put posts into the system and they show. However i just went to the RSS section which is: http://www.helpforheroes.org.uk/news/rss/ and i get an error:
This page contains the following errors:
Below is a rendering of the page up to the first error.
I have been through the forum and looked at all the RSS error issues like re-saving the cshtml file, change the string, make the files on single line. All of this doesnt actually help in making the rss work.
Has anyone else had this issue and know how to fix this?
Regards,
Craig.E
I think that error occurs because there's a line or a space at the top of the file. Right click the page and view source to see if the browser is seeing an extra line or more
Hi Anthony,
I viewed the source and there wasnt any extra lines in the sorce code.
Please see the image attached.
Regards,
Craig.E
Anything in the umbracolog db table or app_data/logs ?
No, ive just had a look and there isnt anything in umbracoLog Table nor on the App_Data Logs.
I think this may be the same issue I encountered a while ago:http://our.umbraco.org/projects/starter-kits/ublogsy/ublogsy-bugs/39488-RSS-Feed-Error
I had to go into the RSS template and remove the comment
Hi Steve,
Thanks for your response. I had a look at removing the bit of code which you mentioned on your link above. I tried this and also removing all the other comments in that RSS.cshtml file. However this didn’t fix it.
Saying that though, I have literally just fixed this now. I stripped every section out and starting putting all back in line by line. I eventually found out that it was the link to do with “uBlogsyPostAuthor”
<author>@p.GetProperty("uBlogsyPostAuthor").Value</author>
My issue was to do with the fact that the “Author” of the blog was never set in the admin part of umbraco. So I went in and put an author in, only to find out because I had lots of posts already on the site without an author, it wouldn’t update the data base. So I have had to change the fact that the author file if hard coded to use one name. (Thankfully our site uses one name as an author). So our code now looks like similar to this:
<author>Name of the only author</author>
So im not sure if there is a bug with the author field in uBlogsy, but thought I would post this result so that others might have the same issue as me.
Thanks for everyone’s help.
is working on a reply...