Search found 72 matches

by hanno
Fri Mar 01, 2019 5:08 pm
Forum: Bugs
Topic: Google complains about broken sitemap
Replies: 5
Views: 6577

Re: Google complains about broken sitemap

You opened that bug, so I leave that up to you :-)

But from my side the relevant issues should be resolved once the PR is merged.
by hanno
Fri Mar 01, 2019 3:08 pm
Forum: Bugs
Topic: Board showing mixed content warnings
Replies: 0
Views: 9838

Board showing mixed content warnings

Hi, On https://board.s9y.org/viewtopic.php?f=3&t=24196&p=10451699 I noticed that Firefox gave me a mixed content warning. The reason was an avatar image loaded over http. Given that the board only runs on HTTPS now such avatars should probably not be allowed. A workaround might be to set an ...
by hanno
Fri Mar 01, 2019 3:05 pm
Forum: Bugs
Topic: Google complains about broken sitemap
Replies: 5
Views: 6577

Re: Google complains about broken sitemap

I think I found the bug and made a pull request:
https://github.com/s9y/additional_plugins/pull/91
by hanno
Fri Jan 11, 2019 11:27 am
Forum: Bugs
Topic: Google complains about broken sitemap
Replies: 5
Views: 6577

Google complains about broken sitemap

I get this error in the Google search console / webmaster tools about a serendipity sitemap: Sitemap can be read, but has errors Unbound XML namespace prefix. 1 instance The XML Sitemap cannot be parsed because it contains one or more unbound namespace prefixes. For example, this error is generated ...
by hanno
Thu Sep 20, 2018 1:42 pm
Forum: General discussions
Topic: Disabling comments after a certain amount of time
Replies: 4
Views: 12502

Re: Disabling comments after a certain amount of time

The "X" is actually not substituted, because the idea was that users should not be told what the actual cut-off/limit is. Ok, but if this is the intention I'd formulate it differently. Like it is it looks like a placeholder that wasn't replaced due to a bug. Maybe writing something like &...
by hanno
Mon Jul 23, 2018 4:45 pm
Forum: General discussions
Topic: Disabling comments after a certain amount of time
Replies: 4
Views: 12502

Disabling comments after a certain amount of time

I'm running several s9y blogs and in order to keep spam manageable I'd like to make sure I'm not flooded with bogus comments for old entries. So I decided that I simply don't want to allow comments for anything older than 30 days, because it's rare that legit comments come in on old entries. However...
by hanno
Thu Jun 21, 2018 8:16 pm
Forum: Bugs
Topic: PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."
Replies: 4
Views: 13337

Re: PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."

Did that.

Is it now preferred to use the github bug tracker instead of this forum?
by hanno
Thu Jun 21, 2018 4:09 pm
Forum: Bugs
Topic: PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."
Replies: 4
Views: 13337

Re: PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."

A similar warning, but within s9y's own code, appears if I fully do an installation of the current git code with 7.2: == ERROR-REPORT (BETA/ALPHA-BUILDS) == Notice: The each() function is deprecated. This message will be suppressed on further calls in /[path]/include/plugin_api.inc.php on line 1123....
by hanno
Thu Jun 21, 2018 4:05 pm
Forum: Bugs
Topic: PHP Warning: Use of undefined constant IN_serendipity_admin
Replies: 8
Views: 9476

Re: PHP Warning: Use of undefined constant IN_serendipity_admin

One more such warning in the installer code:

Warning: Use of undefined constant S9Y_DB_INCLUDED - assumed 'S9Y_DB_INCLUDED' (this will throw an Error in a future version of PHP) in /[path]/include/functions_installer.inc.php on line 650
by hanno
Thu Jun 21, 2018 4:02 pm
Forum: Bugs
Topic: PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."
Replies: 4
Views: 13337

PHP 7.2 / smarty warning in Installer: "The each() function is deprecated."

The s9y installer gives me a warning about a deprecated function in PHP 7.2: PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/hanno/websites/s9y.q2.re/htdocs/bundled-libs/Smarty/libs/sysplugins/smarty_internal_compilebase.php on line 75 Thi...
by hanno
Sat Mar 31, 2018 2:25 pm
Forum: Bugs
Topic: timeout in atom feed generation (again)
Replies: 7
Views: 5200

Re: timeout in atom feed generation (again)

By adding debugging statements I figured out the line it hangs is this: $serendipity['smarty']->display($metadata['template_file']); Answering to myself: I think this gave me a hint where the problem was heading. I use my own theme and that comes back from a much older s9y version. Maybe there's so...
by hanno
Sat Mar 31, 2018 2:21 pm
Forum: Bugs
Topic: timeout in atom feed generation (again)
Replies: 7
Views: 5200

Re: timeout in atom feed generation (again)

It is related to the atom version parsing. https://blog.hboeck.de/feeds/atom2.0.xml works fine. That enables the rss feed, because there is no atom 2.0. Your proposed change doesn't work. By adding debugging statements I figured out the line it hangs is this: $serendipity['smarty']->display($metada...
by hanno
Sat Mar 31, 2018 11:54 am
Forum: Bugs
Topic: timeout in atom feed generation (again)
Replies: 7
Views: 5200

Re: timeout in atom feed generation (again)

I'm pretty sure it's not one of the plugins, disabling practically everything doesn't change things.
Also same thing happens when I completely remove the htaccess and access the non-rewritten atom url.

No error in the logs whatsoever... running on PHP 7.1. I'm a bit lost what to look for.
by hanno
Thu Mar 29, 2018 8:49 am
Forum: Bugs
Topic: timeout in atom feed generation (again)
Replies: 7
Views: 5200

Re: timeout in atom feed generation (again)

thh wrote:To avoid confusion: it's 2.1.2, I think, according to your blog.
True, I have edited the original post to clarify/correct.
by hanno
Tue Mar 27, 2018 10:49 am
Forum: Bugs
Topic: timeout in atom feed generation (again)
Replies: 7
Views: 5200

timeout in atom feed generation (again)

After updating to 2.1.2 (from 2.1.1) I get a timeout on my atom feed (https://blog.hboeck.de/feeds/atom.xml). I had such a bug before in 2016, reported here [1], but back then it disappeared when I moved from serendipity 2.0 to 2.1. Seems the bug is back now for whatever reason... Any help appreciat...