Hi!
The bugs to rss.php where those:
https://github.com/s9y/Serendipity/comm ... be51c6c3a9
https://github.com/s9y/Serendipity/comm ... 00fc38a31d
However those only affect the "comment" RSS feed, not the main feed...so I'm wondering how this could generally break your feed...
If no APC/Bytecode Cache is in place, PHP and Apache would never react differently on a file if only the timestamp or inode changes. The browser's cache is maintained by the HTTP client through HTTP-Headers, and the timestamp that this uses is the one of the most recent entry; it is unrelated to the timestamp of rss.php. There's nothing in the PHP code of s9y that would inspect the timestamp of rss.php, actually.
Regards,
Garvin
Comments RSS feed not working since version 1.6.1
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comments RSS feed not working since version 1.6.1
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Comments RSS feed not working since version 1.6.1
Now it begins to be Voodoo ...garvinhicking wrote:The bugs to rss.php where those:
https://github.com/s9y/Serendipity/comm ... be51c6c3a9
https://github.com/s9y/Serendipity/comm ... 00fc38a31d
However those only affect the "comment" RSS feed, not the main feed...so I'm wondering how this could generally break your feed...
I replaced rss.php with the recent one from GitHub. I tried to access the feed and I got the same errors. Most probably because of my browser cache.
Afterwards I copied the rss.php from version 1.6.1 and it worked ...
I have no cache activated in Apache and did not change caching settings in PHP, I use the standard settings in Debian.garvinhicking wrote:If no APC/Bytecode Cache is in place, PHP and Apache would never react differently on a file if only the timestamp or inode changes. The browser's cache is maintained by the HTTP client through HTTP-Headers, and the timestamp that this uses is the one of the most recent entry; it is unrelated to the timestamp of rss.php. There's nothing in the PHP code of s9y that would inspect the timestamp of rss.php, actually.
... clueless ...
Cheers
Dirk
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comments RSS feed not working since version 1.6.1
Hi!
You should really use wget to bypass any possible client-side caching.
Regards,
Garvin
You should really use wget to bypass any possible client-side caching.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Comments RSS feed not working since version 1.6.1
To make it more complicated. 90% of the day I am behind a caching proxy.garvinhicking wrote:You should really use wget to bypass any possible client-side caching.
BTW: The recent version from GitHub does not work properly (tested without caching with Firefox):
http://www.deimeke.net/testblog/index.p ... index.rss2
Code: Select all
XML Parsing Error: no element found
Location: http://www.deimeke.net/testblog/index.php?/feeds/index.rss2
Line Number 1, Column 1:
Dirk
Re: Comments RSS feed not working since version 1.6.1
In chrome, there is a 500-error shown when accessing that link. Something in the logs?
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Comments RSS feed not working since version 1.6.1
onli wrote:In chrome, there is a 500-error shown when accessing that link. Something in the logs?
Code: Select all
[Fri Aug 10 06:26:25 2012] [error] [client 92.201.117.159] PHP Fatal error: Call to undefined method Smarty::assignByRef() in /srv/www/deimeke.net/testblog/rss.php on line 253, referer: http://board.s9y.org/viewtopic.php?f=3&t=18847&start=15
[Fri Aug 10 06:26:29 2012] [error] [client 92.201.117.159] PHP Fatal error: Call to undefined method Smarty::assignByRef() in /srv/www/deimeke.net/testblog/rss.php on line 253
[Fri Aug 10 06:26:44 2012] [error] [client 92.201.117.159] PHP Fatal error: Call to undefined method Smarty::assignByRef() in /srv/www/deimeke.net/testblog/rss.php on line 253, referer: http://board.s9y.org/viewtopic.php?f=3&t=18847&start=15
Dirk
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comments RSS feed not working since version 1.6.1
Hi!
This sounds as if you used a rss.php from the 1.7 branch...sorry. Seems rss of 1.7 is not compatible with 1.6 due to the new smarty calls.
Regards,
Garvin
This sounds as if you used a rss.php from the 1.7 branch...sorry. Seems rss of 1.7 is not compatible with 1.6 due to the new smarty calls.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Comments RSS feed not working since version 1.6.1
Thx, this is what I ment with "recent version from GitHub".garvinhicking wrote: This sounds as if you used a rss.php from the 1.7 branch...sorry. Seems rss of 1.7 is not compatible with 1.6 due to the new smarty calls.
Cheers
Dirk