Page 1 of 1

Update fails: serendipity_admin forwards to Sourceforge

Posted: Sat Nov 01, 2025 4:30 pm
by Huhu
Hi,
I tried to update to 2.5, but after uploading teh current version via FTP, and clicking on "Your blog is updating ... click here ...", I end up at the Sourceforge s9y page under https://fuelratart.org/serendipity_admin.php .

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Sat Nov 01, 2025 11:00 pm
by onli
I have never seen this and even when observing the network inspector I don't understand how that's possible.

2.5 had no upgrade tasks. You can likely solve this situation now by editing your serendipity_config_local.inc.php and set the new version:

Code: Select all

$serendipity['versionInstalled']  = '2.5.0';
Then the upgrader won't run.

But it would of course be interesting to understand what happened here.

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Mon Nov 03, 2025 9:05 am
by Huhu
I am as baffled as you are :) I even fail to trace the error.
Eben after changing local.inc to 2.5.0, the error persists. Instead of asking to click on upgrade, the forwarder just kicks in directly. But the correct favicon is loaded.
It's just as if htaccess would set Sourceforge as the domain target.

Downloaded and re-uploaded s9y again, folder says "serendipity", 31.798.706 bytes unpacked, no errors.
Still the same issue.

The htaccess seems unaltered and shows this:

Code: Select all

AddHandler php-fastcgi7.4 .php .phtml
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
 
 # BEGIN s9y
ErrorDocument 404 /index.php
DirectoryIndex /index.php
Options -MultiViews

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^plugins/.+/documentation.*\.html - [L]
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
RewriteRule ^((ratfridge/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+\.html)/?) index.php?/$1 [NC,L,QSA]
RewriteRule ^(rats/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)\-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)\-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^ratfridge([/A-Za-z0-9]+)\.html index.php?url=/ratfridge/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(overseer|entries)(/.+)?$ index.php?url=overseer/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css)$ index.php?url=/$1 [L,QSA]
RewriteRule ^(serendipity\.js|serendipity_admin\.js)$ index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
</IfModule>

<Files *.tpl.php>
    deny from all
</Files>

<Files *.tpl>
    deny from all
</Files>

<Files *.sql>
    deny from all
</Files>

<Files *.inc.php>
    deny from all
</Files>

<Files *.db>
    deny from all
</Files>

# END s9y



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REMOTE_ADDR} ^661.164.145.0([0-255]) [OR]
RewriteCond %{REMOTE_ADDR} ^64.140.49.6([6-9])$ [OR]
RewriteCond %{REMOTE_ADDR} ^61.164.145.54 [OR] 

RewriteCond %{HTTP_REFERER} \.ru [NC,OR]
RewriteCond %{HTTP_REFERER} \.cn [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "DTS\ Agent" [OR] 
RewriteCond %{HTTP_USER_AGENT} ^twiceler.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^fetch.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^HTTrack.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Mail\ Sweeper.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Teleport.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^UbiCrawler.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebCopier.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebCopy.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebFetcher.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebGrab [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebMirror.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebSpider.* [OR] 
RewriteCond %{HTTP_USER_AGENT} ^WebStripper.* [OR] 
RewriteCond %{HTTP_USER_AGENT} "Microsoft URL Control" [OR]
RewriteCond %{HTTP_USER_AGENT} ^BaiDuSpider.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget.* 
RewriteRule .* ((SPECIFIC WORKING SITE)) [F,L]





<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Mon Nov 03, 2025 8:09 pm
by onli
Or it might be something on the PHP side, a malfunctioning plugin?

I will check tomorrow whether there is something wrong with the archive. You downloaded it from github, right?

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Tue Nov 04, 2025 8:30 am
by Huhu
Hi,
I just downloaded the version you provided on the frontpage of the s9y website.
Thanks for checking!
(Plugins: I had updated them before updating the blog via Autoupdater)

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Tue Nov 04, 2025 2:12 pm
by onli
Not sure that's positive or not, but I couldn't reproduce this - upgrade from 2.4 to 2.5.

I noticed now that the serendipity page is still loading, just below of the sourceforge page. I'll send you a message.

Re: Update fails: serendipity_admin forwards to Sourceforge

Posted: Wed Nov 12, 2025 5:30 pm
by Huhu
Okay, after testing different plug-ins, it seems that the error occurs as soon as there are more than 2 plug-ins in the folder. No matter which, it seems.
Oh and even the base URL forwards to Sourceforge. Also, after emptying the plug-in folder and accessing the admin interface, then re-copying over the plug-ins again, any clicking on the admin interface (=any call of the URL) leads to Sourceforge again.