Search found 2820 matches

by onli
Thu May 14, 2026 10:01 am
Forum: Plugins
Topic: how to modify Archives plugin?
Replies: 7
Views: 154

Re: how to modify Archives plugin?

I had an idea for how this might work with reasonable effort. I didn't add a config option, but changed the default behaviour. Want to give give it a try? Replace your plugins/serendipity_plugin_archives/serendipity_plugin_archives.inc.php with this code:

<?php

if (IN_serendipity !== true) {
die ...
by onli
Thu May 14, 2026 12:06 am
Forum: Plugins
Topic: how to modify Archives plugin?
Replies: 7
Views: 154

Re: how to modify Archives plugin?

Hi
Okay. So the sidebar plugin and the archive page you showed stem from different places, even though the sidebar plugin links to the archive page. 2k11 has a template for the archive page, I think that's templates/2k11/entries_archives.tpl . You can edit it, for example change the text. If your ...
by onli
Wed May 13, 2026 10:14 pm
Forum: Plugins
Topic: how to modify Archives plugin?
Replies: 7
Views: 154

Re: how to modify Archives plugin?

The plugin has some configuration options that might get you close. If you set "Show number of entries per category?" and "Hide archives link when no entries were made in that timespan (requires counting entries)" to Yes, that's not the result you want?

It's likely the plugin hasn't seen updates in ...
by onli
Sun Apr 19, 2026 8:05 pm
Forum: Installation
Topic: Error in admin interface after 2.6.0 update
Replies: 6
Views: 738

Re: Error in admin interface after 2.6.0 update

No problem. Honestly, this change should have seen more testing, so I was very interested in seeing this resolved.
by onli
Sun Apr 19, 2026 4:54 pm
Forum: Installation
Topic: Error in admin interface after 2.6.0 update
Replies: 6
Views: 738

Re: Error in admin interface after 2.6.0 update

As a help for others: We figured it out. The site did not have https, and the fallback did not work because the site's baseURL was configured as www.example.com, but visited under example.com. Changing the url or adding a ssl certificate would fix the backend.
by onli
Sun Apr 19, 2026 1:35 pm
Forum: Installation
Topic: Error in admin interface after 2.6.0 update
Replies: 6
Views: 738

Re: Error in admin interface after 2.6.0 update

That browser is definitely new enough. And the fallback header would also work. If it does not work on multiple browsers like that it has to be related to the server setup (or trigger some bug in serendipity). Though I'm not aware of anything that would explain this, like a setting or something.

I ...
by onli
Sat Apr 18, 2026 12:14 am
Forum: Installation
Topic: Error in admin interface after 2.6.0 update
Replies: 6
Views: 738

Re: Error in admin interface after 2.6.0 update

We changed how the XSRF protection works and now rely on a browser header - but the expectation was that the error won't happen then in normal use (no timeouts). Which browser do you use, including the version?
by onli
Mon Apr 13, 2026 8:58 pm
Forum: Bugs
Topic: Image Thumbnails
Replies: 1
Views: 555

Re: Image Thumbnails

New ones?

In 2.6. there were a couple changes related to thumbnails:

1. Jpeg thumbnails got new creation settings (setting their quality)
2. WebP and AVIF images are supported now, and also have new setting for their creation

But I'd guess what hits you are the responsive images, that the ...
by onli
Sat Apr 11, 2026 12:43 am
Forum: Announcements
Topic: Serendipity 2.6.0 released
Replies: 0
Views: 7044

Serendipity 2.6.0 released

We are happy to announce the availability of the next stable release, Serendipity 2.6.0. It provides support for PHP 8.4 and includes many fixes, updated bundled libraries and some new features, like an optional two factor authentication on login and a faster cache, as well as security fixes for ...
by onli
Mon Mar 02, 2026 5:40 pm
Forum: Installation
Topic: [Solved] Problem with MySQL during update of 2.3.5
Replies: 18
Views: 88600

Re: [Solved] Problem with MySQL during update of 2.3.5

Thanks for reporting back :)
by onli
Sat Feb 28, 2026 12:23 pm
Forum: Generelles in Deutsch
Topic: HTTP Error 500 bei einem Artikel
Replies: 5
Views: 31921

Re: HTTP Error 500 bei einem Artikel

Welche Version lief von s9y lief da genau? 2.6-beta1 oder die Version aus dem Github-Master?

Von der codestelle ist das die gleiche, die bei dee in https://board.s9y.org/viewtopic.php?p=10459895#p10459895 schieflief. Ich hatte das bei mir reproduziert, hängt von der Konfiguration ab, aber im nl2p ...
by onli
Fri Feb 27, 2026 10:51 pm
Forum: Generelles in Deutsch
Topic: HTTP Error 500 bei einem Artikel
Replies: 5
Views: 31921

Re: HTTP Error 500 bei einem Artikel

Schau bitte mal in das PHP error log, welche Fehlermeldung bei dem 500er geloggt wurde. Dann wissen wir mehr.

Aber ja, Plugin als Ursache ist wahrscheinlich.
by onli
Wed Feb 25, 2026 12:12 pm
Forum: Installation
Topic: [Solved] Problem with MySQL during update of 2.3.5
Replies: 18
Views: 88600

Re: Problem with MySQL during update of 2.3.5

Right, if you were under PHP 7.4 the bug would not have happened. The code was compatible with it. But the fix will help under PHP 8.

Btw, great to see that Serendipity 2.5.0 still really worked with PHP 7.4! :)

For php-intl, exactly. That's for the server hoster to activate. I'm surprised it isn ...
by onli
Wed Feb 25, 2026 8:59 am
Forum: Installation
Topic: [Solved] Problem with MySQL during update of 2.3.5
Replies: 18
Views: 88600

Re: Problem with MySQL during update of 2.3.5

And was that under PHP 7.4, where it worked before, or did you switch back to PHP 8, the bug occurred and changing line 261 to array() fixed it? Edit: Doesn't matter anymore, I could reproduce the bug. Yes, changing false to array() in line 261 fixes that problem. I committed that fix as well to the ...
by onli
Wed Feb 25, 2026 8:20 am
Forum: Installation
Topic: [Solved] Problem with MySQL during update of 2.3.5
Replies: 18
Views: 88600

Re: Problem with MySQL during update of 2.3.5

The plugin has two modes of operation, nl2br and nl2p. I assume you used nl2p before - line 737 is part of the nl2p function. When you uninstalled the plugin it probably reset the configuration, and now your blogs uses nl2br mode. Change it in the plugin configuration, set "Use P-Tags" to "Yes ...