Page 1 of 1

Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 7:19 am
by Lux
Hi!

I updated my blog to the recent beta via "git pull" and now I get a feed error.

https://www.deimeke.net/dirk/blog/index ... index.rss2

Code: Select all

XML Parsing Error: syntax error
Location: https://www.deimeke.net/dirk/blog/index.php?/feeds/index.rss2
Line Number 1, Column 1:Invalid RSS version specified or RSS-template file not found
^
http://www.feedvalidator.org/check.cgi? ... index.rss2

Cheers

Dirk

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 9:34 am
by onli
Confirmed. Related change: https://github.com/s9y/Serendipity/comm ... e05b843419. I'm looking into it.

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 9:59 am
by onli
Okay. The problem here is that this commit changed the logic more than I was aware. Until now, regardless of the engine chosen, templates/default still was queried for files – that is why 2k11 could get away with not having the feed templates despite being the default theme. The easy fix is moving the feed templates (and the banner image) into 2k11.

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 10:02 am
by Lux
onli wrote:Okay. The problem here is that this commit changed the logic more than I was aware. Until now, regardless of the engine chosen, templates/default still was queried for files – that is why 2k11 could get away with not having the feed templates despite being the default theme. The easy fix is moving the feed templates (and the banner image) into 2k11.
Can you please tell me the files names?

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 10:39 am
by onli
Sure: templates/default/feed*tpl

I already fixed it in master: https://github.com/s9y/Serendipity/comm ... e70536cc3c. It would be great if you could test it.

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 11:15 am
by Lux
onli wrote:Sure: templates/default/feed*tpl

I already fixed it in master: https://github.com/s9y/Serendipity/comm ... e70536cc3c. It would be great if you could test it.
Works again. Thank you!

Cheers

Dirk

Re: Recent beta1 (git pull) gives feed error

Posted: Wed Jul 27, 2016 11:18 am
by onli
Well, I broke it ;) Thanks for reporting!